1.查看网卡bonding状态
# cat /proc/net/bonding/bondeth0
其中Currently Active Slave列出了bonding当前的活动网卡名称。
在这里插入图片描述
2.使用以下命令在线切换活动网卡为eth1:
# ifenslave -c bondeth0 eth1
在这里插入图片描述

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐