I am trying to do ip aliasing on my ubuntu 12.04 guest and it was not working.
host
11.x.11.2
guest
11.x.11.3
guest is using bridge networking with host.
on guest specified
auto eth0
iface eth0 inet static
address 11.x.11.2
netmask 255.255.255.0
network 11.x.11.0
broadcast 11.x.11.255
gateway 11.x.11.1
auto eth0:0
iface eth0:0 inet static
address 11.x.11.3
netmask 255.255.255.0
network 11.x.11.0
broadcast 11.x.11.255
gateway 11.x.11.1
after network restart it was showing Failed to bring up eth0:0. .Even reboot also didnt work.
But when changed order in configuration and a network restart fixed the issue
auto eth0
iface eth0 inet static
address 11.x.11.3
netmask 255.255.255.0
network 11.x.11.0
broadcast 11.x.11.255
gateway 11.x.11.1
auto eth0:0
iface eth0:0 inet static
address 11.x.11.2
netmask 255.255.255.0
network 11.x.11.0
broadcast 11.x.11.255
gateway 11.x.11.1
But what difference this can make,