Friday, July 13, 2007

more trace route command alternatives

Here are alternatives on tracing a host or IP address. Basically, these linux commands print every hops taken going to a particular host or ip address - routes.

Am going to use 198.6.1.2 as the host we want to trace.

# trace 198.6.1.2

Basically prints the trace hops going to host 198.6.1.2

# traceroute 198.6.1.2

# tracepath 198.6.1.2

does tracing with MTUs discovery, and for IPv6

# tracepath6 198.6.1.2

# mtr 198.6.1.2

mtr uses the combination of traceroute and ping commands and shows more details such as packet loss,average/best/last and more latency stats.

You can make use of other advanced command line parameter these commands support.

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy