From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 1 06:39:33 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FFE11065673; Wed, 1 Apr 2009 06:39:33 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 58CF38FC14; Wed, 1 Apr 2009 06:39:33 +0000 (UTC) (envelope-from fbsd.mobile@rachie.is-a-geek.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id EB51D7E818; Tue, 31 Mar 2009 22:39:31 -0800 (AKDT) From: Mel Flynn To: Sam Leffler Date: Wed, 1 Apr 2009 08:39:30 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <1238217783.00093348.1238205603@10.7.7.3> <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> <49D27294.9050706@freebsd.org> In-Reply-To: <49D27294.9050706@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904010839.30641.fbsd.mobile@rachie.is-a-geek.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 06:39:33 -0000 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