LACP (Link Aggregation Control Protocol) is widely used in enterprise environments to increase network bandwidth and provide redundancy for critical systems. By combining multiple physical interfaces into a single logical connection, you can achieve better performance and improved fault tolerance.
All our bare metal servers come with compatible network interfaces, making it easy to implement LACP and take advantage of the full potential of your dedicated infrastructure.
📌 Requirements
-
AlmaLinux or Rocky Linux 8/9
-
Two or more physical NICs (e.g.,
eno1
,eno2
) -
Switch configured for LACP
-
Root or
sudo
access
✅ Step 1: Identify Your Network Interfaces
nmcli device status
Note down the names of your NICs (e.g., eno1
, eno2
).
✅ Step 2: Create the Bond Interface bond0
with LACP
sudo nmcli connection add type bond con-name bond0 ifname bond0 mode 802.3ad miimon 100
This creates a bond0
interface using LACP (802.3ad).
✅ Step 3: Add Slave Interfaces to the Bond
Replace eno1
and eno2
with your actual NIC names:
sudo nmcli connection add type ethernet con-name eno1-slave ifname eno1 master bond0
sudo nmcli connection add type ethernet con-name eno2-slave ifname eno2 master bond0
✅ Step 4: Assign an IP Address to bond0
sudo nmcli connection modify bond0 ipv4.addresses YOUR_SERVER_IP/CIDR
sudo nmcli connection modify bond0 ipv4.gateway YOUR_GATEWAY
sudo nmcli connection modify bond0 ipv4.dns 1.1.1.1
sudo nmcli connection modify bond0 ipv4.method manual
✅ Step 5: Enable Autoconnect
sudo nmcli connection modify bond0 connection.autoconnect yes
sudo nmcli connection modify eno1-slave connection.autoconnect yes
sudo nmcli connection modify eno2-slave connection.autoconnect yes
✅ Step 6: Bring Up the Connections
sudo nmcli connection up bond0
sudo nmcli connection up eno1-slave
sudo nmcli connection up eno2-slave
✅ Step 7: Check Bonding Status
cat /proc/net/bonding/bond0
Look for:
Bonding Mode: 802.3ad
Slave Interface(s)
MII Status: up
Aggregator ID
🆘 Need Help?
If you’re unable to configure LACP using bond0
, please don’t hesitate to contact our technical support by clicking here. We’re ready to help you!