Skip to content

Instantly share code, notes, and snippets.

@mis4s
Created February 13, 2015 09:13
Show Gist options
  • Save mis4s/6cdcdeb2b8786eab6ded to your computer and use it in GitHub Desktop.
Save mis4s/6cdcdeb2b8786eab6ded to your computer and use it in GitHub Desktop.
Debian Proxmox Ip failover configuration online.net
auto eth0
iface eth0 inet static
address IP.FAILOVER
netmask 255.255.255.255
broadcast IP.FAILOVER
post-up route add MOTHER.IP dev eth0
post-up route add default gw MOTHER.IP.1
post-down route del MOTHER.IP.1 dev eth0
post-down route del default gw MOTHER.IP.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment