1.查看网卡bonding状态 # cat /proc/net/bonding/bond0 其中Currently Active Slave列出了bonding当前的活动网卡名称。
2.使用以下命令在线切换活动网卡为enp125s0f1 ifenslave -c bond0 enp125s0f1
1.查看网卡bonding状态 # cat /proc/net/bonding/bond0 其中Currently Active Slave列出了bonding当前的活动网卡名称。
2.使用以下命令在线切换活动网卡为enp125s0f1 ifenslave -c bond0 enp125s0f1