我正在尝试为我们的服务器配置以太网绑定。我服务器中的以太网接口都物理连接到两个不同的网络交换机。
看起来我的以太网绑定配置没问题,但在配置绑定后我看到数据包丢失。有时丢包率在 90% 左右。
我的 /proc/net/bonding/bond0 看起来像这样
[root@ ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:e1:5b:d0:11:10
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:e1:5b:d0:11:14
Slave queue ID: 0
[root@portaldb1 ~]# cat /sys/class/net/bond0/bonding/mode
balance-alb 6
# cat /sys/class/net/bond0/bonding/miimon
0
Run Code Online (Sandbox Code Playgroud)
我试过的操作系统是 RHEL 6.2 和 CentOS 5.5 ,看到两个操作系统中的数据包丢失
我在配置中缺少什么?我尝试将两个接口连接到同一交换机,但仍然看到数据包丢失。任何解决问题的帮助/建议将不胜感激。
小智 -1
我在内核 3.2.0 上观察到类似的情况
此建议有帮助: http://www.spinics.net/lists/netdev/msg184521.html