vi /etc/modules 加入
bonding mode=active-backup miimon=100
vi /etc/network/interfaces 加入
auto bond0
iface bond0 inet static
address 192.168.1.105
netmask 255.255.255.0
gateway 192.168.1.1
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1
sudo apt-get install ifenslave-2.6

