Linux LACP (802.3ad) 仅适用于入口流量?

网络工程 杜松 杜松-朱诺斯 linux IEEE-802.1ax 瞻博网络
2022-03-04 04:50:46

我们在瞻博网络交换机和 Linux 主机上设置了 LACP (802.3ad),通过 3 个 1Gbps 链路连接到交换机。我们能够以 3 Gbps 的速度从多个来源下载,但是当将文件上传到不同的目的地时,我们获得的最大速度为 1 Gbps。有趣的是,Linux 主机似乎只使用了 1 个上行链路来上传(到不同的目的地):

Interface: ge-0/0/34, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 1000mbps
Traffic statistics:
  Input bytes:             9874189047641 (981736896 bps)
  Output bytes:            5641687864781 (440210816 bps)

Interface: ge-0/0/36, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 1000mbps
Traffic statistics:
  Input bytes:                6194266205 (1016 bps)                    
  Output bytes:            5368956712475 (400087456 bps)

Interface: ge-0/0/44, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 1000mbps
Traffic statistics:
  Input bytes:             1494878289802 (1016 bps)
  Output bytes:           11897014259103 (469673216 bps)

输入和输出被翻转。

我们基本上遵循了这个教程: http: //phreek.org/blog/2014/11/centos-7-lacp-network-bonding

并像往常一样在我们的交换机上设置 LACP。

# show system rollback 2 compare 1
[edit chassis]
-   aggregated-devices {
-       ethernet {
-           device-count 1;
-       }
-   }
[edit interfaces ge-0/0/34]
-    ether-options {
-        802.3ad ae0;
-    }
[edit interfaces ge-0/0/34]
+    unit 0 {
+        family ethernet-switching;
+    }
[edit interfaces ge-0/0/36]
-    ether-options {
-        802.3ad ae0;
-    }
[edit interfaces ge-0/0/36]
+    unit 0 {
+        family ethernet-switching;
+    }
[edit interfaces ge-0/0/44]
-    ether-options {
-        802.3ad ae0;
-    }
[edit interfaces ge-0/0/44]
+    unit 0 {
+        family ethernet-switching;
+    }
[edit interfaces]
-   ae0 {
-       aggregated-ether-options {
-           lacp {
-               active;
-               periodic fast;
-           }
-       }
-       unit 0 {
-           family ethernet-switching;
-       }
-   }
[edit vlans SERVER-130 interface]
+    ge-0/0/44.0;
+    ge-0/0/36.0;
+    ge-0/0/34.0;
-    ae0.0;

任何的想法?

1个回答

尝试将传输哈希策略更改为 layer3+4

更多信息在这里