Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 385
نمايش فراداده

tracert

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

Syntax

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

Options

-d

To speed things up, don't 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   140 ms   151 ms  206.108.97.21
9   180 ms   180 ms   241 ms  206.108.97.6
10   150 ms   130 ms   170 ms  207.45.208.133
11   290 ms   210 ms   211 ms  207.45.223.89
12   230 ms   220 ms   221 ms  207.45.223.174
13   180 ms   230 ms   211 ms  207.45.223.154
14   250 ms   201 ms   210 ms  207.45.214.190
15   791 ms   881 ms     *     202.112.61.222
16     *      801 ms   851 ms  202.112.36.194
17   781 ms   801 ms   801 ms  202.112.1.62
18     *      761 ms   801 ms  202.112.1.218
19   761 ms     *      802 ms  202.112.1.66
20   761 ms  1061 ms   902 ms  202.112.6.22
21   801 ms   781 ms   741 ms  202.112.6.194
22   821 ms   961 ms   871 ms  202.112.7.12
Trace complete.

The asterisks indicate ICMP Echo packets whose reply was not received in the timeout period (default is one second).

Notes

  • tracert is a troubleshooting tool used to identify failed or congested routers along a route.

  • Use the -d option to speed the trace by disabling DNS resolution.

See Also

pathping, ping