Info
Content

LACP Bonding on Debian 8/9/10


Before you proceed with the configuration of bonding, ensure ifenslave is installed.

apt install ifenslave

Use your favourite text editor to open the network interfaces file.

nano /etc/network/interfaces

Ensure the file looks identical to the template below, making sure to adjust the interfacesip addressnetmask and gateway ip to your servers' needs.

# The loopback network interface auto lo
iface lo inet loopback

# The primary network interface
auto bond0
iface bond0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.254
dns-nameservers 77.247.176.114 77.247.176.115 85.159.238.17
bond-mode 4
bond-slaves eth0 eth1
bond-miimon 100
bond-xmit_hash_policy 1

To bring the changes into effect and activate the new bond, you may simply restart the networking service.

service networking restart
No Comments
Back to top