Home NT Commands
NT Syntax

TRACERT

Trace Route - Find the IP address of any remote host. TRACERT is useful for troubleshooting large networks where several paths can be taken to arrive at the same point, or where many intermediate systems (routers or bridges) are involved.

syntax
TRACERT [options] target_name key target_name The HTTP or UNC name of the host Options: -d Do not resolve addresses to hostnames. (avoids performing a DNS lookup) -h max_hops Maximum number of hops to search for target. -j host-list Trace route along given host-list. -w timeout Wait timeout milliseconds for each reply.

The functionality of TRACERT is the same under all versions of windows but the output is cosmetically improved under XP.

Tracert uses the IP TTL field and ICMP error messages to determine the route from one host to another through a network. However, care must be taken when using this utility as it shows the optimal route, not necessarily the actual route. To be accurate, it is possible to ping from a UNIX machine back to the PC using the -R option to record the route taken - but only if the particular network devices support it.

Examples

 TRACERT www.doubleclick.net

 TRACERT 123.45.67.89

 TRACERT local_server


Get your kicks on ROUTE 66 - Jack Kerouac.


Related Commands:


NSLOOKUP - Name server lookup
PING - Test a network connection
PATHPING - Route Tracing tool (Windows 2000)
ROUTE - Manipulate network routing tables

Q162326 - Using TRACERT to Troubleshoot TCP/IP Problems
tip 4723 - A better description from JSIinc
TRACE.BAT - handy report on any given Internet address
tracert.com - trace routes from remote locations

Equivalent Linux BASH commands:

trace - Find the IP address of a remote host.



Simon Sheppard
SS64.com