02-25-2016 04:25 AM - edited 03-08-2019 04:43 AM
hello guys,
consider the below topology. Why the hell I'm unable to ping Router 1's Gig0/0 interface (IP 192.168.0.10) when I'm able to ping Router 0's Gig 0/1 interface (192.168.0.1) ?
Looking forward hearing from you !
Best Regards
Adam
02-25-2016 05:30 AM
Adam
With routing you always need to check the path both ways.
I suspect if you check R1 you will find it does not have a route for the PC's subnet.
Jon
02-25-2016 06:20 AM
Thank you both for looking in to this!
But shouldn't I be still able to see packets on Router 0's Gig 0/1 interface? I mean the 192.168.0.0 is a directly connected network to both R1 and R0. So shouldn't the PING requests make it's way at least one way from PC to R1 ?
Thank you
Adam
02-25-2016 06:26 AM
Not sure what you are asking because you said you could ping 192.168.0.1 from the PC.
When you ping R1 from your PC the packets will get to R1 but when R1 does a route lookup for the PC's IP address it won't have one so it can't send the return packets.
Is that what you were asking ?
Jon
02-25-2016 07:02 AM
"When you ping R1 from your PC the packets will get to R1 but when R1 does a route lookup for the PC's IP address it won't have one so it can't send the return packets."
But why I'm not able to see the packets on the Router 0's G0/1 interface when pinging from PC the Router 1's Gig0/0 interface ?
02-25-2016 07:12 AM
What exactly do you mean by see the packets.
You can ping that interface, do you mean you are trying to capture the packets ?
Jon
02-25-2016 07:47 AM
Yes, I'm pinging Router 1 from PC and sniffing with Wireshark Router 0's Gig0/1 interface and I don't see any ICMP packets exiting it (I test it in GNS3 even though the picture is from Packet Tracer)
Adam
02-25-2016 07:49 AM
Okay, well you should see packets going to R1.
On R1 -
"debug ip packet"
and then ping from the PC.
Jon
02-25-2016 12:58 PM
Hello guys,
I've started just now gns3 and loaded the lab again and ... this time I could see the pings, but yesterday I didn't capture any ICMP packets and this confused me and was the trigger to ask the questions!
Thank you to you both for taking time to help me with this. Your help is very appreciated.
BR
Adam
02-25-2016 08:25 AM
As John said run the debug ip packet on router 1 followed by ping from pc.
you should see output like below:-
02-25-2016 07:33 AM
Adam,
Its simple. Your pc has the DG configured hence it will be able to reach R0 connected interfaces.
example:
192.168.0.1--R0---10.0.0.1
PC will be able to ping 10.0.0.1 & 192.168.0.1
PC will not be able to ping 192.168.0.10 bcz it belongs to other router which is R1.
Reason: R1 doesnt have route back. R1 needs to have route back to reach the 10.x network. R1 will only be able to ping 192.168.0.10 and it will not be able to reach 10.0.0.1 which is configured on R1 other interface. Hence you need to have the route to configured on R1 to reach the 10.x network.
Hope this clarifies a bit. In case not please let us know.
Regards
Inayath
02-25-2016 05:40 AM
Adam,
Here is what you need to do.
1- On PC check the default gateway to be 10.0.0.1 ( To verfiy click on laptop -Desktop--ip configuration and make sure you see the default gateway address configured here).
Once this is done you are good at laptop side.
2- Now coming down to router 1 you need to have route to reach 10.x network.
configure:
ip route 10.0.0.0 255.255.255.255 192.168.0.1
You should be good to go.
REgards
Inayath
**Please do not forget to rate the post if helpfull**
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
Router1#debug ip pack
Packet debugging is on
Router1#
IP: tableid=0, s=10.0.0.10 (FastEthernet0/0), d=192.168.0.10 (FastEthernet0/0), routed via RIB
IP: s=10.0.0.10 (FastEthernet0/0), d=192.168.0.10 (FastEthernet0/0), len 128, rcvd 3
IP: s=192.168.0.10 (local), d=10.0.0.10 len 128, unroutable
IP: tableid=0, s=10.0.0.10 (FastEthernet0/0), d=192.168.0.10 (FastEthernet0/0), routed via RIB
IP: s=10.0.0.10 (FastEthernet0/0), d=192.168.0.10 (FastEthernet0/0), len 128, rcvd 3
IP: s=192.168.0.10 (local), d=10.0.0.10 len 128, unroutable
Router1#
IP: tableid=0, s=10.0.0.10 (FastEthernet0/0), d=192.168.0.10 (FastEthernet0/0), routed via RIB
HTH
Regards
Inayath