I have a Centos VM Server 1.x host with 2 Ubuntu VM's running. Everything was going fine until I needed to get a couple of SSL virtual hosts set up and needed to set up IP aliasing with my Ubuntu VMs. I set up Aliasing, as I thought it should work, but it doesn't. Do the IP's have to be contigous? ie one after another.
Host
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
CODE
DEVICE=eth0
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:00:00:00:00:00
ONBOOT=yes
DHCP_HOSTNAME=hostname.theplanet.host
IPADDR_START=123.123.123.67
IPADDR_END=123.123.123.70
CLONENUM_START=0
GATEWAY=123.123.123.65
NETMASK=255.255.255.248
NO_ALIASROUTING=yes
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:00:00:00:00:00
ONBOOT=yes
DHCP_HOSTNAME=hostname.theplanet.host
IPADDR_START=123.123.123.67
IPADDR_END=123.123.123.70
CLONENUM_START=0
GATEWAY=123.123.123.65
NETMASK=255.255.255.248
NO_ALIASROUTING=yes
VM 1
/etc/network/interfaces file
CODE
auto eth0
iface eth0 inet static
address 123.123.123.67
netmask 255.255.255.248
gateway 123.123.123.65
auto eth0:1
iface eth0:1 inet static
address 123.123.123.69
netmask 255.255.255.248
gateway 123.123.123.65
iface eth0 inet static
address 123.123.123.67
netmask 255.255.255.248
gateway 123.123.123.65
auto eth0:1
iface eth0:1 inet static
address 123.123.123.69
netmask 255.255.255.248
gateway 123.123.123.65
VM 2
/etc/network/interfaces file
CODE
auto eth0
iface eth0 inet static
address 123.123.123.68
netmask 255.255.255.248
gateway 123.123.123.65
auto eth0:1
iface eth0:1 inet static
address 123.123.123.70
netmask 255.255.255.248
gateway 123.123.123.65
iface eth0 inet static
address 123.123.123.68
netmask 255.255.255.248
gateway 123.123.123.65
auto eth0:1
iface eth0:1 inet static
address 123.123.123.70
netmask 255.255.255.248
gateway 123.123.123.65