Skip to content

HOWTO: Install and configure bonding interface (active-backup) on Debian linux

March 11, 2012

Pre-work: Fresh Debian Linux install

1.  Install bonding tools, configure adapter bond0, set master and slave interface and bond0 ip configuration

root@streamer:~# apt-get install ifenslave

Reading package lists… Done
Building dependency tree
Reading state information… Done


root@streamer:~# cat >/etc/modprobe.d/alias-bonding
alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200

root@streamer:~# grep -v ^# /etc/network/interfaces |grep .

auto lo
iface lo inet loopback
auto eth0
auto eth1
auto bond0
iface bond0 inet static
address IP_ADDRESS
slaves eth0 eth1
bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200

root@streamer:~# reboot

..and hope for icmp reply 🙂


From → Linux, Networking

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: