Personal.X-Istence.com

Bert JW Regeer (畢傑龍)

Ubuntu multiple loopback interfaces

So today I was playing around with this crap named Ubuntu and I could not figure out why my extra loopback interfaces I added to /etc/network/interfaces would not show up after restarting networking with /etc/init.d/networking restart. The reason for that is that it excludes all loopback interfaces.

auto lo
iface lo inet loopback
auto lo:0
iface lo:0 inet static
address 127.0.0.2
netmask 255.0.0.0

Then use the function "ifup" to restart all the networking stuff. ifup -a. You are not set, check with ifconfig.