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
traceroute -T w.x.y.z

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

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.


Submit a Comment

Your email address will not be published.

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...