February 15, 2010

How to use traceroute command ?

Traceroute command is used to find the route used to connect from your computer to another host. It will show your the routing path or the routers through which that particular host is reachable. The program will show an error message if the host is unreachable. Traceroute program sends series of ICMP (Internet Control Message Protocol) packets to the destination host and gathers information using that .It also tells you how long the packet will take to pass each routers.


How to use traceroute in Linux ?
Command: traceroute host/website/ipaddress

Go to shell prompt and enter

[root@mydigg.in]# traceroute www.google.com
traceroute to www.google.com (209.85.225.106), 30 hops max, 40 byte packets
1 (67.43.12.2) 1.462 ms 1.446 ms 1.428 ms
2 lw-dc2-core4-po5.rtr.liquidweb.com (209.59.157.121) 0.658 ms 0.666 ms 0.890 ms
3 209.59.157.47 (209.59.157.47) 0.332 ms 0.599 ms 0.590 ms
4 208.81.87.129 (208.81.87.129) 6.858 ms 7.135 ms 7.125 ms
5 savvis-gw.cgcil.ip.att.net (192.205.35.41) 6.808 ms 6.798 ms 6.788 ms
6 cr2.cgcil.ip.att.net (12.122.86.42) 7.750 ms cr1.cgcil.ip.att.net (12.122.84.50) 7.882 ms cr2.cgcil.ip.att.net (12.122.86.42) 7.262 ms
7 cr83.cgcil.ip.att.net (12.123.7.109) 7.236 ms cr84.cgcil.ip.att.net (12.123.7.249) 6.956 ms cr83.cgcil.ip.att.net (12.123.7.109) 7.202 ms
8 12.122.152.129 (12.122.152.129) 6.984 ms 12.122.152.133 (12.122.152.133) 7.166 ms 7.066 ms
9 12.88.249.234 (12.88.249.234) 6.886 ms 7.093 ms 7.079 ms
10 209.85.254.120 (209.85.254.120) 6.808 ms 209.85.254.128 (209.85.254.128) 7.059 ms 7.049 ms
11 72.14.232.141 (72.14.232.141) 57.050 ms 18.047 ms 209.85.241.22 (209.85.241.22) 17.778 ms
12 209.85.241.29 (209.85.241.29) 17.772 ms 17.759 ms 209.85.241.37 (209.85.241.37) 17.746 ms
13 209.85.248.102 (209.85.248.102) 17.975 ms 66.249.95.138 (66.249.95.138) 25.082 ms 209.85.248.106 (209.85.248.106) 25.075 ms
14 iy-in-f106.1e100.net (209.85.225.106) 17.919 ms 17.933 ms 17.780 ms


How to use traceroute in Windows ?
Command: tracert host/ipaddress/domain name
Go to Start >> Programs >> Accessories >> Command Prompt

Try Online traceroute

No comments: