CentOS IP configuration files

These files and their contents might be specific/relevant in part only to cPanel

/etc/sysconfig/networking/devices/ifcfg-eth0

/etc/sysconfig/network-scripts/ifcfg-eth0

Both of the above have this content:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=x.x.x.255
HWADDR=x:x:x:x:x:x
IPADDR=ip_in_question
NETMASK=255.255.255.0
NETWORK=x.x.x.0
ONBOOT=yes

/etc/sysconfig/network-scripts/ifcfg-ethx-range0

IPADDR_START=85.9.22.8
IPADDR_END=85.9.22.9
CLONENUM_START=0
NETMASK=255.255.255.0

/etc/ips (this contains only the secondary IPs listed one per line in this format ip:mask)

/etc/ipaddrpool

Potentially relevant services

/etc/rc.d/init.d/network

/etc/rc.d/init.d/ipaliases

Uncategorized