Tag Archives: static

How to configure network settings in CentOS (from dhcp to static)

It’s a bit different from what we’re used to do in Ubuntu, here are the instructions, assuming our network interface is eth0: Take a backup from the “/etc/sysconfig/network-scripts/ifcfg-eth0” file, e.g. by the following command: “cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak” Open the “/etc/sysconfig/network-scripts/ifcfg-eth0” file for … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment