LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-03-2010, 02:58 AM   #1
CapnStank
Member
 
Registered: Oct 2009
Distribution: Fedora, HPUX
Posts: 31

Rep: Reputation: 2
traceroute help


Hey everyone,

I'm trying to use traceroute to view hop count between my machine and a specified external host but no matter what I give to it, it provides me the same output:

Code:
[Graham@capnstank ~]$ traceroute google.com
traceroute to google.com (173.194.32.104), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1)  11.268 ms  11.993 ms  12.564 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
What am I doing wrong? Should I be disabling DNS caching? Is there a property I haven't set correctly?

Just a small FYI, but I dual boot this computer with Win7 and it's tracert works fine.
UPDATE: I also ran the command from a different network and it worked fine. I'm assuming I need a port forward then?

Last edited by CapnStank; 11-03-2010 at 05:25 PM.
 
Old 11-03-2010, 08:10 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
No, you need a firewall that's not dropping all ICMP.

Look into tcptraceroute, too.
 
1 members found this post helpful.
Old 11-03-2010, 08:39 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Since you are resolving the name (if dns) then we can assume that you do connect to the outside world too. You can use nslookup if you think the ip changed. And google may have many ip's.

Can we assume that you can access google from a browser?

Last edited by jefro; 11-03-2010 at 08:41 PM.
 
1 members found this post helpful.
Old 11-03-2010, 08:47 PM   #4
CapnStank
Member
 
Registered: Oct 2009
Distribution: Fedora, HPUX
Posts: 31

Original Poster
Rep: Reputation: 2
Thanks AlucardZero,

It looks like my router is a little too dumb to allow me to configure any ICMP rules on it so I'll have to find a workaround for my home network. I appreciate the answer .

In the mean time if anyone has experience configuring a Netgear WPN824v2 to allow ICMP requests that'd be just peachy
 
Old 11-03-2010, 08:50 PM   #5
CapnStank
Member
 
Registered: Oct 2009
Distribution: Fedora, HPUX
Posts: 31

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by jefro View Post
Since you are resolving the name (if dns) then we can assume that you do connect to the outside world too. You can use nslookup if you think the ip changed. And google may have many ip's.

Can we assume that you can access google from a browser?
Yes, my internet is working just fine.

I'm working on an application that takes the output from traceroute (or tracert on windows) and parses it to count hops as well as DNS servers contacted. I'm able to ping destinations and grab IPs my gateway/subnet etc. so it was just an issue with the traceroute.

On my Home network I get the results in my initial post but while at my university I get full results without error. The issue I am having is with my network configuration and not Linux afterall.

Thanks for your help though.
 
  


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 Rinish Linux - Networking 3 07-26-2006 04:52 AM
Using Traceroute lapthorn Linux - Networking 3 06-30-2004 06:39 AM
traceroute becky_starr Linux - Networking 1 03-17-2004 09:48 AM
Traceroute help sikandar Linux - Software 1 09-23-2003 01:15 AM
traceroute? prodigius Linux - Networking 11 10-29-2001 11:13 AM


All times are GMT -5. The time now is 10:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration