📌 Requirements
-
Debian 10/11/12
-
Two or more physical NICs (e.g.,
eno1
,eno2
) -
Root or sudo access
✅ Step 1: Install bonding module and ifenslave
Make sure the bonding driver and tools are installed:
sudo apt update
sudo apt install ifenslave
💡 Note: The ‘ifenslave’ package is not installed by default on Debian.
If you face issues installing it from the repository, you can manually download it from:
https://packages.debian.org/search?keywords=ifenslave
✅ Step 2: Load the bonding kernel module
echo "bonding" | sudo tee -a /etc/modules
sudo modprobe bonding
✅ Step 3: Configure network interfaces
Edit the network configuration file:
sudo nano /etc/network/interfaces
Example configuration:
auto bond0
iface bond0 inet static
address YOUR_SERVER_IP
netmask YOUT_SERVER_MASK
gateway YOUR_GATEWAY
dns-nameservers YOUR_DNS
bond-mode 802.3ad
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate fast
bond-slaves eno1 eno2
# Slaves
auto ens1
iface eno1 inet manual
bond-master bond0
auto eno2
iface eno2 inet manual
bond-master bond0
🧩 Replace:
-
YOUR_SERVER_IP
→ your server’s IP address -
YOUR_GATEWAY
→ your default gateway -
YOUR_DNS
→ your preferred DNS
✅ Step 4: Restart networking
sudo systemctl restart networking
✅ Step 5: Verify bonding
cat /proc/net/bonding/bond0
You should see:
-
Bonding Mode: IEEE 802.3ad
-
Slave interfaces
-
Link status
-
Aggregator ID
🧠 Optional: Make sure the bonding module loads at boot
Already done via /etc/modules
, but you can confirm:
cat /etc/modules | grep bonding
🆘 Need Help?
If you’re unable to configure LACP using Netplan on Ubuntu, please don’t hesitate to contact our technical support by clicking here. We’re ready to help you!