Solved

Traceroute Question

Posted on 2009-04-09
9
373 Views
Last Modified: 2012-05-06
I do a trace route to an address on a switch called S1

From R1 the traceroute shows R2 - R3 - S1 (works)
From R2 the traceroute shows R3 and then it gets stuck
From R3 the traceroute shows S1  (works)

Same address:
Ping from R1: OK!
Ping from R2: fails
Ping from R3: OK!

I'm a networking newbie and I don't understand how a traceroute that goes thru R2 works but if initiated from R2 it doesn't work.

What could account for that behavior?  
0
Comment
Question by:MajorBigDeal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 5

Expert Comment

by:ionut_mir
ID: 24113653
It seems like the switch doesn't "know" how to reach the IP address of R2.
The trace goes through R2 but with R1's source IP address.

Check routing table (if it has) on S1. Or put a route so that any packet generated by the S1 to "know" how to get to R2.
If you have a default gateway on S1 pointing to R3, than check R3's routing table.
0
 
LVL 11

Author Comment

by:MajorBigDeal
ID: 24114110
Sorry, I'm really confused.  Do you mean that R2 doesn't know how to reach the switch? Or maybe I'm missing a basic concept.  

I'm starting at R1 then it goes to R2 and then to R3 and then to the switch (S1).  So doesn't that mean that R2 must know how to get to S1?

But if I start at R2, it doesn't know.
0
 
LVL 5

Expert Comment

by:ionut_mir
ID: 24114135
When you are starting the trace at R1, the packet leaves the R1 with a source IP address which never changes (unless a nat, but I doubt it). It reaches R2 (this router responds with an echo reply), and then the packet travels away to R3 router - the source IP address is the same (R1's address). When it receives the packet S1 knows how to get to R1.

But when you are starting at R2 , on the way back the switch doesn't know how to get to R2.

Try to follow, step-by-step, the packet on his way to the switch, and the way back as well. Check if at any point the device has an way to the destination address.

I think that the switch doesn't have a route to R2. I hope I am not mistaking!
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 11

Author Comment

by:MajorBigDeal
ID: 24114325
Ah, thank you that makes more sense now.

So, if I am on S1 I should not be able to ping R2, is that true?

I can't check for another 9 hours but the reason I ask is that I think I am able to ping R2 from S1.
0
 
LVL 5

Expert Comment

by:ionut_mir
ID: 24114616
This is my guess, yes.

If the switch can ping R2 then you should check a little more carefully the entire path of access-lists or any other causes that could prevent icmp packets to get to S1.

Good luck!
0
 
LVL 11

Author Comment

by:MajorBigDeal
ID: 24118853
RIght, I was just able to test and S1 can ping R2.  

So what your are saying is that an access-list could prevent a ping from originating on R2 while allowing it to traverse R2? I'll look again keeping that in mind.  Please let me know if that is not what you are saying.
0
 
LVL 11

Author Comment

by:MajorBigDeal
ID: 24119147
I don;t see any access-lists applied to any interfaces.  There is a vlan though.
0
 
LVL 5

Accepted Solution

by:
ionut_mir earned 250 total points
ID: 24121528
It is a little bit odd what is happening... you can't ping S1 from R2 but you can ping R2 from S1.
If it is possible, try to post some configs that you consider relevant, and a little drawing of your network, maybe we are missing something here...
0
 
LVL 11

Author Comment

by:MajorBigDeal
ID: 24181698
Yes, I'm sure we are missing something here and I appreciate your willingness to help.  This has now become the problem of someone much more experienced in networking than I and he is also having difficulty. Anyway, I'm moving on.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question