I’ve got a Debian Jessie server with two Intel i350 onboard 1Gbps NICs which I would like to bridge using 802.3ad protocol to my HP 1920G 48port managed switch.
Here is the kernel I’m running
~ % uname -a Linux ltsp 4.9.0-0.bpo.3-amd64 #1 SMP Debian 4.9.30-2+deb9u5~bpo8+1 (2017-09-28) x86_64 GNU/Linux
In my /etc/modules I have
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. loop vhost_net bonding
I’ve installed ifenslave
sudo apt install ifenslave-2.6
Here is the /etc/network/interfaces file
auto lo iface lo inet loopback # bond0 is the bonding NIC and can be used like any other normal NIC. # bond0 is configured using static network information. auto bond0 iface bond0 inet static address 192.168.200.5 gateway 192.168.200.1 netmask 255.255.255.0 dns-nameservers 18.104.22.168 dns-search lan # Use IEEE 802.3ad LACP bonding protocol bond-mode 4 bond-miimon 100 bond-slaves none #eth2 is manually configured, and slave to the “bond0” bonded NIC allow_hotplug eth2 auto eth2 iface eth2 inet manual bond-master bond0 bond-primary eth2 #eth3 ditto, thus creating a 2-link bond. allow_hotplug eth3 auto eth3 iface eth3 inet manual bond-master bond0
Which gives the output
~ % cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: layer2 (0) MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 802.3ad info LACP rate: slow Min links: 0 Aggregator selection policy (ad_select): stable Slave Interface: eth2 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:25:90:e6:e9:67 Slave queue ID: 0 Aggregator ID: 1 Actor Churn State: none Partner Churn State: churned Actor Churned Count: 0 Partner Churned Count: 1 Slave Interface: eth3 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:25:90:e6:e9:66 Slave queue ID: 0 Aggregator ID: 2 Actor Churn State: churned Partner Churn State: churned Actor Churned Count: 1 Partner Churned Count: 1
This doesn’t work. I cannot ping this machine on 192.168.200.5. What am I missing here?