From owner-freebsd-stable@FreeBSD.ORG Fri Feb 4 18:34:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 620D31065670 for ; Fri, 4 Feb 2011 18:34:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 104568FC12 for ; Fri, 4 Feb 2011 18:34:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p14I6skl084281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Feb 2011 12:06:54 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p14I6rpF066836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Feb 2011 12:06:53 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p14I6rng066835; Fri, 4 Feb 2011 12:06:53 -0600 (CST) (envelope-from dan) Date: Fri, 4 Feb 2011 12:06:53 -0600 From: Dan Nelson To: Damien Fleuriot Message-ID: <20110204180653.GA75479@dan.emsphone.com> References: <4D4BED80.5060806@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D4BED80.5060806@my.gd> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Fri, 04 Feb 2011 12:06:54 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: "freebsd-stable@freebsd.org" Subject: Re: link aggregation - bundling 2 lagg interfaces together X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2011 18:34:35 -0000 In the last episode (Feb 04), Damien Fleuriot said: > I have a firewall with 2x Intel pro dual port cards. > > On Intel A , port 1 goes to switch 1, port 2 goes to switch 2 > On Intel B , port 1 goes to switch 1, port 2 goes to switch 2 > > I have created the following 2 lagg devices using LACP: > > lagg0 = A1 + B1 > lagg1 = A2 + B2 > > This works fine. > > Now, what I had in mind was creating a lagg2 device using lagg0 and > lagg1 with failover. > > That would provide redundancy in case of a switch failure. > > ifconfig won't let me though: > > # ifconfig lagg2 laggproto failover laggport lagg0 laggport lagg1 > ifconfig: SIOCSLAGGPORT: Invalid argument > > I suppose it's not possible to aggregate lagg interfaces ? Apparently not: http://fxr.watson.org/fxr/source/net/if_lagg.c#L516 It looks like there is preliminary code under #ifdef LAGG_PORT_STACKING, but it claims to be untested. -- Dan Nelson dnelson@allantgroup.com