Add additional IP address

How to add additional IP address on CentOS servers. Create file: /etc/sysconfig/network-scripts/ifcfg-eth0:0 DEVICE="eth0:0" BOOTPROTO=static ONBOOT=yes TYPE="Ethernet" IPADDR= #HWADDR=00:0C:29:28:4C:4C #GATEWAY= NETMASK= do this for each additional IP address, you only need to increase virtual interface number by one for each additional IP. Like eg. eth0:1, eth0:2, eth0:3 ... **if you don't have HWADDR then delete that […]

Read More