Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 08:39:30 +0200
From:      Mel Flynn <fbsd.mobile@rachie.is-a-geek.net>
To:        Sam Leffler <sam@freebsd.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Switching from wired to wireless getting "network down"
Message-ID:  <200904010839.30641.fbsd.mobile@rachie.is-a-geek.net>
In-Reply-To: <49D27294.9050706@freebsd.org>
References:  <1238217783.00093348.1238205603@10.7.7.3> <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> <49D27294.9050706@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 31 March 2009 21:44:20 Sam Leffler wrote:
> 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.

So I can't have this:

                lagg0 via wpi <-> lagg0 via rum-hostap
              /                       \
+-----------+                          +--------------+
+ laptop    +        192.168.1.0/24    +   gateway    +-- tun0-inet
+-----------+                          +--------------+
192.168.1.2  \                        /  192.168.1.1
               lagg0 via em0 <->  lagg0 via fxp0


And have both connected/disconnected at will.

-- 
Mel



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