Skip to content

Instantly share code, notes, and snippets.

@nkabir
Created January 11, 2012 19:45
Show Gist options
  • Select an option

  • Save nkabir/1596401 to your computer and use it in GitHub Desktop.

Select an option

Save nkabir/1596401 to your computer and use it in GitHub Desktop.
Bonded network interfaces
alias bond0 bonding
options bonding mode=0 miimon=100
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
# The secondary network interface
auto eth1
iface eth1 inet manual
# The bonded network interface
auto bond0
iface bond0 inet static
address 192.168.1.11
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1
bond-slaves eth0 eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment