![]()
1.查看网卡bonding状态 # cat /proc/net/bonding/bond0 其中Currently Active Slave列出了bonding当前的活动网卡名称。

2.使用以下命令在线切换活动网卡为enp125s0f1 ifenslave -c bond0 enp125s0f1

文章介绍了通过查看/proc/net/bonding/bond0文件来确定当前bonding的活动网卡,并提供了命令行方法在线将活动网卡切换至enp125s0f1。
![]()
1.查看网卡bonding状态 # cat /proc/net/bonding/bond0 其中Currently Active Slave列出了bonding当前的活动网卡名称。

2.使用以下命令在线切换活动网卡为enp125s0f1 ifenslave -c bond0 enp125s0f1

6138
1503

被折叠的 条评论
为什么被折叠?