Issue with igb and lagg (was Re: Problem with link aggregation + sshd)

Daniel Eischen deischen at freebsd.org
Tue Sep 11 22:09:35 UTC 2012


On Tue, 11 Sep 2012, Giulio Ferro wrote:

> Well, there definitely seems to be a problem with igb and lagg.
>
> igb alone works as it should, but doesn't seem to work properly in lagg.
>
> To be sure I started from scratch from a 9.0 release with nothing but:
>
> /etc/rc.conf
> ---------------------------------------------------
> ifconfig_igb0="inet ..."
>
> ifconfig_igb1="up"
> ifconfig_igb2="up"
> ifconfig_igb3="up"
>
> cloned_interfaces="lagg0"
> ifconfig_lagg0="laggproto lacp laggport igb1 laggport igb2 laggport igb3

My rc.conf is something like this:

#
# For now, force ath0 to use the same MAC address as xl0.
# This works around a bug where lagg is unable to set the
# MAC address of the underlying wlan0 interface.
#
ifconfig_ath0="ether 01:02:03:04:05:06"
wlans_ath0=wlan0
ifconfig_wlan0="ssid SSID_FOO_NAME WPA"

ifconfig_xl0="up"
closed_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport xl0 laggport wlan0"
ifconfig_lagg0_alias0="inet 10.0.0.4 netmask 0xffffff00"

I use aliasX to add the address and netmask.

-- 
DE


More information about the freebsd-net mailing list