Linux traceroute


$ sudo aptitude search traceroute 
p   inetutils-traceroute            - trace the IPv4 route to another host      
p   inetutils-traceroute:i386       - trace the IPv4 route to another host      
p   libnet-traceroute-perl          - traceroute(1) functionality in perl       
p   libnet-traceroute-pureperl-perl - traceroute(1) functionality in perl via ra
p   paris-traceroute                - New version of well known tool traceroute 
p   paris-traceroute:i386           - New version of well known tool traceroute 
p   tcptraceroute                   - traceroute implementation using TCP packet
p   tcptraceroute:i386              - traceroute implementation using TCP packet
p   traceroute                      - Traces the route taken by packets over an 
p   traceroute:i386                 - Traces the route taken by packets over an 

 
$ sudo aptitude show traceroute 
Package: traceroute                      
New: yes
State: not installed
Version: 1:2.0.19-3
Priority: optional
Section: universe/net
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 176 k
Depends: libc6 (>= 2.14)
Conflicts: traceroute
Provided by: inetutils-traceroute
Description: Traces the route taken by packets over an IPv4/IPv6 network
 The traceroute utility displays the route used by IP packets on their way to a
 specified network (or Internet) host. Traceroute displays the IP number and
 host name (if possible) of the machines along the route taken by the packets.
 Traceroute is used as a network debugging tool. If you're having network
 connectivity problems, traceroute will show you where the trouble is coming
 from along the route. 
 
 Install traceroute if you need a tool for diagnosing network connectivity
 problems.
Homepage: http://traceroute.sourceforge.net/

$ sudo aptitude install traceroute 
The following NEW packages will be installed:
  traceroute 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.6 kB of archives. After unpacking 176 kB will be used.
Get: 1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe traceroute amd64 1:2.0.19-3 [44.6 kB]
Fetched 44.6 kB in 1s (28.3 kB/s)
Selecting previously unselected package traceroute.
(Reading database ... 241103 files and directories currently installed.)
Preparing to unpack .../traceroute_1%3a2.0.19-3_amd64.deb ...
Unpacking traceroute (1:2.0.19-3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up traceroute (1:2.0.19-3) ...
update-alternatives: using /usr/bin/traceroute.db to provide /usr/bin/traceroute (traceroute) in auto mode
update-alternatives: using /usr/bin/lft.db to provide /usr/bin/lft (lft) in auto mode
update-alternatives: using /usr/bin/traceproto.db to provide /usr/bin/traceproto (traceproto) in auto mode
update-alternatives: using /usr/sbin/tcptraceroute.db to provide /usr/sbin/tcptraceroute (tcptraceroute) in auto mode
                       

$ traceroute www.sina.com.cn
traceroute to www.sina.com.cn (61.172.201.36), 30 hops max, 60 byte packets
 1  192.168.7.1 (192.168.7.1)  2.557 ms  2.997 ms  3.637 ms
 2  10.2.0.1 (10.2.0.1)  3.408 ms  3.975 ms  3.967 ms
 3  119.2.4.145 (119.2.4.145)  4.011 ms  4.556 ms  5.596 ms
 4  219.141.221.149 (219.141.221.149)  3.928 ms  4.523 ms  4.515 ms
 5  218.106.167.49 (218.106.167.49)  4.507 ms  5.547 ms  6.047 ms
 6  119.2.0.1 (119.2.0.1)  5.526 ms  4.346 ms  9.667 ms
 7  * * *
 8  220.181.16.161 (220.181.16.161)  316.188 ms * *
 9  218.30.25.89 (218.30.25.89)  13.603 ms 220.181.0.193 (220.181.0.193)  14.614 ms  15.413 ms
10  61.152.86.245 (61.152.86.245)  50.564 ms 202.101.63.189 (202.101.63.189)  58.596 ms 61.152.86.245 (61.152.86.245)  58.488 ms
11  124.74.166.210 (124.74.166.210)  58.554 ms 101.95.224.114 (101.95.224.114)  68.937 ms  68.882 ms
12  124.74.233.78 (124.74.233.78)  49.083 ms  44.904 ms  43.905 ms
13  114.80.222.50 (114.80.222.50)  43.170 ms  43.301 ms  35.956 ms
14  61.172.201.36 (61.172.201.36)  37.726 ms  38.122 ms  35.821 ms


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值