HOWTO Setup Bonding Ethernet on Debian with a 2.6 kernel

This article was first written in October 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/179).
To use Bonding Ethernet for High-Availability (failover) on Debian (Sarge or Sid with a 2.6.x kernel [1]) you need to:
  • install package ifenslave-2.6 [2]
  • make sure the real NICs kernel modules are loaded automatically
  • edit /etc/network/interfaces to look like this:
iface bond0 inet s