Installare il software ifenslave-2.6
Creare il file /etc/modprobe.d/bond e inserire all'interno del file
alias bondX bonding
options bondX mode=0 miimon=100
dove X è il numero del device bond.
Modificare /etc/network/interfaces eliminando ogni riferimento alle schede di rete del bond
auto bond0
iface bond0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 10.184.250.1
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1
riavviare il servizio di rete con /etc/init.d/networking restart
Nessun commento:
Posta un commento