From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 21 15:20:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8172FB4C for ; Tue, 21 Jan 2014 15:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B51417AF for ; Tue, 21 Jan 2014 15:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0LFK0sF025866 for ; Tue, 21 Jan 2014 15:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0LFK0A1025865; Tue, 21 Jan 2014 15:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jan 2014 15:20:00 GMT Resent-Message-Id: <201401211520.s0LFK0A1025865@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Rebele Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC8A3B36 for ; Tue, 21 Jan 2014 15:19:28 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE86317A7 for ; Tue, 21 Jan 2014 15:19:28 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0LFJSwT002513 for ; Tue, 21 Jan 2014 15:19:28 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0LFJSOn002499; Tue, 21 Jan 2014 15:19:28 GMT (envelope-from nobody) Message-Id: <201401211519.s0LFJSOn002499@oldred.freebsd.org> Date: Tue, 21 Jan 2014 15:19:28 GMT From: Michael Rebele To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/185967: Link Aggregation LAGG: LACP not working in 10.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 15:20:00 -0000 >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: mem 0xd90a0000-0xd90affff,0xd90b0000-0xd90bffff,0xd90c0000-0xd90cffff irq 34 at device 0.0 on pci2 and a dual-port Intel card: igb0: 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: