Name
Tracert —
\windows\system32\tracert.exe
Synopsis
Trace the route of communication across the Internet.
To Open
Command Prompt →
tracert
Usage
tracert [-d] [-hmax_hops
] [-jlist
] [-wtimeout
]target
Description
The Internet is a decentralized interconnection of computers. This means that there is rarely, if ever, a direct connection between two computers on the Internet. Instead, information is transferred across several, if not dozens, of computers to make it from one place to another. The further the geographical distance between two machines, the greater the likelihood that there will be more hubs and other intermediate computers along the way. Tracert is used to list all the computers encountered on the journey from one computer to another.
Type the following at a command prompt (while connected to the Internet) to trace the route from your computer to microsoft.com:
tracert microsoft.com
Tracert accepts the following options:
-
target
The name or IP address of the computer to contact.
-
-d
If you specify an IP address, Tracert will attempt to resolve the host name (using NSLookup). Include the
-d
option to skip this step.-
-h
max_hops
Specifies the maximum number of “hops” (servers along the route) to display before giving up; the default is 30 hops.
-
-j
list
Loosely imposes a route to follow, where
list
is a list of hosts.-
-w
timeout
Sets the amount of time to wait (in milliseconds) for each reply.
Notes
Tracert has many uses, but probably the most valuable on a day-to-day basis ...
Get Windows XP 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.