Debian: network bonding: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
/etc/init.d/networking stop | /etc/init.d/networking stop | ||
Edit | |||
vi /etc/network/interfaces | |||
auto bond0 | auto bond0 | ||
Revision as of 10:58, 26 February 2022
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