![](/style/images/good.png)
3
![](/style/images/bad.png)
TRACERT(跟踪路由)命令
source link: https://direct5dom.github.io/2022/08/01/TRACERT-%E8%B7%9F%E8%B8%AA%E8%B7%AF%E7%94%B1-%E5%91%BD%E4%BB%A4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
TRACERT(跟踪路由)命令
2022-08-01网络
tracert 192.168.0.103
通过最多 30 个跃点跟踪到 192.168.0.103 的路由
1 * 130 ms 2 ms 192.168.0.103
跟踪完成。
Tracert是Windows路由跟踪程序,用于确定IP数据包访问目标所采取的路径。Tracert命令使用IP生存时间 (TTL) 字段和ICMP错误消息来确定从一个主机到网络上其他主机的路由。
tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
参数说明:
参数 | 说明 |
---|---|
-d |
不将地址解析成主机名。 |
-h maximum_hops |
搜索目标的最大跃点数,默认30 。 |
-j host-list |
与主机列表一起的松散源路由 (仅适用于IPv4)。指定沿host-list 的稀疏源路由列表序进行转发。host-list 是以空格隔开的多个路由器IP地址,最多9个; |
-w timeout |
等待每个回复的超时时间 (以毫秒为单位)。 |
-R |
跟踪往返行程路径 (仅适用于IPv6)。 |
-S srcaddr |
要使用的源地址 (仅适用于IPv6)。 |
-4 |
强制使用IPv4。 |
-6 |
强制使用IPv6。 |
target_name |
目标计算机的名称。 |
最简单的用法是:
tracert hostname
其中hostname
是计算机名或想跟踪其路径的计算机的IP地址,tracert
将返回他到达目的地的各种IP地址。例如:
tracert 192.168.0.103
通过最多 30 个跃点跟踪到 192.168.0.103 的路由
1 * 130 ms 2 ms 192.168.0.103
跟踪完成。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK