Microsoft KB Archive/169206: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 45: Line 45:
== SUMMARY ==
== SUMMARY ==


The Tracert command-line utility can be used to find the route that IP datagrams travel from one system to another. You can run this utitily by typing tracert <ipaddr&gt; or tracert <hostname&gt;.<br />
The Tracert command-line utility can be used to find the route that IP datagrams travel from one system to another. You can run this utitily by typing tracert <ipaddr> or tracert <hostname>.<br />
<br />
<br />
However, it can also be used with the -j flag to find the route used to get from any specific router IP address to another IP address.
However, it can also be used with the -j flag to find the route used to get from any specific router IP address to another IP address.
Line 73: Line 73:
                 </pre>
                 </pre>
<br />
<br />
You can find the path to router4 and back to your computer, by typing tracert -j router4 <mycomputer&gt;.<br />
You can find the path to router4 and back to your computer, by typing tracert -j router4 <mycomputer>.<br />
<br />
<br />
The route to router4 and back to your computer will be traced. In this example, it would probably be:<br />
The route to router4 and back to your computer will be traced. In this example, it would probably be:<br />
Line 84: Line 84:
* router2
* router2
* router1
* router1
* <mycomputer&gt;
* <mycomputer>
                 </pre>
                 </pre>



Latest revision as of 20:41, 20 July 2020

Knowledge Base


Using TRACERT With the Loose Source Routing Option

PSS ID Number: 169206

Article Last Modified on 8/9/2001



The information in this article applies to:

  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 4.0



This article was previously published under Q169206

SUMMARY

The Tracert command-line utility can be used to find the route that IP datagrams travel from one system to another. You can run this utitily by typing tracert <ipaddr> or tracert <hostname>.

However, it can also be used with the -j flag to find the route used to get from any specific router IP address to another IP address.

MORE INFORMATION

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:

   -d                 Do not resolve addresses to hostnames.
   -h maximum_hops    Maximum number of hops to search for target.
   -j host-list       Loose source route along host-list.
   -w timeout         Wait timeout milliseconds for each reply.
                


The -j option can be used to force the outbound datagram to pass through a specific router, by using the IP source route option. For example, if you type tracert hosta, and find that the path used is as follows:

* router1
* router2
* router3
* router4
* hosta
                


You can find the path to router4 and back to your computer, by typing tracert -j router4 <mycomputer>.

The route to router4 and back to your computer will be traced. In this example, it would probably be:

* router1
* router2
* router3
* router4
* router3
* router2
* router1
* <mycomputer>
                


Additional query words: prodnt

Keywords: kbnetwork KB169206
Technology: kbWinNT400search kbWinNTS400 kbWinNTS400search kbWinNTsearch kbWinNTSsearch kbWinNTW400 kbWinNTW400search kbWinNTWsearch