From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 31 19:44:22 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 2416810656C1 for ; Tue, 31 Mar 2009 19:44:22 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id EAC6E8FC0A for ; Tue, 31 Mar 2009 19:44:21 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2VJiKaG092901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Mar 2009 12:44:21 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49D27294.9050706@freebsd.org> Date: Tue, 31 Mar 2009 12:44:20 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <1238217783.00093348.1238205603@10.7.7.3> <200903311054.35181.mel.flynn@mailing.thruhere.net> <49D243A8.5050601@freebsd.org> <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> In-Reply-To: <200903311859.00642.fbsd.mobile@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist 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: Tue, 31 Mar 2009 19:44:22 -0000 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