Stefan Sperling wrote:
> On Sat, Mar 21, 2015 at 11:19:18PM +0100, Aram Hăvărneanu wrote:
> > I have a ThinkPad x240 (Intel 7620 wireless) running -current (to get
> > the new iwm(4) driver). Wireless works fine, but when I try to use a
> > trunk(4) device, in the way it's described in the faq[1], it doesn't
> > work.
> > 
> > When I boot without wired ethernet plugged in, networking doesn't work
> > at all (dhcp times out after a while, then nothing works), even if I
> > later plug an ethernet cable in.
> > 
> > When I boot with wired ethernet plugged in, when I remove the cable
> > ifconfig(8) tells me trunk0 failed over to iwm0, but in fact
> > networking doesn't work.
> > 
> > My configuration is: http://sprunge.us/SDaD
> > 
> > Is it my fault? How can I debug this further? Thanks.
> > 
> > [1] http://www.openbsd.org/faq/faq6.html#Wireless
> > 
> > -- 
> > Aram Hăvărneanu
> 
> I believe trunk(4) changes the MAC address of its ports, so the following
> note from the iwm page applies to your situation. The wording is probably
> too specific. The problem was found with 'ifconfig iwm9 lladdr random' but 
> there are many ways to change the MAC.
> 
> BUGS
>      The firmware stops passing traffic if the MAC address is changed with
>          # ifconfig iwm0 lladdr ...
> 
> I could not yet figure out exactly why the firmware stops working when the
> MAC address is changed. Help is welcome.

trunk uses the MAC of the master device, which is probably going to be em0 in
many setups, but it's possible to reorder the devices and make iwm0 the
master. A little less convenient as it won't failover to the ethernet
automatically.

Reply via email to