Skip to content

Instantly share code, notes, and snippets.

@sdoro
Created November 5, 2012 13:43
Show Gist options
  • Save sdoro/4017248 to your computer and use it in GitHub Desktop.
Save sdoro/4017248 to your computer and use it in GitHub Desktop.
configuration bond0 with interfaces eth1 and eth2 in Debian Squeeze
apt-get install ifenslave
# /etc/network/interfaces
auto bond0
iface bond0 inet static
address 10.254.254.253
netmask 255.255.255.252
network 10.254.254.252
broadcast 10.254.254.255
up /sbin/ifenslave bond0 eth1
up /sbin/ifenslave bond0 eth2
down /sbin/ifenslave -d bond0 eth2
down /sbin/ifenslave -d bond0 eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment