Find current bonding mode:
#cd
/sys/class/net/bond0/bonding
#cat
mode
balance-rr
0
The current bonding mode is round-robin.
Change the bonding mode:
#ifdown
bond0
#echo
1 >mode
#cat
mode
active-backup
1
Now the bonding mode has been changed to active-backup.
Up the bond0 again:
#ifup
bond0
Check if the bonding mode has been changed:
#cat
/proc/net/bonding/bond0
U R Champ man......U Save My Day.......
ReplyDelete