Month: May 2016

Add a second IP to a single network interface in CENTOS

If you would like to permanently assign multiple IP addresses to an interface, create corresponding configuration files in /etc/sysconfig/network-scripts. $ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0:1DEVICE=eth0:1BOOTPROTO=staticIPADDR=192.168.0.5NETMASK=255.255.255.0ONBOOT=yes Once you have created as many configuration files as IP addresses to assign, restart network to activate… Read More ›