Name

tracert

Synopsis

Traces the route from the local machine to a remote host.

Syntax

tracert [-d] [-h maxhops] [-j hostlist] [-w msec] remotehost

Options

-d

Command to not resolve IP addresses into hostnames

-h maxhops

Maximum number of hops for the trace

-j hostlist

Loose source route along the list of hosts

-w msec

Timeout for replies in milliseconds

remotehost

IP address or DNS name of host at remote end of route

Examples

Trace route from local machine to www.umanitoba.ca (my alma mater):

                     tracert www.umanitoba.ca
Tracing route to spica.cc.umanitoba.ca [130.179.16.50] over a maximum of 30 hops:
1   120 ms   281 ms   140 ms  wnpgas01.mts.net [205.200.52.1]
2   121 ms   150 ms   130 ms  wnpgbr00-f00-303.mts.net [205.200.52.7]
3   131 ms   120 ms   200 ms  wnpgbr01-f000-101.mts.net [205.200.28.66]
4   140 ms   110 ms   140 ms  wnpgin-c14out.mts.net [205.200.27.54]
5   120 ms   150 ms   140 ms  207.161.242.34
6   120 ms   141 ms   130 ms  atrouter.cc.umanitoba.ca [207.161.242.18]
7   120 ms   131 ms   140 ms  bbrouter.cc.umanitoba.ca [130.179.0.1]
8   140 ms   140 ms   150 ms  spica.cc.umanitoba.ca [130.179.16.50]
Trace complete.

Determine route to Beijing University in China:

                     tracert www.pku.edu.cn -d Tracing route to sun1000e.pku.edu.cn [202.112.7.12] over a maximum of 30 hops: 1 121 ms 130 ms 100 ms 205.200.52.1 2 110 ms 111 ms 110 ms 205.200.52.7 3 120 ms 110 ms 110 ms 205.200.28.66 4 110 ms 100 ms 120 ms 206.108.110.5 5 100 ms 120 ms 120 ms 206.108.102.81 6 130 ms 131 ms 150 ms 206.108.98.85 7 130 ms 140 ms 141 ms 206.108.98.50 8 130 ms ...

Get Windows 2000 Administration in a Nutshell 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.