如何解决linux 绑定网络切换
我在一台机器上测试了链路绑定并使用了主动备份模式。
最近查看日志,显示主网卡多次宕机,切换到备用网卡,会导致丢包,并且有其他机器与我的机器通信局域网。
通信设备对双方的通信质量要求都很好,这些切换造成的丢包会造成麻烦。
什么会导致网卡无故掉线,我不知道。
日志如下:
[ 2058.864509] i40e 0000:20:00.0 enp32s0f0: NIC Link is Down
[ 2064.919024] i40e 0000:20:00.0 enp32s0f0: NIC Link is Up,10 Gbps Full Duplex,Requested FEC: None,Negotiated FEC: None,Autoneg: True,Flow Control: None
[ 5631.048066] i40e 0000:20:00.1 enp32s0f1: NIC Link is Down
[ 5636.819139] i40e 0000:20:00.1 enp32s0f1: NIC Link is Up,Flow Control: None
切换台
[ 1381.296893] bond0: link status down for active interface enp32s0f0,disabling it in 1000 ms
[ 1381.296898] bond0: invalid new link 1 on slave enp32s0f0
[ 1382.337033] bond0: link status definitely down for interface enp32s0f0,disabling it
[ 1382.337037] bond0: making interface enp32s0f1 the new active one
[ 1387.432975] bond0: link status definitely up for interface enp32s0f0,10000 Mbps full duplex
[ 1387.432979] bond0: making interface enp32s0f0 the new active one
[ 2058.908238] bond0: link status down for active interface enp32s0f0,disabling it in 1000 ms
[ 2058.908242] bond0: invalid new link 1 on slave enp32s0f0
[ 2059.948362] bond0: link status definitely down for interface enp32s0f0,disabling it
[ 2059.948366] bond0: making interface enp32s0f1 the new active one
[ 2064.944440] bond0: link status definitely up for interface enp32s0f0,10000 Mbps full duplex
[ 2064.944444] bond0: making interface enp32s0f0 the new active one
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。