DigitalDaz
28-01-2010, 20:40
For VM's use the failover or RIPE IP of the virtual machine as the gateway with a 32bit subnet mask.
eg
ip 1.2.3.4
mask 255.255.255.255
gateway 1.2.3.4
eg
ip 1.2.3.4
mask 255.255.255.255
gateway 1.2.3.4
the Gateway of your physical machine
iface eth0 inet auto
address 91.2.3.4
netmask 255.255.255.255
gateway 91.2.3.4
iface eth0 inet auto address 91.2.3.4 netmask 255.255.255.255 gateway 91.1.2.254
iface eth0 inet auto address 91.2.3.4 netmask 255.255.255.255 post-up route add 91.1.2.254 dev eth0 post-up route default gw 91.1.2.254