modprobe bonding miimon=100 mode=0
echo +bond0 >/sys/class/net/bonding_masters
echo +bond1 >/sys/class/net/bonding_masters
echo +eth0 > /sys/class/net/bond0/bonding/slaves
echo -eth0 > /sys/class/net/bond0/bonding/slaves
echo active-backup > /sys/class/net/bond1/bonding/mode
echo 1
>/sys/class/net/bond1/bonding/mode
echo +192.168.0.1
> /sys/class/net/bond1/bonding/arp_ip_target
echo 2000
> /sys/class/net/bond1/bonding/arp_interval
沒有留言:
張貼留言