08.28.06

Geeking out: Linux: Adding Virtual IP Addresses

Posted in Uncategorized at 3:48 pm by ryan

The Linux Home Networking site has all the Linux networking references you should ever need unless you are load balancing a dozen webservers… If you’ve forgotten how to add virtual IP addresses, just create a “/etc/sysconfig/network-scripts/ifcfg-eth0:0” file. Insert the following lines, of course changing your IP Address:

DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.99
NETMASK=255.255.255.0

Happy networking. Covered in depth in Chapter 3 : Linux Home Networking. Enjoy.

Leave a Comment