Ubuntu Server: Bonding Adaptive Load Balancing
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
allow-hotplug enp11s0f0 | |
iface enp11s0f0 inet manual | |
bond-master bond0 | |
allow-hotplug enp11s0f1 | |
iface enp11s0f1 inet manual | |
pre-up sleep 5 # Come up 5 seconds after enp11s0f0 | |
bond-master bond0 | |
allow-hotplug enp3s0 | |
iface enp3s0 inet manual | |
pre-up sleep 5 # Come up 5 seconds after enp11s0f0 | |
bond-master bond0 | |
allow-hotplug enp2s0 | |
iface enp2s0 inet manual | |
pre-up sleep 5 # Come up 5 seconds after enp11s0f0 | |
bond-master bond0 | |
# The bonded interface | |
allow-hotplug bond0 | |
iface bond0 inet dhcp | |
bond-primary enp11s0f0 | |
bond-slaves enp11s0f0 enp11s0f1 enp3s0 enp2s0 | |
bond-mode 6 # balance-alb | |
bond-miimon 100 | |
bond-downdelay 200 | |
bond-updelay 200 | |
bond-lacp-rate 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment