Date: Wed, 18 Jun 2008 15:04:22 -0700 From: Andrew Thompson <thompsa@FreeBSD.org> To: Alexandre Biancalana <biancalana@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Use lagg(4) multiple switches Message-ID: <20080618220422.GB76058@citylink.fud.org.nz> In-Reply-To: <8e10486b0806181220y38fd0626qb88813a82f0eea5c@mail.gmail.com> References: <8e10486b0806181220y38fd0626qb88813a82f0eea5c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> > 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<ACTIVE,COLLECTING,DISTRIBUTING> 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<COLLECTING,DISTRIBUTING> 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<COLLECTING,DISTRIBUTING> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080618220422.GB76058>