LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2014, 10:53 AM   #1
bill_nimmo
LQ Newbie
 
Registered: Nov 2014
Posts: 20

Rep: Reputation: Disabled
traceroute reaches different destination


Hello All,

I am fairly new to using traceroute. I work on a project where multiple clients send messages to one server via TCP/IP (programs are written in C). The network path between those clients and the server varies by client. In many instances, I am seeing 0 bytes read on the socket from a particular client. E.g, there is a lot of data getting lost (not received by the server).

In trying to debug, I have been using traceoute (traceoute -T). In many of the cases, I am seeing traceroute complete (successfully?) at a different IP then the one that I specified. In fact, for most of those client destinations, traceroute completes at the same IP. There is some delay and a few asterisks are displayed before traceroute finishes.

So, if I am running a traceroute -T from 111.222.333.444 to 555.777.888.999 I would see output something like

1. 111.222.333.444 x ms
2. 3.44.55.66 xms
..........
10. 555.444.333.22 *


that same IP (in this case, 555.444.333.22) is the last hop shown for any of the clients I am trying to run the traceroute to. Is this an indication of a problem? Or am I misunderstanding the output of traceroute?

I appreciate any input.

thanks,
Bill
 
Old 11-05-2014, 11:29 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
You are not reaching the server you want. If the whole network involved is inside your organisation someone there should be able to solve it by adding routes somewhere.
 
Old 11-05-2014, 02:49 PM   #3
bill_nimmo
LQ Newbie
 
Registered: Nov 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thank you

Thank you for the response. I also noticed something just now towards the end of the traceroute output. Right before printing that last IP I see an '!X'. According to documentation this means 'Communication Administratively Prohibited'. Does this mean I am being blocked at a firewall somewhere prior to reaching my intended destination? If that is the case, what other options do I have? I noticed in documentation that I can specify a port number (80 is the default I believe). Any ideas appreciated.

thanks,
Bill
 
Old 11-05-2014, 03:39 PM   #4
bill_nimmo
LQ Newbie
 
Registered: Nov 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Answer my own question, I think

I followed up on my last post and tried running a traceroute to a specific 'port number'. In that particular case, I got through to the destination. When I used the default port number (e.g., ran traceroute without the '-p' option) the trace stopped before reaching the destination. The only thing I can deduce from this is that I hit some router somewhere that disallowed traffic on the default port??????

thanks,
Bill
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] match source pattern in destination and substitute in destination usin AWK 123raajesh Linux - Software 7 11-13-2013 04:22 AM
traceroute for directly connected node (next hop itself is destination) madhavb Linux - Networking 1 03-20-2013 12:15 PM
LXer: Gnash Flash player reaches milestone, not destination LXer Syndicated Linux News 0 03-19-2008 03:30 AM
destination unavailable W/ vpn. All other net destination o.k. MikeOfAustin Linux - Networking 1 04-07-2007 04:42 PM
traceroute command AND repeating the destination in output dan99 Linux - Networking 1 01-22-2005 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration