Bind Multiple IP Addresses in Linux

Need to bind multiple IP addresses to a network interface? Here is a nice article I found online:

cd /etc/sysconfig/network-scripts/

cp ifcfg-eth0 ifcfg-eth0:0

cp ifcfg-eth0 ifcfg-eth0:1

cp ifcfg-eth0 ifcfg-eth0:2

...

vi ifcfg-eth0:0

Here is an OLD article on the same topic.

Leave a comment

Your email address will not be published. Required fields are marked *