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

5 thoughts on “How to configure network bonding (LACP) on Debian Wheezy”

  1. Not use if bond-lacp-rate 4 is a valid option and is conflicting with the lacp_rate=1 option in the modules file. I think you can remove the lacp_rate=1 in the modules file and use bond-lacp-rate as option, as far as I seen the rate is either fast or slow. What do you think the rate 4 would mean?


    it still works under jessie. I have been trying for hours. And it just worked in 5 minutes with your config.

    I just used lacp_rate=1

Leave a Reply

Your email address will not be published. Required fields are marked *