From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id AB6F421F1B8 for ; Thu, 7 Mar 2013 15:47:25 -0800 (PST) Received: by mail-vc0-f170.google.com with SMTP id p16so613818vcq.29 for ; Thu, 07 Mar 2013 15:47:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=YLb1rEzO23D5aLTLh2Plo8UME41BGYA2z/Y9RBSWlK0=; b=StEdwCM/3wu+MKhGZ794C+EkOrwj8iRc4hGWempO3svwaULK7PwvfxviwxY8HhT7b4 lPpxgpjPEhOf6gSSdhNpwazY/EYalVBMVPeGBBAgPCgVUa6ILtEt5G+6eJkgzUcbh5Fq Y3KxDKRsEFoX0aL9akfm1cIqUTdnK2e/Kipm8K0AUEcDbz1vhXCA1KXk65zKep6dUQ39 OFLmEJuXJKWRga8Ixt78NDkBZw/JaEuiLNCkTvMxF72vzBipZjf755Vm0KMAjVCzldAo HQPq5BdrFxPDGrKuqeH+yhlbqHFU0YsydZBt8VGNMbel298uQh5+hUmD31jh/G12M4Ar zTJg== MIME-Version: 1.0 X-Received: by 10.220.241.19 with SMTP id lc19mr61131vcb.43.1362700044298; Thu, 07 Mar 2013 15:47:24 -0800 (PST) Received: by 10.58.169.77 with HTTP; Thu, 7 Mar 2013 15:47:23 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Mar 2013 18:47:23 -0500 Message-ID: From: Dave Taht To: Sandy McArthur Content-Type: multipart/alternative; boundary=14dae9cfcbe6139b9c04d75e54b2 Cc: bloat@lists.bufferbloat.net Subject: Re: [Bloat] Advice for dual wifi home network X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 23:47:26 -0000 --14dae9cfcbe6139b9c04d75e54b2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Mar 7, 2013 at 6:22 PM, Sandy McArthur wrote: > I'm looking to setup a home network with two APs connected by ethernet. = I > think I understand the default network settings for use as a single cerow= rt > network but I'm struggling how to wrap my brain around how a second route= r > should be configured so that the second access point isn't just another > level of NAT deeper inside the first router. Second cerowrt router: It is essential to have a totally unique set of IPs per router. 1) Renumber to a different set of IPs - the two sed command documented here https://www.bufferbloat.net/projects/cerowrt/wiki/Changing_your_cerowrt_ip_= addresses We don't have bind anymore, you can edit out that part 2) In /etc/config/firewall Delete all but the first set of firewall rules, and the default INPUT OUTPUT and FORWARD all be ACCEPT. This disables nat on the router in particular. 4) Change /etc/quagga/babeld.conf to also use ge00 (currently commented out= ) Plug the second cerowrt WAN port into the LAN port on the first router (I note that if you do all this, and you don't change the SSIDs or channels, they will also mesh together over wifi, and those are "guest" not native, so require a little more work to use than just ethernet, and are slower, so use ethernet. :) ) Reboot. On the primary router: 1) Edit /etc/quagga/babeld.conf to export it's default route (it's commented out) /etc/init.d/quagga restart The ip route show command will then show routes to the other router. If you have a 3rd AP, we have issues with the avahi daemon that are troublesome, but if you only have two, you can enable avahi on the ge00 port on the second router in /etc/avahi Let us know what happens... one of these days we gotta wrap a gui around that sed script.... > Internet ---- cerowrt A ---- cerowrt B > > Configuring the B router is what is confusing me. > -- > Sandy McArthur > > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat > > --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html --14dae9cfcbe6139b9c04d75e54b2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Mar 7, 2013 at 6:22 PM, Sandy Mc= Arthur <sandymac@gmail.com> wrote:
I'm looking to setup a home network with two APs connected by ethernet.= =A0I think I understand the default network settings for use as a single c= erowrt network but I'm struggling how to wrap my brain around how a sec= ond router should be configured so that the second access point isn't j= ust another level of NAT deeper inside the first router.

Second cerowrt router:

It is essential to have a totally un= ique set of IPs per router.

1) Renumber to a different set of IPs - = the two sed command documented here

https://ww= w.bufferbloat.net/projects/cerowrt/wiki/Changing_your_cerowrt_ip_addresses<= /a>

We don't have bind anymore, you can edit out that part


2= ) In /etc/config/firewall

Delete all but the first set of firewall r= ules, and the default INPUT OUTPUT and FORWARD all be ACCEPT. This disables= nat on the router in particular.

4) Change /etc/quagga/babeld.conf to also use ge00 (currently commented= out)

Plug the second cerowrt WAN port into the LAN port on the firs= t router

(I note that if you do all this, and you don't change t= he SSIDs or channels, they will also mesh together over wifi, and those are= "guest" not native,
so require a little more work to use than just ethernet, and are slower, so=
use ethernet. :) )

Reboot.

On the primary router:

= 1) Edit /etc/quagga/babeld.conf to export it's default route (it's = commented out)

/etc/init.d/quagga restart

The

ip route show

comma= nd will then show routes to the other router.

If you have a 3rd AP, = we=A0 have issues with the avahi daemon that are troublesome, but if you on= ly have two, you can enable avahi on the ge00 port on the second router in = /etc/avahi

Let us know what happens...

one of these days we gotta wrap a gu= i around that sed script....





--
Dave T=E4ht

= Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscrib= e.html=20 --14dae9cfcbe6139b9c04d75e54b2--