I have a lab with different networks and on one network I have a layer 2 and layer 3 switch, the layer 3 switch is directly connected to a router. I have a few different vlans on this network. All vlans can communicate with each other and the switches and router, vice versa etc.
I can ping externally to another router on another network form this layer 3 switch (going accross many routers even) with no problem. However, I cannot ping the internal clients in that remote network from the layer 3 switch, just the router. Why?
Also from the from the layer 2 switch on this "problem network" and the computers on the vlans on this same network I cant ping to anything past their own router on their network, but from the layer 3 switch I can as explained before. What is it that is preventing replies when I ping externally?
There are no acl's on any of the routers.
Solved! Go to Solution.
In the router I have I already had "ip route 10.1.0.0 255.255.255.0 10.1.60.1" and it wasn't working and now I added:
R1(config)#ip route 10.1.20.0 255.255.255.0 10.1.60.1
R1(config)#ip route 10.1.30.0 255.255.255.0 10.1.60.1
R1(config)#ip route 10.1.10.0 255.255.255.0 10.1.60.1
R1(config)#ip route 10.1.40.0 255.255.255.0 10.1.60.1
and it still doesn't work.
10.1.60.1 is the interface of the L3 switch that connects to the router.
Type escape sequence to abort.
Tracing the route to 10.7.1.3
1 10.1.60.2 0 msec 0 msec 0 msec
2 188.8.131.52 0 msec 1 msec 1 msec
3 184.108.40.206 5 msec 2 msec 1 msec
4 220.127.116.11 4 msec 2 msec 10 msec
5 18.104.22.168 4 msec 2 msec 2 msec
6 22.214.171.124 3 msec 4 msec 6 msec
7 126.96.36.199 3 msec 5 msec 5 msec
8 10.7.1.3 7 msec 5 msec 6 msec
When I do a tracert on the computer to the sam eip it only gets as far as the router (2 hops) then times out for the rest. A diagram of the network, I wouldnt know where to begin seeing how many routers are in between.
on the routers peers it has the route of the L3 network but not the networks (vlans) behind them. I dont know whats preventing those subnets form not being able to ping while the L3 switch can. I woudl think it has to be either the L3 switch oe the router but I've done all the routes I can think of. Not sure here.
Not sure i fully understand but you have added routes to R1 for the subnets routed on the L3 switch. These routes need to be passed to all the other routers in your network or else the packets cannot be routed back to the L3 switch ie. you say -
on the routers peers it has the route of the L3 network but not the networks (vlans) behind them.
If the routers (other than R1) do not know how to get to the subnets on the L3 switch then a ping/traceroute will never work. You either need to add static routes to all routers for these subnets or run a dynamic routing protocol and advertise those subnets from either the L3 switch or R1.
The fact that you added statics to R1 suggests you are not running a dynamic routing protocol ?
Yes, I am running dynamic routing, ospf. Even if on R1 I add those subnets using ospf they dont take effect.
R1(config)#router ospf 1
R1(config-router)#network 10.1.30.0 0.0.0.255 area 0
R1(config-router)#network 10.1.40.0 0.0.0.255 area 0
R1(config-router)#network 10.1.20.0 0.0.0.255 area 0
R1(config-router)#network 10.1.10.0 0.0.0.255 area 0
R1#show ip route ospf
10.0.0.0/8 is variably subnetted, 13 subnets, 3 masks
O 10.4.1.0 [110/193] via 188.8.131.52, 00:02:19, Serial0/1/0
O 10.5.1.0 [110/321] via 184.108.40.206, 00:02:19, Serial0/1/0
O 10.7.1.0 [110/385] via 220.127.116.11, 00:02:19, Serial0/1/0
O 10.8.1.0 [110/449] via 18.104.22.168, 00:02:19, Serial0/1/0
O 10.9.1.0 [110/193] via 22.214.171.124, 00:02:19, Serial0/1/0
126.96.36.199/29 is subnetted, 1 subnets
O 188.8.131.52 [110/128] via 184.108.40.206, 00:02:29, Serial0/1/0
220.127.116.11/29 is subnetted, 1 subnets
O 18.104.22.168 [110/192] via 22.214.171.124, 00:02:29, Serial0/1/0
126.96.36.199/29 is subnetted, 1 subnets
O 188.8.131.52 [110/256] via 184.108.40.206, 00:02:19, Serial0/1/0
220.127.116.11/29 is subnetted, 1 subnets
O 18.104.22.168 [110/320] via 22.214.171.124, 00:02:19, Serial0/1/0
126.96.36.199/29 is subnetted, 1 subnets
O 188.8.131.52 [110/384] via 184.108.40.206, 00:02:19, Serial0/1/0
220.127.116.11/29 is subnetted, 1 subnets
O 18.104.22.168 [110/448] via 22.214.171.124, 00:02:19, Serial0/1/0
It seems that I can ping other hosts (receive replies) from a host directly connected behind the router (no switches involved, router connected to laptop), then I can ping anything, networks that have the L3 switch in front of the subnets, I cant ping past.
Message was edited by: tolinrome tolinrome