[Cialug] link aggregation help requested
Hakan E. Duran
ehakanduran at gmail.com
Mon Mar 25 01:36:27 UTC 2019
Dear all,
This may be a stupid oversight as far as I know, but I could not solve
it myself without some help for several months now and decided to ask
here.
I have a workstation that I am trying to set up link aggregation using
the two available on-board ethernet interfaces (motherboard is Asus
Z10PE-D8WS if matters). I was able to set up the bond using the
nm-connection-editor in linux (manjaro flavor) and also set up the LAG
on the Cisco managed switch I have (SG300-28, please see attached). The
workstation is the LAG2 whereas LAG1 and 2 are 2 NAS units. As you may
see on the attached image, LAG2 seems to have a stand by member on port
24, instead of having 2 active members like the NASes. I cannot figure
out why one of the ethernet connections is assigned a stanby member
status. I pasted the output of the command "sudo cat /proc/net/bonding
/bond0" below, I am unable to recognize a major problem there. The Cisco
switch documentation states that this would happen when there is a
hardware limitation in the connected device for building the aggregare
(also see attached), but I am not sure if there would be any such
limitation since this is a server main board, and also I don't want to
reach that conclusion before ruling out the possibility that I am
missing something. I can confirm that the current bond benchmarks are
not superior to a single ethernet connection in terms of speed at this
point of time (about 40-60 MBps for file transfer over Gigabit ethernet
connection).
Your pointers will be very much appreciated.
Hakan
sudo cat /proc/net/bonding/bond0
...
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: fa:aa:91:6b:bc:d2
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 9
Partner Key: 1001
Partner Mac Address: 00:38:df:d0:ee:49
Slave Interface: enp6s0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 2c:fd:a1:c6:1f:19
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: monitoring
Partner Churn State: monitoring
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: fa:aa:91:6b:bc:d2
port key: 9
port priority: 255
port number: 1
port state: 7
details partner lacp pdu:
system priority: 1
system mac address: 00:38:df:d0:ee:49
oper key: 1001
port priority: 1
port number: 71
port state: 117
Slave Interface: enp5s0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 2c:fd:a1:c6:1f:18
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: monitoring
Partner Churn State: monitoring
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: fa:aa:91:6b:bc:d2
port key: 9
port priority: 255
port number: 2
port state: 7
details partner lacp pdu:
system priority: 1
system mac address: 00:38:df:d0:ee:49
oper key: 1001
port priority: 1
port number: 72
port state: 69
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LAGs.png
Type: image/png
Size: 29835 bytes
Desc: not available
URL: <http://www.cialug.org/pipermail/cialug/attachments/20190324/612c5b68/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LACP.png
Type: image/png
Size: 13811 bytes
Desc: not available
URL: <http://www.cialug.org/pipermail/cialug/attachments/20190324/612c5b68/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://www.cialug.org/pipermail/cialug/attachments/20190324/612c5b68/attachment-0001.sig>
More information about the Cialug
mailing list