LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2014, 07:11 PM   #1
subodhsk
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
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?
 
Old 02-14-2014, 07:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
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
 
Old 02-14-2014, 10:13 PM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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
 
Old 02-20-2014, 01:27 PM   #4
subodhsk
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-21-2014, 02:07 AM   #5
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by subodhsk View Post
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

Last edited by kooru; 02-21-2014 at 02:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
traceroute? prodigius Linux - Networking 12 02-01-2015 03:52 PM
[SOLVED] What exactly does traceroute do? linuxvstheworld Linux - Newbie 3 08-30-2012 08:50 PM
[SOLVED] What exactly does traceroute do? linuxvstheworld Linux - Networking 2 08-30-2012 02:08 PM
traceroute t0cs Linux - Newbie 2 03-30-2009 09:43 AM
Using Traceroute lapthorn Linux - Networking 3 06-30-2004 06:39 AM


All times are GMT -5. The time now is 09:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration