Debian: network bonding
Revision as of 17:58, 26 February 2022 by Onnowpurbo (talk | contribs)
Install
apt-get install ifenslave apt -y install ifenslave
Interface Down
ifdown eth0 (Repeat for all interfaces included in the bond) ifdown enp3s0 ifdown enp2s0 /etc/init.d/networking stop
Edit
vi /etc/network/interfaces
auto bond0
iface bond0 inet static
address 192.168.0.7
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.222
bond-slaves enp2s0 enp3s0
bond-mode active-backup
bond-miimon 100
bond-downdelay 200
bond-updelay 200