扫描二维码关注

首页 APP开发小程序开发 微信公众号 网站建设 营销推广 经典案列 产品服务 关于我们

“学习不仅是掌握知识”

向书本学习,还要向实践学习、向生活学习。消化已有知识,
而且要力求有所发现、有所发明、有所创造

什么是Tracert

2019/3/29 10:28:23

什么是Tracert

  Tracert 该诊断实用程序将包含不同生存时间 (TTL) 值的 Internet 控制消息协议(ICMP) 回显数据包发送到目标,以决定到达目标采用的路由。要在转发数据包上的 TTL 之前至少递减 1,必需路径上的每个路由器,所以 TTL 是有效的跃点计数。数据包上的 TTL 到达 0 时,路由器应该将“ICMP 已超时”的消息发送回源系统。Tracert 先发送 TTL 为 1 的回显数据包,并在随后的每次发送过程将 TTL递增 1,直到目标响应或 TTL 达到最大值,从而确定路由。路由通过检查中级路由器发送回的“ICMP 已超时”的消息来确定路由。不过,有些路由器悄悄地下传包含过期 TTL 值的数据包,而 tracert 看不到。

tracert [-d] [-h maximum_hops] [-j computer-list] [-w timeout] target_name

参数说明:
/d 指定不将地址解析为计算机名。
-h maximum_hops 指定搜索目标的最大跃点数。
-j computer-list 指定沿 computer-list 的稀疏源路由。
-w timeout 每次应答等待 timeout 指定的微秒数。
target_name 目标计算机的名称。

一般操作方法如下:

C:\>tracert www.yahoo.com

Tracing route to www.yahoo.akadns.net [66.218.71.81] over a maximum of 30 hops:

1 10 ms <10 ms <10 ms 192.168.0.7
2 <10 ms 10 ms <10 ms 210.192.97.129
3 <10 ms 20 ms 10 ms 192.168.200.21
4 <10 ms 10 ms 10 ms 203.212.0.69
5 <10 ms 10 ms 10 ms 202.108.252.1
6 10 ms 10 ms <10 ms 202.106.193.201
7 10 ms 20 ms 20 ms 202.106.193.169
8 <10 ms 10 ms 10 ms 202.106.192.226
9 <10 ms 10 ms 10 ms 202.96.12.45
10 20 ms 30 ms 20 ms p-6-0-r1-c-shsh-1.cn.net [202.97.34.34]
11 20 ms 30 ms 30 ms p-3-0-r3-i-shsh-1.cn.net [202.97.33.74]
12 160 ms 161 ms 160 ms if-7-7.core1.LosAngeles.Teleglobe.net [207.45.193.73]
13 200 ms 201 ms 200 ms if-4-0.core1.Sacramento.Teleglobe.net [64.86.83.170]
14 190 ms 190 ms 190 ms if-2-0.core1.PaloAlto.Teleglobe.net [64.86.83.201]
15 160 ms 160 ms 160 ms ix-5-0.core1.PaloAlto.Teleglobe.net [207.45.196.90]
16 180 ms 180 ms 160 ms ge-1-3-0.msr1.pao.yahoo.com [216.115.100.150]
17 170 ms 210 ms 321 ms vl10.bas1.scd.yahoo.com [66.218.64.134]
18 170 ms 170 ms 170 ms w2.scd.yahoo.com [66.218.71.81]

Trace complete.

 


深圳市南山区南山街道南海大道西桂庙路北阳光华艺大厦1栋4F、4G-04

咨询电话:136 8237 6272
大客户咨询:139 0290 5075
业务QQ:2062128898
业务QQ:195006118
技术QQ:179981967

精锐软件

Copyright© 2018-2022 深圳精锐软件技术有限公司 All Rights Reserved. ICP备案号:粤ICP备18108116号-1 公安备案号:粤公网安备44030502003401号