网络栈调优98 条

bonding 链路状态检查

聚合接口问题先看 /proc/net/bonding: 模式、活动从口与各成员链路状态一目了然。

检查

检查
cat /proc/net/bonding/bond0
ip -s link show bond0
Bonding Mode聚合模式, 决定交换机侧配置要求
MII Status成员口链路状态; down 成员先查物理链路

易错点

  • LACP 模式未与交换机侧配置对齐, 流量行为异常
  • 只看 bond 状态不看成员口错误计数

数据来源与参考

  • Linux Documentation/networking/bonding.rst
​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌