Category Archives: Debian

How to configure network bonding (LACP) on Debian Wheezy

This process essentially consist of two steps. I will be detailing steps relevant for the Linux host.

  • Configuring the switch for LACP bonding.
  • Configuring the Linux host for LACP bonding.


  • ifenslave
  • Shut down the network after installing ifenslave.
  • Start the network once the configuration changes are in place.


This is a virtual package and will in reality install ifenslave-2.6

# aptitude install ifenslave

Stop the network. Make sure you’re not connected via SSH while doing this.

# /etc/init.d/networking stop

Debian Kernel Module Configuration

File: /etc/modprobe.d/bonding.conf

alias bond0 bonding
        options bonding mode=4 miimon=100 lacp_rate=1

File: /etc/modules

echo "bonding" >> /etc/modules
echo "mii" >> /etc/modules

Debian Network Configuration

auto eth0
    iface eth0 inet manual
    bond-master bond0

auto eth1
     iface eth1 inet manual
     bond-master bond0

auto bond0
     iface bond0 inet static
     bond-mode 802.3ad
     bond-miimon 100
     bond-downdelay 200
     bond-updelay 200
     bond-lacp-rate 4
     bond-slaves none

Start up the network.

# /etc/init.d/networking start

// CrashMAG