[K12OSN] OT - Linux router - I'm stuck <-long

Christopher K. Johnson ckjohnson at gwi.net
Wed Apr 7 23:47:41 UTC 2004


I think you guys are on the right track.
To simplify: the only static routes needed are the following, everything 
else you need for routes are configured by interface configurations:

On DO:    default gw 10.0.0.102

On RMS:   default gw 10.0.1.102
          net 172.16.96.0 255.255.224.0 gw 10.0.0.2

On RHS:   default gw 172.16.1.254
	  net 172.16.96.0 255.255.224.0 gw 10.0.1.2
	  net 172.16.32.0 255.255.224.0 gw 10.0.1.2
	  net 172.16.64.0 255.255.224.0 gw 10.0.2.102

On PE:    default gw 10.0.2.2


On Internet GW:
          default gw (whatever it is for Internet connection next hop)
          net 172.16.0.0 255.240.0.0 gw 172.16.1.1
          net 10.0.0.0 255.0.0.0 gw 172.16.1.1


I configured the entire rfc1918 networks/subnets in GW routes since no 
external use of private networks is feasible.
That makes its routes less complex and allows you to assign other 
subnets of them in the future without reconfiguring the GW.

Hope that does it.

Chris

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the K12OSN mailing list