Use lagg(4) multiple switches
Andrew Thompson
thompsa at FreeBSD.org
Wed Jun 18 22:03:03 UTC 2008
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
More information about the freebsd-net
mailing list