Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 15:19:28 GMT
From:      Michael Rebele <m.rebele@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/185967: Link Aggregation LAGG: LACP not working in 10.0
Message-ID:  <201401211519.s0LFJSOn002499@oldred.freebsd.org>
Resent-Message-ID: <201401211520.s0LFK0A1025865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185967
>Category:       kern
>Synopsis:       Link Aggregation LAGG: LACP not working in 10.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 15:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Michael Rebele
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD fserver 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After upgrading from 9.2-RELEASE-p3 the link aggregation with lacp is not working anymore.
It seems that it does not depend on the used network-hardware.
The machine has the following configuration:
a quad-port Broadcom card:
bge0: <Broadcom NetXtreme Gigabit Ethernet, ASIC rev. 0x5720000> mem 0xd90a0000-0xd90affff,0xd90b0000-0xd90bffff,0xd90c0000-0xd90cffff irq 34 at device 0.0 on pci2

and a dual-port Intel card:
igb0: <Intel(R) PRO/1000 Network Connection version - 2.4.0> mem 0xd4d00000-0xd4dfffff,0xd4ff8000-0xd4ffbfff irq 82 at device 0.0 on pci68

On 9.2 the lagg0 configuration was as follows (from /etc/rc.conf):
ifconfig_igb0="UP"
ifconfig_igb1="UP"
ifconfig_bge2="UP"
ifconfig_bge3="UP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 laggport bge2 laggport bge3 10.50.1.154 netmask 255.255.0.0"
defaultrouter="10.50.0.1"
 ifconfig_lagg0_alias0="inet 10.50.1.155 netmask 255.255.0.0"
 ifconfig_lagg0_alias1="inet 10.50.1.165 netmask 255.255.0.0"

This all works fine and as expected under 9.2.

After upgrading to 10.0-RC5, you can't connect to the machine as expected. The lagg0-Interface goes up, but no network connection is possible. Changing to 10.0-RELEASE didn't solve the problem. 
I tried several things under 10.0 (w. LACP as Protocol Type):
lagg-Interface with bge2 and bge3 network interfaces: not working
lagg-interface with igb0 and igb1 network interfaces: not working

ifconfig shows the interface as up and active, netstat -r shows the assigned IP-Adresses and the correct entry for the defaultroute. But e.g. you can't ping the gateway (100% packet loss).

If i change the LAGG-Protocol to failover, then the lagg-Interface is working. It seems to me, that there is a problem only with LACP in 10.0.
>How-To-Repeat:
With the help of Google i found this thread, the problem has been previously discussed here before:
http://forums.freebsd.org/viewtopic.php?f=7&t=43665
>Fix:
Don't use laggproto lacp, use laggproto failover instead (which is virtually not the same)

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401211519.s0LFJSOn002499>