02-21-2025 08:13 AM
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
02-21-2025 08:21 AM
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
02-21-2025 08:31 AM
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
02-21-2025 09:24 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide