المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to Trace Route



bahattab
22-05-2008, 12:48 AM
Traceroute howto

From Site5Wiki

Jump to: navigation (http://wiki.site5.com/Traceroute_howto#column-one), search (http://wiki.site5.com/Traceroute_howto#searchInput)
Trace route howto (http://wiki.site5.com/Traceroute_howto)
Previous (Tips to help secure your account) (http://wiki.site5.com/Tips_to_help_secure_your_account)
Next (TurboGears) (http://wiki.site5.com/TurboGears)
If you are having problems connecting to your site or accessing your site's services, Site5 support may ask you to perform a "traceroute" to make sure there isn't a connectivity problem. A traceroute shows the route you take over the internet to reach your site at Site5's servers. Information on what routers or back-bone providers you pass through can help Site5 diagnose the problem.
You can perform a traceroute in the following ways:
Windows Operating System:


Click on the "Start" menu and select "Run command"
Type "cmd" (XP/2k/NT) or "command" (95/98/Me) and hit enter. A command window will come up.
Type the following command in the commmand window: "tracert -d -w 30 yourdomainname.com"
You will see something like this:

c:\> tracert -d -w 30 yourdomainname.com
Tracing route to 11.1.0.1 over a maximum of 30 hops
---------------------------------------------------
1 2 ms 3 ms 2 ms 157.54.48.1
2 75 ms 83 ms 88 ms 11.1.0.67
3 73 ms 79 ms 93 ms 11.1.0.1
Trace complete.


You can copy and paste this into an email by selecting the upper-left hand icon and selecting "Edit -> Mark"
You can now "select" the text of the window using your mouse cursor. Select the text of the results and hit "enter". This will put the text on the clipboard. Use ctrl+v to put the results into an email.

Mac OS X


Open up the terminal app from under Applications/Utilities.
In the new terminal window, type the following command: "traceroute -n -w30 yourdomainname.com". You get something similar to the following:

bash$ traceroute -n -w30 yourdomainname.com
traceroute to yourdomainname.com (64.21.152.4), 30 hops max, 40 byte packets
1 10.20.21.1 2.377 ms 1.895 ms 1.305 ms
2 192.168.1.1 3.215 ms 3.277 ms 3.136 ms
3 208.205.249.1 38.945 ms 39.932 ms 47.581 ms
4 208.205.249.254 42.454 ms 40.777 ms 41.213 ms
5 208.238.204.1 42.051 ms 41.751 ms 103.602 ms
6 157.130.182.89 43.974 ms 44.434 ms 45.373 ms
7 152.63.105.150 46.038 ms 44.47 ms 50.557 ms
8 152.63.107.238 45.388 ms 44.655 ms 43.802 ms
9 152.63.2.134 45.451 ms 45.969 ms 91.765 ms
10 152.63.0.178 123.742 ms 124.14 ms 123.74 ms
11 152.63.23.130 123.571 ms 123.188 ms 126.214 ms
12 152.63.99.181 122.7 ms 122.453 ms 129.102 ms
13 157.130.60.182 131.246 ms 126.122 ms 161.694 ms
14 64.21.152.4 135.973 ms 133.628 ms 126.66 ms


You can copy and paste this into an email by selecting the text with your mouse cursor and hitting command+c. This will copy the text to the clipboard. Paste it into an email using command+v.


UNIX/Linux/Etc


Open a shell.
Follow the steps listed above for Mac OS X.
Copy and paste the output into an email.

Once you send the trace route to Site5 support (customer.service@site5.com), we can further help you in diagnosing your connectivity problems.
Retrieved from "http://wiki.site5.com/Traceroute_howto"
Categories (http://wiki.site5.com/Special:Categories): Account Management (http://wiki.site5.com/Category:Account_Management) | Website Management' (http://wiki.site5.com/Category:Website_Management)





http://wiki.site5.com/Traceroute_howto

bahattab
23-05-2008, 11:54 AM
Traceroute Instructions

In many cases, we'll need to see a traceroute from your computer to your domain in order to diagnose connection and other problems. To run a traceroute from your machine, follow the instructions below.
To run a traceroute to your domain from a Windows 95, 98, or XP machine, open your Command (MS-DOS) Prompt, and type the command: <code>tracert mydomain.com</code> (replacing <code>mydomain.com</code> with your domain name. The results will look something like this:



C:\>tracert mydomain.com



Tracing route to hostingmanual.net [64.33.62.124]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms mynetworkserver [192.168.0.1]
2 150 ms 16 ms 34 ms gate.myisp.com [12.14.232.1]
3 61 ms 60 ms 66 ms sl-gw12-kc-9-1-0-TS12.sprintlink.net [160.81.94.81]
4 109 ms 60 ms 72 ms 144.232.23.14
5 111 ms 50 ms 54 ms sl-bb23-fw-10-1.sprintlink.net [144.232.18.229]
6 145 ms 67 ms 52 ms 144.232.18.30
7 106 ms 183 ms 191 ms 177.at-2-0-0.XR1.DFW9.ALTER.NET [152.63.100.170]
8 135 ms 105 ms 427 ms 0.so-2-0-0.XL1.DFW9.ALTER.NET [152.63.101.253]
9 116 ms 176 ms 94 ms 0.so-0-0-0.TL1.DFW9.ALTER.NET [152.63.0.193]
10 272 ms 158 ms 178 ms 0.so-5-0-0.TL1.CHI2.ALTER.NET [146.188.177.253]
11 213 ms 130 ms 114 ms 0.so-2-0-0.XL1.CHI2.ALTER.NET [152.63.67.126]
12 97 ms 79 ms 155 ms 0.so-7-0-0.XR1.CHI2.ALTER.NET [152.63.67.130]
13 103 ms 110 ms 128 ms 193.ATM7-0.XR1.CHI6.ALTER.NET [152.63.65.26]
14 163 ms 165 ms 209 ms 191.ATM11-0-0.GW2.CHI6.ALTER.NET [146.188.208.185]
15 285 ms 200 ms 174 ms UU-ds3.axxs.net [157.130.101.114]
16 159 ms 67 ms 83 ms 209.204.202.246

Trace complete.
</pre> Interpreting Traceroute Results

Traceroute is a tool that traces the route that packets travel across a network connection between two hosts. The route between your computer and your domain on our servers will vary from time to time as the network routers involved attempt to find the fastest and most reliable route.
The name (if available) and IP address of each gateway (router) is displayed, along with the round trip time (in milliseconds) for each of three trace packets to reach the specified gateway and return. These intervals may vary widely as a function of network load. Lost packets are indicated by an asterisk (*). There are several factors responsible for lost packets: Some gateways don't return the appropriate message requested by traceroute. Some firewalls use packet filters which block packets used by traceroute. (If you are behind a firewall that blocks traceroute, the results show the route to your firewall, followed by a line of asterisks.) Finally, packets may be lost as a result of network congestion (heavy load). World Wide Web clients and servers normally recover automatically when a small percentage of packets are lost with no indication to the user except for slower response time.
What you want to look for in your traceroute results are any asterisks (*) or excessively high numbers in the time columns. "Excessively high" is a relative term, and depends in part upon your own Internet connection speed. For example, users connecting via a 28.8 dial up connection will tend to see higher round-trip times than cable-modem or DSL users. A general rule-of-thumb might be that times of under 350 ms are "normal", times between 350 - 1000 ms are "moderately slow", and any times over 1000 ms are "slow" and indicate a potential problem. Asterisks indicate that the router did not return a response at all. If a particular router did not return any times at all, then that's a good indication of the source of your problem.
The first 2 or 3 "nodes" or "hops" represent your computer and your ISP's server(s) and router(s). The last two nodes represent your domain and the server it resides on (which are the only two nodes that we have any control over.) All nodes in between represent "Internet backbone" routers. These routers are provided by independent companies (like AT&T, Sprint, MCI, etc.)
If the traceroute indicates that the problem may be at your domain or its server, you should contact support so that we can investigate the problem. If the problem appears to be at your ISP, you should contact their support department for assistance. If the problem appears to be somewhere in between, there's really no one to contact, since the backbone providers do not support end users. On the other hand, they generally do an excellent job of monitoring issues on their network, probably knew about the problem long before you did, and are working hard to get it corrected.
Sending Traceroute Results

We'll ask you for traceroute results almost anytime you report any type of connection problem. We'll need these results in text format -- we can't do much with graphic screenshots.
To copy the traceroute results from Windows 95 or Windows 98:


Click the Mark icon in your command prompt window (it looks like a dotted rectangle -- place your mouse cursor on top of it and a tooltip will pop up that says "Mark".)
Highlight the full text of the traceroute results by positioning your cursor at the beginning, holding down your left mouse button, and dragging the cursor to highlight the contents.
Click the Copy icon in your command prompt window (it looks like two sheets of paper and the tooltip says "Copy">

To copy the traceroute results from the Windows XP command prompt:


Right-click your mouse and select "Mark".
Highlight the full text of the traceroute results by positioning your cursor at the beginning, holding down your left mouse button, and dragging the cursor to highlight the contents.
Hit your <code>Enter</code> key to copy the results.

To paste the results in an e-mail or web-based form, just right-click and select "Paste", or type CTRL-V.
Other Traceroute Options

If the command prompt option sounds like too much trouble, or if you're using a Mac instead of a Windows machine, there are software programs available that make the process easier:
Windows Traceroute Software:


NeoTrace (http://www.download.com/NeoTrace-Pro/3000-2648_4-7139158.html)
NetLab (http://hostingmanual.net/downloads/NETLAB95.ZIP) (No longer supported, but a nice multipurpose program. Right-click and Save.)

Mac Traceroute Software


WhatRoute (http://www.whatroute.net/)


http://www.yourdomainhost.com/troubleshooters/traceroute.shtml