我在 power shell 中使用 tracert,但是它不能显示所有路径,有些部分说请求超时。
Tracing route to google.com [216.58.212.78]
over a maximum of 30 hops:
1 33 ms 33 ms 32 ms 172.31.4.1
2 33 ms 33 ms 32 ms 192.168.160.2
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 173 ms 168 ms 169 ms 216.58.212.78
Trace complete.
我设置跳至 200,300,要求超时至 3,5,10第二次,但和之前一样,我如何才能 tracert 有完整的响应?谢谢回复
答案1
这看起来根本不与 Powershell 有关。相反,看起来你的网络(192.168.160.2 之后)至少过滤了ICMP 时间超出回应,这就是tracert / traceroute 依赖于生成路由路径跟踪。
不管你使用哪种 traceroute 实现,或者你如何调整调用的参数,你的网络管理员都会为你破坏网络,这很可能是由于误解ICMP 很邪恶。