Tag: DHCP to Static IP Address

Change a Linux Network Configuration from DHCP to Static IP Address

If you CentOS network configuration is set at DHCP and you want to change your network configuration to a static IP address, then read on. The network configuration settings are generatlly found and edited in two places. /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network Edit the /etc/sysconfig/network-scripts/ifcfg-eth0 to resemble the following (replace the network addresses with your own). Edit the /etc/sysconfig/network to resemble the following…

Read More »