TRACERT: Tracking Packets

If you can’t PING a remote host, it could be that your echo packets are getting held up along the way. To find out, you can use the TRACERT (trace route) command:

tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

-d

Specifies not to resolve IP addresses to hostnames.

-h maximum_hops

Specifies the maximum number of hops to search for the target_name. (The default is 30.)

-j host-list

Specifies loose source route along the host-list.

-w timeout

Waits the number of milliseconds specified by timeout for each reply.

target_name

Specifies the hostname of the destination computer.

TRACERT operates by sending ICMP echo packets with varying TTL values. Recall that TTL places a limit on the number of hops ...

Get Windows 8 In Depth now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.