crowarth
16-09-2014, 20:58

i used the following for ubuntu - it's a cut and paste of what i have in config now (and it's pretty much the same as the guide alex linked)
Code:
weezel@weezel:/etc/network$ cat interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 178.32.62.118 (FAILOVER IP) netmask 255.255.255.255 (subnet mask to use) network 178.32.62.118 (FAILOVER IP) broadcast 178.32.62.118 (FAILOVER IP) post-up route add xx.xx.xx.254 dev eth0 (hypervisor gateway IP (the gateway your physical server would be using)) post-up route add default gw xx.xx.xx.254 (hypervisor gateway IP (the gateway your physical server would be using)) post-down route del xx.xx.xx.254 dev eth0 (hypervisor gateway IP (the gateway your physical server would be using)) post-down route del default gw xx.xx.xx.254 (hypervisor gateway IP (the gateway your physical server would be using)) # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 213.186.33.99