为什么当我在 powershell 中使用 tracert 时,它没有返回完整的响应?

sta*_*mer 2 ip timeout traceroute

我在 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.
Run Code Online (Sandbox Code Playgroud)

我将跳数设置为 200,300,请求超时为 3、5、10秒,但之前是一样的,我如何才能进行完全响应的 tracert?谢谢您的回复

the*_*bit 5

这看起来根本与 Powershell 无关。相反,看起来您的网络(在 192.168.160.2 之后)至少过滤了ICMP 时间超出响应,这是tracert / traceroute生成路由路径跟踪所依赖的

无论您使用的是什么 traceroute 实现或您如何调整调用参数都无关紧要 - 您的网络管理员已经为您破坏了网络,很可能是由于误认为ICMP 是邪恶的