vi ifcfg-bond0
BOOTPROTO=static
IPADDR=
PREFIX=24
GATEWAY=
systemctl restart network.service
启用 bond0 :
ifenslave bond0 eth0 eth1
查看当前哪个网卡状态是active
#cat /proc/net/bonding/bond0
切换当前使用网卡eth0
ifenslave -c eth0
原文:https://blog.51cto.com/wsl12105/2365532