I have a Debian 8 system with two NICs I want to bond. My managed switch is already configured to link aggregate the two ports I'm using.

On the linux box, I have installed ifenslave.

In /etc/network/interfaces, I have:

 auto eth0
 iface eth0 inet manual
    bond-master bond0

 auto eth1
 iface eth1 inet manual
    bond-master bond0

 auto bond0
 iface bond0 inet static
    slaves eth0 eth1
    bond-mode 4
    bond-miimon 100
    bond_downdelay 200
    bond_updelay 300

Edit: Looks like the config is wrong when using mode 4. I'm having a hard time finding examples of how to configure 802.3ad.

Edit 2: I tried modprobe bonding mode=4 and now cat /proc/net/bond0 is showing 802.3ad however my entire network becomes unreachable.

  • you need to configure the lacp on your switch first to use mode 4 – c4f4t0r May 9 '18 at 8:23

The switch needs to support 802.3ad. It's a protocol where the switch is talking to server's interfaces to see if they are really in one bond. Quite often switches are incompatible with Linux implementation. In this case don't use mode=802.3ad, for example use mode=balance-alb.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.