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
-doption to skip this step.-
-hmax_hops Specifies the maximum number of “hops” (servers along the route) to display before giving up; the default is 30 hops.
-
-jlist Loosely imposes a route to follow, where
listis a list of hosts.-
-wtimeout 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access