Skip to content

Instantly share code, notes, and snippets.

@mgwilliams
Created April 1, 2012 01:26
Show Gist options
  • Save mgwilliams/2270343 to your computer and use it in GitHub Desktop.
Save mgwilliams/2270343 to your computer and use it in GitHub Desktop.
---
interfaces:
- bond0:
options:
- bond-mode: active-backup
- bond-miimon: 100
- bond-downdelay: 200
- bond-updelay: 100
- bond-slaves: none
- bond-primary: eth0 eth1
mac-overide: True
- eth0:
options:
- bond-master: bond0
- bond-primary: eth0 eth1
- eth1:
options:
- bond-master: bond0
- bond-primary: eth0 eth1
- bond0.3:
options:
- post-up /sbin/ip route add 12.39.57.170 via 216.115.69.145 dev $IFACE
- post-up /sbin/ip route add 12.186.145.170 via 216.115.69.146 dev $IFACE
- pre-down /sbin/ip route del 12.39.57.170 via 216.115.69.145 dev $IFACE
- pre-down /sbin/ip route del 12.186.145.170 via 216.115.69.146 dev $IFACE
virtual: false
environment: production
default_iface: bond0.200
manage_dhcp: 0
location: nv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment