Myatu
04-01-2013, 20:06
wii89 gave a config that should work, as it adds the missing route to the gateway after it brings up your "eth0" network interface. So your /etc/network/interfaces should look something like this:
... then issue a service networking restart or reboot.
Code:
auto lo iface lo inet loopback # Example IPs: # Failover - 91.11.22.33 # Host/Server - 91.2.3.4 (= Gateway 91.2.3.254) auto eth0 iface eth0 inet static address 91.11.22.33 netmask 255.255.255.255 broadcast 91.11.22.33 post-up route add 91.2.3.254 dev eth0 post-up route add default gw 91.2.3.254 post-down route del 91.2.3.254 dev eth0 post-down route del default gw 91.2.3.254