ip: 192.168.0.100
安装ifenslave
sudo apt-get install ifenslave
设置开机启动时加载bonding module
echo "bonding" >>/etc/modules
内核加载bonding module
modprobe bonding
ifconfig -a 看看,这时应该有块名为bond0的网卡
配置/etc/network/interfaces
auto eno1 iface eno1 inet manual bond-master bond0 bond-primary eno1 auto eno2 iface eno2 inet manual bond-master bond0 bond-primary eno2 auto bond0 iface bond0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.67 bond-slaves eno1 eno2 bond-lacp-rate 1 bond-mode 1 bond-miimon 100
重启网络
systemctl restart networking
526855734
来源:51CTO
作者:Tilyp
链接:https://blog.csdn.net/Tilyp/article/details/102721581