Traceroute command is a network diagnostic tool for displaying the route packets take to network host or destination. It shows how long each hop will takes and how many hops that the packet requires to reach the specify destination. In linux traceroute command is used while in windows dos environment, they used tracert command. In this post i will show you how to install and user traceroute command to diagnose your IP network issues.
1. If your linux VPS or dedicated server does not installed with traceroute, it will return this warning :
[root@centos64 ~]# traceroute www.google.com -bash: traceroute: command not found2. To install traceroute, run the following command :
[root@centos64 ~]# yum install traceroute -y3. How to use traceroute command :
# traceroute [options]Example :
[root@centos64 ~]# traceroute www.google.com traceroute to www.google.com (58.27.108.153), 30 hops max, 60 byte packets 1 192.168.2.1 (192.168.2.1) 9.233 ms 9.020 ms 8.857 ms 2 219.93.218.177 (219.93.218.177) 20.717 ms 20.529 ms 27.526 ms 3 60.49.55.93 (60.49.55.93) 57.368 ms 57.446 ms 57.187 ms 4 10.55.32.58 (10.55.32.58) 76.846 ms 10.55.32.56 (10.55.32.56) 66.418 ms 66.906 ms 5 58.27.105.125 (58.27.105.125) 75.779 ms 65.556 ms 65.592 ms 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *1 is the internet gateway on the network this traceroute was done (ADSL modem local IP)
2 is the ISP the origin computer is connected to.
My PPPoE modem WAN IP details :
0 comments:
Post a Comment