<br><br><div class="gmail_quote">On Thu, Mar 7, 2013 at 6:22 PM, Sandy McArthur <span dir="ltr"><<a href="mailto:sandymac@gmail.com" target="_blank">sandymac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 cerowrt network but I'm struggling how to wrap my brain around how a second router should be configured so that the second access point isn't just another level of NAT deeper inside the first router.</blockquote>
<div><br>Second cerowrt router:<br><br>It is essential to have a totally unique set of IPs per router.<br><br>1) Renumber to a different set of IPs - the two sed command documented here<br><br><a href="https://www.bufferbloat.net/projects/cerowrt/wiki/Changing_your_cerowrt_ip_addresses">https://www.bufferbloat.net/projects/cerowrt/wiki/Changing_your_cerowrt_ip_addresses</a><br>
<br>We don't have bind anymore, you can edit out that part<br><br><br>2) In /etc/config/firewall<br><br>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.<br>
<br>4) Change /etc/quagga/babeld.conf to also use ge00 (currently commented out)<br><br>Plug the second cerowrt WAN port into the LAN port on the first router<br><br>(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,<br>
so require a little more work to use than just ethernet, and are slower, so<br>use ethernet. :) )<br><br>Reboot.<br><br>On the primary router:<br><br>1) Edit /etc/quagga/babeld.conf to export it's default route (it's commented out)<br>
<br>/etc/init.d/quagga restart<br><br>The<br><br>ip route show<br><br>command will then show routes to the other router.<br><br>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<br>
<br>Let us know what happens...<br><br>one of these days we gotta wrap a gui around that sed script....<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>

<br></div><div>Internet ---- cerowrt A ---- cerowrt B<br><div><div><br></div><div>Configuring the B router is what is confusing me.</div><span class="HOEnZb"><font color="#888888">-- <br>Sandy McArthur<br></font></span></div>
</div>
<br>_______________________________________________<br>
Bloat mailing list<br>
<a href="mailto:Bloat@lists.bufferbloat.net">Bloat@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/bloat" target="_blank">https://lists.bufferbloat.net/listinfo/bloat</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dave Täht<br><br>Fixing bufferbloat with cerowrt: <a href="http://www.teklibre.com/cerowrt/subscribe.html" target="_blank">http://www.teklibre.com/cerowrt/subscribe.html</a>