Wednesday, April 14, 2010

Tracert

what is traceroute and how do I use it?

The traceroute utility checks how many "hops" (transfers through other computers on a network) it takes for your computer to contact another computer. You can use traceroute if you know the other computer's IP address, web site address, or name (e.g., 129.79.1.1, www.indiana.edu, or ns.indiana.edu).

To access the utility:

1.Open the command prompt:


◦Windows 7 or Vista: From the Start menu, in the search field, type cmd , and then press Enter.
◦Previous versions: From the Start menu, select Run... . In the "Open:" box, type cmd , and then press Enter.


2.At the command prompt, enter tracert example , where example is the IP address, name, or web site of the computer you are trying to access. For example, if you enter tracert www.indiana.edu , you should see something similar to the following:
Tracing route to www.indiana.edu [129.79.78.8]

over a maximum of 30 hops:

1 <10 ms <10 ms <10 ms 168.91.41.1

2 10 ms 20 ms 20 ms indy-bloomington-s4-6.ivy.tec.in.us [168.91.9.129]

3 10 ms 10 ms 20 ms akicita-lena.ivy.tec.in.us [168.91.1.4]

4 20 ms 30 ms 30 ms indnet.ivy.tec.in.us [168.91.1.130]

5 71 ms 40 ms 50 ms ind-s1-0-7-T1.ind.net [157.91.8.62]

6 80 ms 40 ms 40 ms serverfarm-atm0.ind.net [199.8.76.231]

7 60 ms 90 ms 80 ms iupui-atm6-0-100.ind.net [157.91.9.78]

8 50 ms 40 ms 90 ms indy-dmz.atm.iupui.edu [134.68.15.103]

9 * * * Request timed out.

10 40 ms 70 ms 90 ms wcc6-gw.ucs.indiana.edu [129.79.8.6]

11 * 40 ms 50 ms viator.ucs.indiana.edu [129.79.78.8]


Trace complete.
The first column, the hop count, represents the number of stops your information has made along the route to attempt to contact the other computer. The next three columns are the round-trip times in milliseconds for three different attempts to reach the destination. The last column is the name of the host that responded to the request.

The above example shows that a computer user on ivy.tec.in.us ran a traceroute to www.indiana.edu. On the fifth hop, the request left the Ivy Tech network and went to the ind.net network. On the eighth hop, the request went to the iupui.edu network. Finally, on the tenth hop, the request found its way to the indiana.edu network. Since there is a "Request timed out" message on the ninth hop, you might guess that there could be some problem between the iupui.edu network and the indiana.edu network. If you are seeing other problems, such as the web page at http://www.indiana.edu/ loading slowly, this could indicate the location of the problem.

In many cases, a network technician will need to analyze the problem further. To aid in this effort, you can save the output of the traceroute program as a text file by entering the following command, where example is the IP address, name, or web site you are trying to access:

tracert example > test.txt
You can then send the test.txt file to your computer support provider for further diagnosis.

No comments: