Pages

Tuesday, January 8, 2013

Trace Route


Trace route is a computer network diagnostic tool for displaying the route (path) and measuring transit delays of packets across an Internet Protocol (IP) network.

How to use
[root@localhost ~]$ traceroute google.com

traceroute: Warning: google.com has multiple addresses; using 74.125.225.99
traceroute to google.com (74.125.225.99), 30 hops max, 46 byte packets
 1  RRSE0C7.c6500l.omhq.uprr.com (167.132.86.126)  0.353 ms  0.205 ms  0.230 ms
 2  RRSE40F.c6500b.omhq.uprr.com (69.58.192.221)  0.335 ms  0.226 ms  0.240 ms
 3  RRSED81.c7200f.omhq.uprr.com (167.132.254.145)  1.233 ms  1.125 ms  1.088 ms
 4  RRSED82.asr1000-70.omhq.uprr.com (69.58.255.150)  2.181 ms  2.125 ms  1.937 ms
 5  RRSEDBA.asr1000-70.omsp.uprr.com (167.132.244.177)  2.329 ms  2.123 ms  2.187 ms
 6  sl-gw10-oma-1-0-2-si2.sprintlink.net (144.228.98.73)  2.181 ms  2.125 ms  2.437 ms
 7  144.232.11.65 (144.232.11.65)  2.981 ms  2.471 ms  2.487 ms
 8  144.232.1.72 (144.232.1.72)  12.365 ms  14.499 ms  14.115 ms
 9  144.232.1.102 (144.232.1.102)  14.109 ms  12.907 ms  12.467 ms
10  72.14.213.31 (72.14.213.31)  12.463 ms  12.607 ms  12.517 ms
11  209.85.254.120 (209.85.254.120)  12.913 ms  12.707 ms  12.669 ms
12  209.85.240.150 (209.85.240.150)  12.761 ms  12.755 ms  29.290 ms
13  ord08s08-in-f3.1e100.net (74.125.225.99)  12.662 ms  12.502 ms  12.766 ms

traceroute to google.com (74.125.225.99), 30 hops max, 46 byte packets
Found the IP address of google.com to be 74.125.225.99, max is 30 hops to reach, and sending 46 byte size packets.

The numbers at the far left are the number of the hop, followed by the name and/or IP address of the router that hop is going through.

The set of three numbers on the right side of the lines indicate the amount of time, in milliseconds, it took for that hop to complete. Traceroute performs each hop three times.

16 * * *
You can see some times , in the hop we will have nothing but packet loss. The trace route continued for the full 30 hops, each reporting * * * as it went. If your trace to the server has many asterisks like this one, that means that the connection was not able to be completed.  This could be for a variety of reasons including:
A network outage
High amounts of traffic causing network congestion
A firewall dropping traffic from your IP

Many More time Come , Happy learning