Debian: network bonding
Revision as of 17:57, 26 February 2022 by Onnowpurbo (talk | contribs) (Created page with "Install   apt-get install ifenslave   Interface Down   ifdown eth0 (Repeat for all interfaces included in the bond)  ifdown enp3s0  ifdown enp2s0  /etc/init.d/networking stop...")
Install
apt-get install ifenslave
Interface Down
ifdown eth0 (Repeat for all interfaces included in the bond) ifdown enp3s0 ifdown enp2s0 /etc/init.d/networking stop
Modify the /etc/network/interfaces file:
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