Linux PING works but Traceroute doesn’t

Written by James McDonald

August 7, 2008

Just had an issue where traceroute w.x.y.z failed however ping w.x.y.z worked fine….

The fix:

traceroute -I w.x.y.z
or
traceroute -T w.x.y.z

Where w.x.y.z is the IP address of the remote host e.g. 10.22.34.8

By default the Linux traceroute was using UDP which must have been getting blocked by firewalling somewhere.

Changing to -I (Use ICMP ECHO for probes) or -T (Use TCP SYN for probes) seems to fix the problem.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using...

Scribus to PDF Print

Just using Scribus to design and print some lapel cards Regarding Scribus - It seems that the stable version will not...