From owner-freebsd-net@FreeBSD.ORG Wed Jun 18 22:03:02 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECBB91065672 for ; Wed, 18 Jun 2008 22:03:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 117ED8FC1F for ; Wed, 18 Jun 2008 22:03:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 725422BCE7; Thu, 19 Jun 2008 10:03:00 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id veM0qwaUf6Rc; Thu, 19 Jun 2008 10:02:56 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 19 Jun 2008 10:02:56 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 33D9E11433; Thu, 19 Jun 2008 10:04:23 +1200 (NZST) Date: Wed, 18 Jun 2008 15:04:22 -0700 From: Andrew Thompson To: Alexandre Biancalana Message-ID: <20080618220422.GB76058@citylink.fud.org.nz> References: <8e10486b0806181220y38fd0626qb88813a82f0eea5c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e10486b0806181220y38fd0626qb88813a82f0eea5c@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-net@freebsd.org Subject: Re: Use lagg(4) multiple switches X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 22:03:03 -0000 On Wed, Jun 18, 2008 at 04:20:48PM -0300, Alexandre Biancalana wrote: > Hi list, > > We have one machine with 3 nics configured with lagg(4). Each nic is > connected to a different switch, but only one is in active mode. > > $ ifconfig -v lagg0 > lagg0: flags=8843 metric 0 mtu 1500 > options=19b > ether 00:15:17:6f:f1:9e > media: Ethernet autoselect > status: active > groups: lagg > laggproto lacp > lag id: [(8000,00-15-17-6F-F1-9E,00F0,0000,0000), > (0001,00-1E-C9-86-9D-6F,0272,0000,0000)] > laggport: local3 flags=1c state=3D > [(8000,00-15-17-6F-F1-9E,00F0,8000,0001), > (0001,00-1E-C9-86-9D-6F,0272,0001,0001)] > laggport: local2 flags=18 state=3D > [(8000,00-15-17-6F-F1-9E,00F0,8000,0003), > (0001,00-1E-C9-86-9D-60,0272,0001,0001)] > laggport: local1 flags=18 state=3D > [(8000,00-15-17-6F-F1-9E,00F0,8000,0002), > (0001,00-1E-4F-08-ED-3A,0272,0001,0001)] > > Is possible make all the nics work together ?? LACP can only work with one switch at a time. It will pick the path with the best priority/speed and will failover to a better path, but only one switch at a time. Andrew