Barra de espaço
Barra de espaço

This tutorial presents a detailed procedure showing how to configure a link aggregation using the LACP protocol on a computer running Ubuntu linux.

YOUTUBE

On our channel you can see the video lesson installation.



Install ifenslave

# apt-get install ifenslave


Edit the modules file and add the bonding module.

# vi /etc/modules

bonding


Load the bonding module.

# modprobe bonding



Edit the network configuration file as shown below

# vi /et/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual
bond-master bond0

auto eth1
iface eth1 inet manual
bond-master bond0

auto bond0
iface bond0 inet dhcp
bond-mode 4
bond-slaves eth0 eth1

 

Restart the computer.

# reboot

 

Connect your linux on other equipment with properly configured LACP support.


To check your configuration run the following command

# cat /proc/net/bonding/bond0

 

CONCLUSION

This tutorial presented the process of setting up link aggregation on a server running Linux Ubuntu