Skip to content

Instantly share code, notes, and snippets.

@mcallaway
Created January 21, 2016 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcallaway/93dd42ca9c78bfb4097d to your computer and use it in GitHub Desktop.
Save mcallaway/93dd42ca9c78bfb4097d to your computer and use it in GitHub Desktop.
auto lo
iface lo inet loopback
auto em1
allow-bond em1
iface em1 inet manual
bond-master bond0
auto em2
allow-bond em2
iface em2 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
pre-up modprobe bonding
pre-down modprobe -r bonding
address 10.200.0.41
netmask 255.255.252.0
gateway 10.200.0.1
mtu 9000
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves em1 em2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment