Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 12:05:57 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        questions@freebsd.org
Subject:   lagg with devices that may disappear
Message-ID:  <CAF6rxgmj5dx5MnbzZ35kL1xUnHxJYkAC3DM0NU1_hPF3EQ766w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmj5dx5MnbzZ35kL1xUnHxJYkAC3DM0NU1_hPF3EQ766w>