Re: Tracert in XP

From: Wesley Vogel (123WVogel955_at_comcast.net)
Date: 04/13/04


Date: Tue, 13 Apr 2004 22:41:41 GMT

Lois;

Make sure you aren't using the -d option >>>
[[Do not resolve addresses to hostnames.]]

To trace a path by using the tracert command
• Open Command Prompt, and type the following:

tracert host_name

Or, type tracert ip_address

where host_name or ip_address is the host name or IP address, respectively,
of the remote computer.

For example, to trace a connection route from this computer to
www.microsoft.com, type the following at a command prompt:

tracert www.microsoft.com

If you do not want the tracert command to resolve and display the names of
all routers in the path, use the -d parameter. This expedites the display of
the path. For example, to trace a path from this computer to
www.microsoft.com without displaying the router names, type the following at
a command prompt:

tracert -d www.microsoft.com

Note
• To open command prompt, click Start, point to All Programs, point to
Accessories, and then click Command Prompt.
 • The tracert command traces the path by sending Internet Control Message
Protocol (ICMP) Echo Request and Echo Reply messages (similar to the ping
command) to produce command-line report output about each router that is
crossed and the roundtrip time (RTT) for each hop. Packet filtering policies
on routers, firewalls, or other types of security gateways might prevent the
forwarding of this traffic.
 • If tracert is unsuccessful, you can use the command output to help
determine at which intermediate router forwarding failed or was slowed.
 • For details about packet forwarding and packet loss at each router and
link in the path, use the pathping command.
 ==============

Tracert

Determines the path taken to a destination by sending Internet Control
Message Protocol (ICMP) Echo Request messages to the destination with
incrementally increasing Time to Live (TTL) field values. The path displayed
is the list of near-side router interfaces of the routers in the path
between a source host and a destination. The near-side interface is the
interface of the router that is closest to the sending host in the path.
Used without parameters, tracert displays help.

Syntax
tracert [-d] [-h MaximumHops] [-j HostList] [-w Timeout] [TargetName]

Parameters
-d : Prevents tracert from attempting to resolve the IP addresses of
intermediate routers to their names. This can speed up the display of
tracert results.

-h MaximumHops : Specifies the maximum number of hops in the path to search
for the target (destination). The default is 30 hops.

-j HostList : Specifies that Echo Request messages use the Loose Source
Route option in the IP header with the set of intermediate destinations
specified in HostList. With loose source routing, successive intermediate
destinations can be separated by one or multiple routers. The maximum number
of addresses or names in the host list is 9. The HostList is a series of IP
addresses (in dotted decimal notation) separated by spaces.

-w Timeout : Specifies the amount of time in milliseconds to wait for the
ICMP Time Exceeded or Echo Reply message corresponding to a given Echo
Request message to be received. If not received within the time-out, an
asterisk (*) is displayed. The default time-out is 4000 (4 seconds).

TargetName : Specifies the destination, identified either by IP address or
host name.

-? : Displays help at the command prompt.

Remarks
• This diagnostic tool determines the path taken to a destination by sending
ICMP Echo Request messages with varying Time to Live (TTL) values to the
destination. Each router along the path is required to decrement the TTL in
an IP packet by at least 1 before forwarding it. Effectively, the TTL is a
maximum link counter. When the TTL on a packet reaches 0, the router is
expected to return an ICMP Time Exceeded message to the source computer.
Tracert determines the path by sending the first Echo Request message with a
TTL of 1 and incrementing the TTL by 1 on each subsequent transmission until
the target responds or the maximum number of hops is reached. The maximum
number of hops is 30 by default and can be specified using the -h parameter.
The path is determined by examining the ICMP Time Exceeded messages returned
by intermediate routers and the Echo Reply message returned by the
destination. However, some routers do not return Time Exceeded messages for
packets with expired TTL values and are invisible to the tracert command. In
this case, a row of asterisks (*) is displayed for that hop.
• To trace a path and provide network latency and packet loss for each
router and link in the path, use the pathping command.
• This command is available only if the Internet Protocol (TCP/IP) protocol
is installed as a component in the properties of a network adapter in
Network Connections

Examples
To trace the path to the host named corp7.microsoft.com, type:

tracert corp7.microsoft.com

To trace the path to the host named corp7.microsoft.com and prevent the
resolution of each IP address to its name, type:

tracert -d corp7.microsoft.com

To trace the path to the host named corp7.microsoft.com and use the loose
source route 10.12.0.1-10.29.3.1-10.1.44.1, type:

tracert -j 10.12.0.1 10.29.3.1 10.1.44.1 corp7.microsoft.com

-- 
Hope this helps.  Let us know.
Wes
In news:1c11401c421a2$1f8d50b0$a501280a@phx.gbl,
Lois <anonymous@discussions.microsoft.com>  hunted and pecked:
> Why doesn't tracert work the same in XP as it does in
> W2K?  I just want to get the hosts names associated with a
> specific IP address.  These hosts are workstations on the
> network.
>> -----Original Message-----
>> Lois;
>>
>> How to Use TRACERT
>> http://support.microsoft.com/default.aspx?scid=kb;en- us;314868
>>
>> Tracert
>> http://www.microsoft.com/resources/documentation/windows/x
> p/all/proddocs/en-us/sag_tcpip_pro_tracert.mspx
>>
>> How to Troubleshoot TCP/IP Connectivity with Windows XP
>> http://support.microsoft.com/default.aspx?scid=kb;en- us;314067
>>
>> Microsoft Windows XP - Trace a path by using the tracert command
>> http://www.microsoft.com/resources/documentation/windows/x
> p/all/proddocs/en-us/sag_tcpip_pro_tracert.mspx
>>
>> --
>> Hope this helps.  Let us know.
>> Wes
>>
>> In news:1bf4f01c4217f$9405ae60$a501280a@phx.gbl,
>> Lois <anonymous@discussions.microsoft.com>  hunted and
> pecked:
>>> In W2K, tracert will give me the host name if I enter the
>>> IP and the IP if I enter the host name.  Why doesn't that
>>> do the same in XP and what do to get the host name from an
>>> IP address?
>>
>> .


Relevant Pages

  • Re: Cant download SP2 to save........
    ... I had hoped I could just download it, burn it to a CD and save it. ... What does a TRACERT to download.microsoft.com give you? ... first router, from the first router to the next and so on until you reach ... To trace a path by using the tracert command ...
    (microsoft.public.windowsxp.basics)
  • Re: Tracert in XP
    ... it appears tracert just isn't working on ... Open Command Prompt, and type the following: ... to trace a connection route from this ... >www.microsoft.com without displaying the router names, ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Tracert in XP
    ... If you type: tracert host name ... To trace a path by using the tracert command ... router names, type the following at a command prompt: ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Tracert in XP
    ... When the cmd window opens type: tracert | ENTER ... Open Command Prompt, and type the following: ... >> this computer to www.microsoft.com without displaying the router ... Specifies that Echo Request messages use the Loose ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: second post --re tracert.exe
    ... Open Command Prompt and type the following: ... Or, type tracert ip_address ... to trace a connection route from this computer to ...
    (microsoft.public.windowsxp.general)