Network bonding

apt install -y ifenslave

# /etc/network/interfaces
...
auto eth0
iface eth0 inet manual
bond-master bond0

auto eth1
iface eth1 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 192.168.1.225
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-mode 1
bond-slaves none

# state
cat /proc/net/bonding/bond0

cat /sys/class/net/bond0/bonding/slaves
eth1 eth0

cat /sys/class/net/bond0/bonding/active_slave
eth0

ifenslave -c bond0 eth1

# test (lxc)
/var/lib/lxc/vm1/config
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:54:80:02

brctl show

# Links
https://raymii.org/s/tutorials/NIC_Bonding_on_Ubuntu_12.04.html
https://www.unixmen.com/linux-basics-create-network-bonding-on-centos-76-5/
https://wiki.debian.org/Bonding