Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] routing
@ 2014-10-24 13:29 Dane Medic
  2014-10-24 16:40 ` Dave Taht
  0 siblings, 1 reply; 2+ messages in thread
From: Dane Medic @ 2014-10-24 13:29 UTC (permalink / raw)
  To: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

Hi,

question:

if I use 3 cerowrt routers and connect them together from lan port to wan
port in chain, is it correct way to set a static IP on the last two routers
WAN ports and add routes from first one like so?

route add -net 172.20.21.0 netmask 255.255.255.224 dev se00 gateway
172.20.21.5
route add -net 172.20.21.64 netmask 255.255.255.224 dev se00 gateway
172.20.21.5
route add -net 172.20.22.0 netmask 255.255.255.224 dev se00 gateway
172.20.21.5
route add -net 172.20.22.64 netmask 255.255.255.224 dev se00 gateway
172.20.21.5

or is there better solution? Do I have to set different route disatnce?


Cheers,

Dane

[-- Attachment #2: Type: text/html, Size: 767 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Cerowrt-devel] routing
  2014-10-24 13:29 [Cerowrt-devel] routing Dane Medic
@ 2014-10-24 16:40 ` Dave Taht
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Taht @ 2014-10-24 16:40 UTC (permalink / raw)
  To: Dane Medic; +Cc: cerowrt-devel

What I typically do (after renumbering each device to be on a unique
range, as you did),
is:

http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_an_interior_gateway_router

There is no need to setup static routes at all, babel takes care of it.

You do have to tell your exterior router to export the default route,
as per a link on the above.


On Fri, Oct 24, 2014 at 6:29 AM, Dane Medic <dm70dm@gmail.com> wrote:
> Hi,
>
> question:
>
> if I use 3 cerowrt routers and connect them together from lan port to wan
> port in chain, is it correct way to set a static IP on the last two routers
> WAN ports and add routes from first one like so?
>
> route add -net 172.20.21.0 netmask 255.255.255.224 dev se00 gateway
> 172.20.21.5
> route add -net 172.20.21.64 netmask 255.255.255.224 dev se00 gateway
> 172.20.21.5
> route add -net 172.20.22.0 netmask 255.255.255.224 dev se00 gateway
> 172.20.21.5
> route add -net 172.20.22.64 netmask 255.255.255.224 dev se00 gateway
> 172.20.21.5
>
> or is there better solution? Do I have to set different route disatnce?
>
>
> Cheers,
>
> Dane
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>



-- 
Dave Täht

thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-24 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-24 13:29 [Cerowrt-devel] routing Dane Medic
2014-10-24 16:40 ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox