[Cerowrt-devel] routing

Dane Medic dm70dm at gmail.com
Fri Oct 24 09:29:08 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/cerowrt-devel/attachments/20141024/01293dde/attachment.html>


More information about the Cerowrt-devel mailing list