cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
3
Replies

Static Routing

hs08
VIP
VIP

I have 2 static routing below

ip route 10.0.0.0 255.0.0.0 10.103.200.253 2
ip route 10.103.202.0 255.255.255.0 10.103.155.1

Why traffic to 10.103.202.2 going to 10.103.200.253 and not via 10.103.155.1?

Here result when execute show ip route 10.103.202.2

CS1#sh ip route 10.103.202.2
Routing entry for 10.0.0.0/8
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* 10.103.200.253
Route metric is 0, traffic share count is 1

 

3 Replies 3

10.103.155.1 <<- next hop reachable via ip route 10.0.0.0 255.0.0.0 10.103.200.253 2

Are you sure you have direct connect IP of 10.103.155.1

Hello,

Can you provide the output of the "show ip route" command? Are both static routes installed in the routing table? You may need to check your 10.103.155.1 address. Is it reachable or is the interface associated with it shut down?

 

-David

Hello

The traffic to 10.103.202.2 is taking the 10.0.0.0/8 route instead of the more specific 10.103.202.0/24 route because: the /24 static route is not active in the routing table (or unreachable )

you can check it #show ip rout

Thanks!