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
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 address 10.0.0.100 netmask 255.255.0.0 gateway 10.0.0.1 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.