Ethernet bonding in Debian Etch

UPDATE: This works only with Debian Etch, cause in Lenny update-modules is deprecated!

If you want to enable bonding in Debian, for example to have high-availability of your network interfaces, these are the quick steps you have to do:

# apt-get install ifenslave-2.6

edit /etc/network/interfaces to look like this:

auto bond0
iface bond0 inet static
# dns-* options are implemented by the resolvconf package, if installed
up /sbin/ifenslave bond0 eth0 eth1

then, add this line to /etc/modprobe.d/aliases:

alias bond0 bonding

and issue
# update-modules

Stop the old eth0 interface with

# ifconfig eth0 down

(do not use ifdown cause it reads /etc/network/interfaces that no long knows anything about eth0)

and finally start the new bonded interface with

# ifup bond0
# /etc/init.d/networking restart


3 thoughts on “Ethernet bonding in Debian Etch

  1. Thanks! This was very useful!
    I found a couple of other tutorials but I couldn’t get any of them to work properly. I then found this and it worked on the first try!


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 )

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