to make the box dhcp and not static edit /etc/sysconfig/network-scripts/ficfg-eth0 and change the PROTO=statis th PROTO=dhcp. you should alos remove the other lines about NETMASK's and such like, leaving you with just:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
sould be all you need to do.
be careful abuot /etc/hosts, that file is just used as a lookup for ip addresses for pinging, sshing, www etc... there's nothign wrong with adding in any other addresses in there, but changing your own can cause inconsistency problems, ep if you touch teh localhost line.
|