In order to make the statically assigned IP work, I have already modified the file /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:
DEVICE=eth0
IPADDR=10.33.17.143
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes
Any other configuration files that I might need to take care of before the static IP could be used? I am trying to change the network settings from the default DHCP to static IP.
Best Answer
You may also need to set a default route (often known as your default gateway) in
/etc/sysconfig/network-scripts/route-eth0
as follows:Just make sure you substitute the correct Default Gateway for
1.2.3.4
otherwise Bad Things Will Happen... ;)