USD ($)
$
United States Dollar
India Rupee

Static routing is not working

By RAM KUMAR in 18 May 2023 | 03:15 pm
RAM KUMAR

RAM KUMAR

Student
Loyal User
Forums Top User
Posts: 4
Likes: 5
Member since: 16 May 2023

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




18 May 2023 | 03:15 pm
1 Likes
Aadharsh Gupta

Aadharsh Gupta

Student
Loyal User
Forums Top User
Posts: 6
Likes: 13
Member since: 14 May 2023

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.



18 May 2023 | 03:26 pm
3 Likes
RAM KUMAR

RAM KUMAR

Student
Loyal User
Forums Top User
Posts: 4
Likes: 5
Member since: 16 May 2023
quote-right
Reply to Aadharsh Gupta

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

............................................................

...........................................................



18 May 2023 | 04:46 pm
2 Likes
RAM KUMAR

RAM KUMAR

Student
Loyal User
Forums Top User
Posts: 4
Likes: 5
Member since: 16 May 2023

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

19 May 2023 | 01:16 am
1 Likes
Aadharsh Gupta

Aadharsh Gupta

Student
Loyal User
Forums Top User
Posts: 6
Likes: 13
Member since: 14 May 2023

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.

19 May 2023 | 09:35 am
2 Likes
RAM KUMAR

RAM KUMAR

Student
Loyal User
Forums Top User
Posts: 4
Likes: 5
Member since: 16 May 2023
quote-right
Reply to Aadharsh Gupta

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.  

19 May 2023 | 02:02 pm
1 Likes

Report

Please describe about the report short and clearly.

CCNA Training in Hindi!
CCNA Training in Hindi!
Boost Your Career with CCNA | Hindi Session | Starts 4th January | Live Classes
Day
Hr
Min
Sec
Book your seat