Hi,
I am setting up a linux box running fedora enterprise server 4 to replace my ever malfunctioning Zywall 2 router.
the server has two NICs and i have assigned one the pulic IP and the other is set to get from DHCp however i dont know where to enable DHCp and to set the eth0 to be my gateway so that my internet link is shared in the LAN. please advise,
Waitongu.
To specify DHCP server,
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
paste the following:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
save it and restart eth0 interface. all above should be accomplished as a root.
set eth0 as a gateway by
# route add default gw <gateway ip or hostname> eth0
Bookmarks