Traceroute doesn't work

Traceroute doesn't work

Post by Charles A. Burg » Mon, 24 Feb 2003 04:26:56



I have three computers at home running different versions of Mandrake, all
behind a NAT device (D-Link DI-701), and none of them can run a traceroute
properly.  Traceroute correctly resolves the IP address of the remote host,
but for the steps in between, only returns
1 * * *
2 * * *
3 * * *
and so on.  I know it's not a network problem, because all Windows computers
on my network trace just fine.  One machine dual-boots Win2K and Mdk9.0,
and traces correctly in Windows but not in Linux.  Any ides why?  Also, why
do I have to be root in order to run traceroute?  Can that be changed?

Charles

 
 
 

Traceroute doesn't work

Post by CTE » Mon, 24 Feb 2003 05:34:47



> I have three computers at home running different versions of Mandrake, all
> behind a NAT device (D-Link DI-701), and none of them can run a traceroute
> properly.  Traceroute correctly resolves the IP address of the remote host,
> but for the steps in between, only returns
> 1 * * *
> 2 * * *
> 3 * * *
> and so on.  I know it's not a network problem, because all Windows computers
> on my network trace just fine.  One machine dual-boots Win2K and Mdk9.0,
> and traces correctly in Windows but not in Linux.  Any ides why?  Also, why
> do I have to be root in order to run traceroute?  Can that be changed?

> Charles

Is ICMP type 11 (i think) allowed?
I read it is necessary to do a traceroute.

--
Chris Engel
CTE Net
http://ctenet.cjb.net/


 
 
 

Traceroute doesn't work

Post by Sybren Stuve » Mon, 24 Feb 2003 05:52:26


Charles A. Burge enlightened us with:

Quote:> I have three computers at home running different versions of
> Mandrake, all behind a NAT device (D-Link DI-701), and none of them
> can run a traceroute properly.  Traceroute correctly resolves the IP
> address of the remote host, but for the steps in between, only
> returns 1 * * * 2 * * * 3 * * * and so on.

Have you tried 'traceroute -n'?

Quote:> I know it's not a network problem, because all Windows computers on
> my network trace just fine.  One machine dual-boots Win2K and Mdk9.0,
> and traces correctly in Windows but not in Linux.  Any ides why?

Running a local firewall perhaps?

Quote:> Also, why do I have to be root in order to run traceroute?

No

Quote:> Can that be changed?

No

Sybren
--
| Somebody ought to cross ball point pens with coat hangers so that |
| the pens will multiply instead of disappear.                      |
\-------------------------------------------------------------------/
If you have to use Outlook, fix it: http://jump.to/oe-quotefix

 
 
 

Traceroute doesn't work

Post by Hal Burgis » Mon, 24 Feb 2003 09:02:42


On Sat, 22 Feb 2003 19:26:56 GMT, Charles A. Burge


>  Any ides why?  

Perhaps it is trying the wrong interface.

--
Hal Burgiss

 
 
 

Traceroute doesn't work

Post by Andrew Hoo » Mon, 24 Feb 2003 14:30:13




>> I have three computers at home running different versions of Mandrake,
>> all behind a NAT device (D-Link DI-701), and none of them can run a
>> traceroute properly.  Traceroute correctly resolves the IP address of
>> the remote host, but for the steps in between, only returns 1 * * * 2 *
>> * *
>> 3 * * *
>> and so on.  I know it's not a network problem, because all Windows
>> computers on my network trace just fine.  One machine dual-boots Win2K
>> and Mdk9.0, and traces correctly in Windows but not in Linux.  Any ides
>> why?  Also, why do I have to be root in order to run traceroute?  Can
>> that be changed?

>> Charles

> Is ICMP type 11 (i think) allowed?
> I read it is necessary to do a traceroute.

*nix versions of traceroute use UDP to an unlikely port.
Some of these let you use ICMP, but it is not the default.

--
Avoid reality at all costs.
$email =~ s/oz$/au/o;

 
 
 

Traceroute doesn't work

Post by Adam » Mon, 24 Feb 2003 19:22:38



Quote:> I have three computers at home running different versions of Mandrake, all
> behind a NAT device (D-Link DI-701), and none of them can run a traceroute
> properly.  Traceroute correctly resolves the IP address of the remote
> host, but for the steps in between, only returns
> 1 * * *
> 2 * * *
> 3 * * *
> and so on.  I know it's not a network problem, because all Windows
> computers
> on my network trace just fine.  One machine dual-boots Win2K and Mdk9.0,
> and traces correctly in Windows but not in Linux.  Any ides why?  Also,
> why
> do I have to be root in order to run traceroute?  Can that be changed?

I fixed this by putting the following in ~/.bashrc:

alias traceroute='/usr/sbin/traceroute -I'

The -I option causes the command to use ICMP instead of UDP.

I think you probably don't have to be root to run traceroute but the shell
can't find the command unless you specify the path. /usr/sbin/ is normally
in root's PATH but not a user's.

 
 
 

Traceroute doesn't work

Post by Bill Marcu » Tue, 25 Feb 2003 01:45:38


On Sat, 22 Feb 2003 19:26:56 GMT, Charles A. Burge

> and traces correctly in Windows but not in Linux.  Any ides why?  Also, why
> do I have to be root in order to run traceroute?  Can that be changed?

use /sbin/traceroute or add /sbin to your PATH.
 
 
 

Traceroute doesn't work

Post by Charles A. Burg » Tue, 25 Feb 2003 01:52:46




>> I have three computers at home running different versions of Mandrake,
>> all behind a NAT device (D-Link DI-701), and none of them can run a
>> traceroute
>> properly.  Traceroute correctly resolves the IP address of the remote
>> host, but for the steps in between, only returns
>> 1 * * *
>> 2 * * *
>> 3 * * *
>> and so on.  I know it's not a network problem, because all Windows
>> computers
>> on my network trace just fine.  One machine dual-boots Win2K and Mdk9.0,
>> and traces correctly in Windows but not in Linux.  Any ides why?  Also,
>> why
>> do I have to be root in order to run traceroute?  Can that be changed?

> I fixed this by putting the following in ~/.bashrc:

> alias traceroute='/usr/sbin/traceroute -I'

> The -I option causes the command to use ICMP instead of UDP.

> I think you probably don't have to be root to run traceroute but the shell
> can't find the command unless you specify the path. /usr/sbin/ is normally
> in root's PATH but not a user's.

That solved both issues for me.  Thank you very much!

Charles

 
 
 

Traceroute doesn't work

Post by Andrew Hoo » Tue, 25 Feb 2003 18:16:17




>> I have three computers at home running different versions of Mandrake,
>> all behind a NAT device (D-Link DI-701), and none of them can run a
>> traceroute properly.  Traceroute correctly resolves the IP address of
>> the remote host, but for the steps in between, only returns 1 * * * 2 *
>> * *
>> 3 * * *
>> and so on.  I know it's not a network problem, because all Windows
>> computers on my network trace just fine.  One machine dual-boots Win2K
>> and Mdk9.0, and traces correctly in Windows but not in Linux.  Any ides
>> why?  Also, why do I have to be root in order to run traceroute?  Can
>> that be changed?

>> Charles

> Is ICMP type 11 (i think) allowed?
> I read it is necessary to do a traceroute.

Yes, ICMP_TIME_EXCEEDED packets must be allowed inbound.

I'd think you should allow all ICMPs inbound except maybe ICMP_REDIRECT
(5) ICMP_ECHO (8) ICMP_INFO_REQUEST (15) ICMP_ADDRESS (17)

--
Avoid reality at all costs.
$email =~ s/oz$/au/o;

 
 
 

1. slow dsl/traceroute doesn't work

Hi,

I'm using SuSE Linux 8.2. My computer is connected to a router
(DrayTek 2500) which is to connected to the internet with an internal
dsl modem. The connection works great with win95, but it is kinda slow
on linux (7-10k/sec). Additionally, traceroute seems not to work
properly. Output:


traceroute to www.google.com (66.102.9.104), 30 hops max, 40 byte
packets
 1  192.168.1.1  0.445 ms   0.413 ms   0.367 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *

192.168.1.1 is my router, there are never entries after it. I guess
something is not configured the way it should be, but I don't know
what (linux newbie...). Do you have any ideas?


domain WG
nameserver 194.25.2.129

Red:/home/nico # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref  
Use Iface
192.168.1.0     *               255.255.255.0   U     0      0      
0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0      
0 eth0

I hope you can help me :)

TIA,
Nico

2. closing connections from root

3. Ping works, traceroute doesn't

4. Corel Linux Sucks! BeOS Rules!

5. Traceroute doesn't work?

6. transparent www-junkbuster-squid chain problems

7. Traceroute doesn't work

8. qpopper bug (?)

9. Traceroute works, ping doesn't....

10. traceroute doesn't work as a normal user

11. Help. Traceroute doesn't work?!?

12. Re. bffcreate -X doesn't work Re: bffcreate -X Doesn't Work

13. PPP doesn't die, it just doesn't work anymore