Hi Experts,
I am a CCNA student. I have build a small scenario on my lab for practicing static routing. Here is my topology diagram.
(Lo0)R1 (eth0) ----------- (eth0) R2 (eth1) --------------- (eth0) R3 (Lo0)
I am unable to ping from R1's loopback0 to R3's loopback0, not getting any response only .......... to the below command i.e.
R1# ping 3.3.3.3
Here is the configuration on these routers
R1:
interface eth0
ip address 10.0.0.1 255.255.255.0
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
ip route 20.0.0.0 255.255.255.0 10.0.0.2
R2:
interface eth0
ip address 10.0.0.2 255.255.255.0
!
interface eth1
ip address 20.0.0.2 255.255.255.0
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
ip route 1.1.1.1 255.255.255.255 10.0.0.1
ip route 3.3.3.3 255.255.255.255 20.0.0.3
R3:
interface eth0
ip address 20.0.0.3 255.255.255.0
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
ip route 10.0.0.0 255.255.255.0 20.0.0.2
Please help, I am not sure why this is not responding.
Regards,
Ram
Hey buddy,
Whenever you try to ping from loopback you should take loopback as a source only then you will find result successful. Here in your case use this command instead.
R1# ping 3.3.3.3 source lo0
You can also write it as (replace lo0 with its IP address)
R1# ping 3.3.3.3 source 1.1.1.1
Hope this will help.
Hey buddy,
Whenever you try to ping from loopback you should take loopback as a source only then you will find result successful. Here in your case use this command ...
Thanks Aadharsh for correcting me, I am now using source keyword in the ping command but it is still not able to ping from R1's lo0 to R3's lo0
R1# ping 3.3.3.3 source lo0
............................................................
...........................................................
Hi Aadharsh,
Can you please respond to my query? I am stuck at this point and will not be able to move further until this is resolved.
Regards,
Ram
Hey buddy, sorry for the late reply.
I saw your configuration, static routes are not correctly configured on R1 and R3. Please revise your concepts of static routing. Here is what you should correct in this scenario.
On R1, there should be a static route to R3's lo0 pointing towards R2 and similarly on R3 there should be a static route to R1's lo0 for reverse traffic pointing towards R2. Also remove other static routes from R1 and R2.
on R1:
ip route 3.3.3.3 255.255.255.255 10.0.0.2
no ip route 20.0.0.0 255.255.255.0 10.0.0.2
on R2:
ip route 3.3.3.3 255.255.255.255 20.0.0.3
ip route 1.1.1.1 255.255.255.255 10.0.0.1
On R3:
ip route 1.1.1.1 255.255.255.255 20.0.0.2
no ip route 10.0.0.0 255.255.255.0 20.0.0.2
Please try above and your will get successful ping response from R1's lo0 to R3's lo0. Hope this will help.
Hey buddy, sorry for the late reply.
I saw your configuration, static routes are not correctly configured on R1 and R3. Please revise your concepts of static routing. Here is what ...
Yes it started pinging from R1's lo0 to R3's lo0 after adding route to R3's lo0 on R1 and adding route to R1'2 lo0 on R3.
Thank you so much! I think you are right at the moment I need to revise routing concepts.