安装bond软件
sudo apt-get install ifenslave
配置开机加载bond模块
echo 'bonding' |sudo tee --append /etc/modules
配置网卡
在_/etc/network/interfaces_中追加
auto bond0iface bond0 inet static address 192.168.99.254 netmask 255.255.255.0 gateway 192.168.99.1 bond-slaves eth0 eth1 bond-mode 0 bond-miimon 100 bond-downdelay 200 bond-updelay 200
重启网络
sudo systemctl restart network