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

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