Virtual Network Interface
From Johns Hopkins Linux Users Group
Virtual Interfaces
Sep 2, 2008
Thank you Mark M. from the http://www.baltolug.org mailing list for your review and fix!
Reference: Section 10.6.1.7
Virtual Interfacing is used to assign multiple IP addresses to a single physical Interface in the
/etc/network/interfaces file. The following example sets eth0's IP addresses to 192.168.5.1 and 192.168.5.2.
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.5.1 netmask 255.2555.255.0 broadcast 192.168.5.255 network 192.168.5.0 auto eth0:0 iface eth0:0 inet static address 192.168.5.2 netmask 255.2555.255.0 broadcast 192.168.5.255 network 192.168.5.0 auto eth1 iface eth1 inet static address 69.17.29.133 netmask 255.255.255.224 broadcast 69.17.29.159 network 69.17.29.128 gateway 69.17.29.129