netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issue with LACP mode support in Linux bonding driver
@ 2015-06-24  9:55 Ajith Adapa
  2015-06-26  1:37 ` Ajith Adapa
  2015-06-26  3:07 ` Mahesh Bandewar
  0 siblings, 2 replies; 4+ messages in thread
From: Ajith Adapa @ 2015-06-24  9:55 UTC (permalink / raw)
  To: netdev

Hi,

I am using Centos7 with v3.10 kernel.

My issue is related to multiaggregation in LACP.

In my setup topology I connected linux server and a L2 switch back to
back with 2 interfaces eth0 and eth1 (on both sides).

On Switch I have mapped eth0 to po1 and eth1 to po2. On linux server I
have created a single bond interface with both interfaces eth0 and
eth1.

On L2 switch both po1 and po2 has same system-id but the Actor key is
different i.e. on PO1 it is 16385 and on PO2 it is 32768. As per the
information available about bond0 on linux server which is given below
Active aggregator ID is 1 which is mapped to eth0 but eth1.

But we have observed that eth1 on linux server is also sending LACPDUS
with Collecting/Distributing bit set as 1. Which will result in single
bond interface on Linux server is splitted into multiple port-channels
on Switch causing duplication of frames on linux server.

As per IEEE 802.3ad 2003 standard portchannel should not support
multi-aggregation.


#  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 (0)
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
Active Aggregator Info:
    Aggregator ID: 1
    Number of ports: 1
    Actor Key: 17
    Partner Key: 16385
    Partner Mac Address: 11:11:22:22:33:33

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 08:00:27:18:ae:4b
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 08:00:27:76:35:a2
Aggregator ID: 3
Slave queue ID: 0


Regards,
Ajith

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-27  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24  9:55 Issue with LACP mode support in Linux bonding driver Ajith Adapa
2015-06-26  1:37 ` Ajith Adapa
2015-06-27  0:02   ` Rick Jones
2015-06-26  3:07 ` Mahesh Bandewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).