lagg with devices that may disappear

Eitan Adler lists at eitanadler.com
Tue Jan 22 17:06:29 UTC 2013


I have two USB devices:

run0/wlan0 - a wireless nic
ue0 - a wired nic

In my rc.conf I have these set up to lagg - (note that this is done
from memory and may not be exact):

# ether address also set up here
ifconfig_ue0="up"
wlans_ue0="wlan0"
ifconfig_wlan0="WPA"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport ue0 laggport wlan0 DHCP"

This behaves as expected when both devices are plugged in.

However, when either the ue0 or wlan0 device is removed the link goes down.
In addition, if the device is reinserted I need to re-run "service
netif start" before the link returns.

It would be nice if removing the either nic failed over to the other
one without additional work. Is there a way I can set up these devices
to properly failover and return on device removal and insertion?

Please CC me as I am not subscribed.

-- 
Eitan Adler


More information about the freebsd-questions mailing list