Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 08:31:36 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 185967] [lagg] [patch] Link Aggregation LAGG: LACP not working in 10.0
Message-ID:  <bug-185967-2472-yJmoMRTeoz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-185967-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-185967-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185967

olivier@cochard.me changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier@cochard.me

--- Comment #8 from olivier@cochard.me ---
The patch didn't solve Lagg regression between 9.2 and 10-stable (r267244).

My configuration only use one lagg member (the second will be added later):

ifconfig_em0="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 SYNCDHCP"
ifconfig_lagg0_ipv6="inet6 accept_rtadv"

And it's works great on 9.2:

[root@R1]~# uname -a
FreeBSD R1 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255918M: Sat Oct 26 22:41:39
CEST 2013    
root@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64
 amd64
[root@R1]~# ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether aa:aa:00:01:01:01
        inet6 fe80::a8aa:ff:fe01:101%lagg0 prefixlen 64 scopeid 0x8
        inet 10.0.12.1 netmask 0xffffff00 broadcast 10.0.12.255
        inet6 2001:db8:12:0:a8aa:ff:fe01:101 prefixlen 64 autoconf
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        laggproto lacp lagghash l2,l3,l4
        laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
[root@R1]~# uname -a
FreeBSD R1 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255918M: Sat Oct 26 22:41:39
CEST 2013    
root@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64
 amd64

But once upgraded to 10-stable AND DISABLING the strict mode, it didn't works
anymore:

[root@R1]~# uname -a
FreeBSD R1 10.0-STABLE FreeBSD 10.0-STABLE #0 r267244M: Mon Jun  9 03:57:44
CEST 2014    
root@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64
 amd64

[root@R1]~# echo "net.link.lagg.0.lacp.lacp_strict_mode=0" >> /etc/sysctl.conf

[root@R1]~# ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether aa:aa:00:01:01:01
        inet6 fe80::a8aa:ff:fe01:101%lagg0 prefixlen 64 scopeid 0x7
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        laggproto lacp lagghash l2,l3,l4
        laggport: em0 flags=0<>
[root@R1]~# sysctl net.link.lagg.0.
net.link.lagg.0.use_flowid: 1
net.link.lagg.0.flowid_shift: 16
net.link.lagg.0.count: 1
net.link.lagg.0.active: 0
net.link.lagg.0.flapping: 0
net.link.lagg.0.lacp.lacp_strict_mode: 0
net.link.lagg.0.lacp.debug.rx_test: 0
net.link.lagg.0.lacp.debug.tx_test: 0

In debug mode, I've got this output:
lacp_select_tx_port: no active aggregator

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-185967-2472-yJmoMRTeoz>