ifcfg-eth

The purpose of this document is to explain how to use the /etc/sysconfig/network-scripts/ifcfg-eth# files in CentOS.

Which device this is. Make sure it matches the ifcfg-ethX part. File ifcfg-eth1 should say DEVICE="eth1"

DEVICE="eth0"

NETMASK=255.255.0.0

What IP address to use

IPADDR=10.200.5.102

Where to route traffic by default

GATEWAY=10.200.0.1

Choose "static" or "dhcp"

BOOTPROTO="static"

Whether the NIC should be used by the OS by default.

ONBOOT="yes"

Is there something other than ethernet?

TYPE="Ethernet"

Unnecessary NIC identification

HWADDR="08:00:27:DB:3E:XX" UUID="XXXcdf87-f027-4d6d-83e4-f772XXX65fbc"

Whether the network manager program can control it. Does not affect static IPs(?)

NM_CONTROLLED="yes"

DNS entries for name resolution

DNS1=8.8.8.8 DNS2=8.8.4.4 DNS3=208.67.222.222 DNS4=208.67.220.220

[Edit]