LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   traceroute (https://www.linuxquestions.org/questions/linux-newbie-8/traceroute-4175494969/)

subodhsk 02-14-2014 06:11 PM

traceroute
 
i typed traceroute google.com. but it gives me output on first lin(first hop)then onwards it shows stars on each line.unable to see ip addresses after first one.
what to do if i want to see all ip addresses upto destination?

John VV 02-14-2014 06:17 PM

please read the instructions on using that program

start with
Code:

traceroute  --help
---- then -----
man traceroute

a link from google
http://www.mediacollege.com/internet...raceroute.html

jlinkels 02-14-2014 09:13 PM

Usually it means that one of the routers does not permit ICMP traffic. You won't see anything beyond that router. That is, if you can connect to the remote host and you see the asterisks, then there is an ICMP block.

I you couldn't connect to the remote host in the first place then your connection might really be broken.

If you follow the manual, look for the chapter "Methods" and try something different like "-T" (tcp).

And sometimes you simply can not do a traceroute.

jlinkels

subodhsk 02-20-2014 12:27 PM

i am able to execute tracert in xp and it gives proper output.But geting * on all except first line.
If in XP i am getting output,what shall i do to get output of traceroute in ubuntu LTS?

kooru 02-21-2014 01:07 AM

Quote:

Originally Posted by subodhsk (Post 5121768)
i am able to execute tracert in xp and it gives proper output.But geting * on all except first line.
If in XP i am getting output,what shall i do to get output of traceroute in ubuntu LTS?

The answer should be because for default traceroute uses UDP packages, tracert uses ICMP package.
try to use traceroute with -I option


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