Tag: Static

Static IP + DNS settings in CentOS 6

This one seemed easier then it was in the end ;-) Here's how it works... Caution: I assume you're using eth0 as your network interface! First off, edit /etc/sysconfig/network-scripts/ifcfg-eth0 to include these entries: DEVICE=eth0 HWADDR="enter your mac address here" NETWORK=192.168.0.0 BROADCAST=192.168.0.255 NETMASK=255.255.255.0 IPADDR=192.168.0.112 USERCTL=no Don't forget to replace the values above to match your actual network configuration. After restarting network services neither the default gateway nor DNS servers are recognized, resulting in a non-usable network. To...