I'm trying to route two different networks using static routing, my problem is that I have 10 routers 4 in Lan1, 4 in Lan2 and 2 between Lan1 and Lan2, here is the topology:
I'm trying doing something like this:
My routing table for R1:
- 192.168.90.0 via 192.168.50.2
- 192.168.91.0 via 192.168.50.2
- 192.168.92.0 via 192.168.50.2
- 192.168.59.0 via 192.168.50.2
- 192.168.58.0 via 192.168.50.2
- 192.168.57.0 via 192.168.50.2
- 192.168.56.0 via 192.168.50.2
- 192.168.10.0 via 192.168.50.2
- 192.168.20.0 via 192.168.50.2
- 192.168.30.0 via 192.168.50.2
And I do almost the same for the others routers, what I want to know is if there is an easier way to do this, for example something like this:
R1:
- R1 -> R3 -> R4 -> R5 -> R6 -> LAN networks
I mean... instead of adding all my networks to my routing table just adding the next router network, or another easier way to do this.