不能直接删掉 bond 接口( ifcfg-bond0 ),不然网就直接挂了连不上远程服务器了,有什么办法能取消掉绑定网卡的 Slave 状态,让网卡取消绑定各自独立工作,同时又不会断了远程连接。
|
defunct9Sep 28, 2021
1
em1 和 em2 做了 bonding,em1 主,那么直接 ifdown em2,修改了 ifcfg-em2,ifup em2,em2 就好了。然后改 em1 就行了
|
|
iBugOneSep 28, 2021
2
ip link set eth0 nomaster
|
|
iceecreamOct 17, 2021
3
编辑非活动网卡,踢出 bond 就可以了。
|
|
4
@iceecream 能不能请教下具体操作
|
|
liuliancaoNov 13, 2021
5
cat /proc/net/bonding/bond0 配合 ethtool -i eth0 ethtool -i eth1 好像啥的 看下包的流量 或者你抓下包 如果是主备的话
|