Skip to content

Instantly share code, notes, and snippets.

@pquerna
Created March 27, 2014 17:49
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 pquerna/491a3487951131f35f8f to your computer and use it in GitHub Desktop.
Save pquerna/491a3487951131f35f8f to your computer and use it in GitHub Desktop.
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves eth0 eth1
auto bond0.201
iface bond0.201 inet static
vlan_raw_device bond0
address 192.168.1.1
netmask 255.255.255.0
hwaddress ether 90:e2:ba:56:64:54
auto bond0.301
iface bond0.301 inet static
vlan_raw_device bond0
address 10.127.1.1
netmask 255.255.255.0
hwaddress ether 90:e2:ba:56:64:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment