05-26-2008 07:39 PM - edited 03-05-2019 11:13 PM
Dear Sir,
I have the following commands in my 3560 switch:
ip classless
ip route 0.0.0.0 0.0.0.0 10.106.242.57
ip route 10.106.13.0 255.255.255.240 10.106.13.249
ip route 10.106.13.16 255.255.255.248 10.106.13.17
#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.106.242.57 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
S 10.106.13.0/28 [1/0] via 10.106.13.249
C 10.106.242.56/29 is directly connected, FastEthernet0/24
C 10.106.13.192/26 is directly connected, Vlan1
S* 0.0.0.0/0 [1/0] via 10.106.242.57
I need to access 10.106.13.20/29 and 10.106.13.21/29, but I cannot.
Please help. Thanks.
Solved! Go to Solution.
05-26-2008 07:54 PM
Joseph
The explanation of your situation is fairly simple. You have configured 3 static routes and 1 of them specifies a next hop addresses that the router does not know how to reach. Your route:
ip route 10.106.13.16 255.255.255.248 10.106.13.17
which would include the .20 and .21 specifies a next hop address of 10.106.13.17 and the router does not know how to reach that next hop address and so does not insert the static route into the routing table. If you specify a reachable next hop address then the .20 and .21 would be reachable.
HTH
Rick
05-26-2008 07:45 PM
It is because IP 10.106.13.17 is not in the routing table.
Can you provide a network topology?
HTH,
jerry
05-26-2008 07:54 PM
Joseph
The explanation of your situation is fairly simple. You have configured 3 static routes and 1 of them specifies a next hop addresses that the router does not know how to reach. Your route:
ip route 10.106.13.16 255.255.255.248 10.106.13.17
which would include the .20 and .21 specifies a next hop address of 10.106.13.17 and the router does not know how to reach that next hop address and so does not insert the static route into the routing table. If you specify a reachable next hop address then the .20 and .21 would be reachable.
HTH
Rick
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