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
/etc/network/interfaces to look like this:
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
alias bond0 bonding
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”
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!
very nice dude !
small, simple and usefull..
have a nice day !
greetings from germany
[…] by Vide on November 6, 2009 In an older post I explained how to create a bond interface in Debian Etch… now, this doesn’t work anymore due to some changes in […]