#lista comandi
##installazione ifenslave
sudo apt-get install ifenslave
##modificare file /etc/modules
sudo nano /etc/modules
##aggiungere
bonding
##salvare e uscire
ctrl+o
ctrl+x
##eseguire comandi
sudo stop networking
sudo modprobe bonding
##modificare file /etc/network/interfaces
sudo nano /etc/network/interfaces
##esempio qui sotto:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto enp4s0
iface enp4s0 inet manual
bond-master bond0
auto enp1s0f0
iface enp1s0f0 inet manual
bond-master bond0
auto enp1s0f1
iface enp1s0f1 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 192.168.0.3
gateway 192.168.0.1
netmask 255.255.255.0
dns-nameserver 8.8.8.8 8.8.4.4 88.149.128.12
hwaddress d8:d3:85:b3:ab:1d
bond-mode 4
bond-miimon 100
bond lacp-rate 1
bond-slaves enp4s0 enp1s0f0 enp1s0f1
##per testare bonding installare ifstat
sudo apt-get install ifstat