cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1414
Views
0
Helpful
2
Replies

Static Route on WAN Router

kbullard00
Level 1
Level 1

I have this network setup

LAN ----------- Rtr1------------Rtr2--------------WAN Rtr

I want to setup static routes to make this work.

My 3 networks are: 220.10.5.32 , 64, 96 / 28

My question is this. On the WAN Rtr to route to the two LAN networks will I need two different ip route commands since there's two networks or can it be done with just one?

ip route 220.10.5.32 255.255.255.240

and

ip route 220.10.5.64 255.255.255.240

I know dynamic routing would be the choice here but I want to use static.

Thanks in advance

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

To give really good answers we need to know a bit more about your network. You describe 3 subnets as /28 networks. 220.10.5.32 , 64, 96 / 28. So you have a subnet at 220.10.5.32/28. There is a subnet at 220.10.5.48/28 which you do not tell us about. Is it in the network somewhere? Do you care about it? Similarly after 220.10.5.64/28 there is subnet 220.10.5.80/28 and after 220.10.5.96 there is 220.10.5.112/28. Do you care about these subnets?

If you do not care about any of those subnets, then it would be possible to create a single static route on your WAN router that would forward to all 3 subnets. If the other subnets are anything that you do care about (and that would include the possibility to route to them if they were on the provider side of the WAN router) then you would need a specific /28 static route for each of the subnets.

If you know the topology of the network you can decide whether it is safe to use the single static route. Without knowing the details, the safe answer would be to use the 3 specific static routes.

HTH

Rick

HTH

Rick

View solution in original post

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

To give really good answers we need to know a bit more about your network. You describe 3 subnets as /28 networks. 220.10.5.32 , 64, 96 / 28. So you have a subnet at 220.10.5.32/28. There is a subnet at 220.10.5.48/28 which you do not tell us about. Is it in the network somewhere? Do you care about it? Similarly after 220.10.5.64/28 there is subnet 220.10.5.80/28 and after 220.10.5.96 there is 220.10.5.112/28. Do you care about these subnets?

If you do not care about any of those subnets, then it would be possible to create a single static route on your WAN router that would forward to all 3 subnets. If the other subnets are anything that you do care about (and that would include the possibility to route to them if they were on the provider side of the WAN router) then you would need a specific /28 static route for each of the subnets.

If you know the topology of the network you can decide whether it is safe to use the single static route. Without knowing the details, the safe answer would be to use the 3 specific static routes.

HTH

Rick

HTH

Rick

Youre right I should have put networks 220.10.5.16, 32 , 48 / 28.

Ok so I was not too far off thinking to use separate routes for each network.

thanks a bunch.