1. traceroute
chenqi@chenqi-laptop ~/MyPro/Java/MyClassLib $
sudo traceroute -I www.baidu.com
traceroute to www.baidu.com (61.135.169.125), 30 hops max, 60 byte packets
1 221.220.144.1 (221.220.144.1) 12.367 ms 12.663 ms *
2 * * *
3 125.35.75.5 (125.35.75.5) 3.932 ms 4.760 ms 5.111 ms
4 124.65.60.193 (124.65.60.193) 4.337 ms 6.592 ms 6.944 ms
5 124.65.61.141 (124.65.61.141) 7.676 ms 7.995 ms 8.343 ms
6 61.148.156.138 (61.148.156.138) 7.254 ms 6.624 ms 6.089 ms
7 202.106.48.18 (202.106.48.18) 6.527 ms 6.708 ms *
8 * * *
9 * * *
10 * * *
11 * 61.135.169.125 (61.135.169.125) 5.135 ms 6.064 ms
chenqi@chenqi-laptop ~/MyPro/Java/MyClassLib $ sudo traceroute -I www.baidu.com
traceroute to www.baidu.com (61.135.169.125), 30 hops max, 60 byte packets
1 221.220.144.1 (221.220.144.1) 12.254 ms 12.613 ms *
2 * * *
3 125.35.75.5 (125.35.75.5) 4.767 ms 5.341 ms 5.690 ms
4 124.65.60.193 (124.65.60.193) 4.383 ms 7.461 ms 7.801 ms
5 124.65.61.141 (124.65.61.141) 8.170 ms 8.464 ms 8.857 ms
6 61.148.156.138 (61.148.156.138) 11.109 ms * *
7 202.106.48.18 (202.106.48.18) 6.384 ms * *
8 * * *
9 * * *
10 * 61.135.169.125 (61.135.169.125) 6.906 ms 6.984 ms
-I --icmp Use ICMP ECHO for tracerouting
2. tracepath
It does NOT work!
3. mtr
chenqi@chenqi-laptop ~/MyPro/Java/MyClassLib $
mtr -r www.baidu.com
HOST: chenqi-laptop Loss% Snt Last Avg Best Wrst StDev
1. 221.220.144.1 10.0% 10 12.7 12.2 6.1 20.9 4.4
2. 221.220.144.1 0.0% 10 14.5 12.9 8.6 16.7 2.7
3. 125.35.75.5 0.0% 10 2.0 3.5 2.0 10.1 3.1
4. 124.65.60.193 20.0% 10 2.0 2.9 1.9 9.2 2.6
5. 124.65.61.141 0.0% 10 2.3 2.7 2.2 6.6 1.4
6. 61.148.156.138 60.0% 10 2.3 2.2 2.2 2.3 0.1
7. 202.106.48.18 10.0% 10 2.3 2.6 2.3 4.0 0.5
8. localhost 0.0% 10 3.2 3.4 2.9 5.4 0.7
9. 61.135.169.125 0.0% 10 2.3 2.5 2.1 4.6 0.7
reference material: http://wenku.baidu.com/view/d6a694d9a58da0116c174989.html