Switching from wired to wireless getting "network down"

Sam Leffler sam at freebsd.org
Tue Mar 31 12:44:22 PDT 2009


Mel Flynn wrote:
> On Tuesday 31 March 2009 18:24:08 Sam Leffler wrote:
>> Mel Flynn wrote:
> 
>>> Great! Does this also work for hostap mode now? I'd like to unify my
>>> internal network, currently using rum as hostap.
>>> If the answer is no, I pledge to file a PR. ;)
>> I don't understand what you're looking for but it's unlikely this will
>> do what you want.  lagg's failover protocol acts like a single-position
>> switch funneling packets to one of several devices (all of which are
>> assigned the same mac address).
> 
> What I'd like is my wireless and wired network to be on the same /24 and my 
> hostap/gateway to nat between lagg0 and tun0. As you've now described lagg, 
> this doesn't seem viable and I'll have to look for a different solution.
> 
> The reason I want it, is that it greatly simplifies my rdr rules and I can 
> seemlessly plug in/out my laptop without having to change default route or 
> getting arp errors if I use lagg on it.
> 
> Wireless routers (at least my retired Linksys) seem to be able to handle a 
> unified wired/wireless network just fine, is there anything comparable in 
> FreeBSD?
> 

It sounds like you just want wired+wireless bridged with single dhcp
server.  So long as your machines aren't simultaneously connected to
both it should not be an issue.  NAT is irrelevant unless you want to
connect the outside world and want only 1 IP address to be exposed.

	Sam



More information about the freebsd-mobile mailing list