跟踪路由与 ping 时间差异

trace route vs ping time differences

当我 ping 一个 IP 地址时,平均时间是 71.1 毫秒

当对同一个 ip 使用 tracert 时,显示的时间要长得多(每个节点大约 70 毫秒......),你能解释一下差异吗?

C:\Users\user648026>ping 152.36.54.101

Pinging 152.36.54.101 with 32 bytes of data:
Reply from 152.36.54.101: bytes=32 time=89ms TTL=60
Reply from 152.36.54.101: bytes=32 time=64ms TTL=60
Reply from 152.36.54.101: bytes=32 time=71ms TTL=60
Reply from 152.36.54.101: bytes=32 time=63ms TTL=60

C:\Users\user648026>tracert 152.36.54.101

Tracing route to HOST-123 [152.36.54.101]
over a maximum of 30 hops:

  1    69 ms    65 ms    70 ms  someIpWasHere
  2    94 ms    71 ms    65 ms  someIpWasHere
  3   148 ms    73 ms    64 ms  someIpWasHere
  4    72 ms    66 ms    66 ms  someIpWasHere
  5    64 ms    73 ms    65 ms  my host [152.36.54.101]

Trace complete.

C:\Users\user648026>tracert 152.36.54.101

Tracing route to HOST-123[152.36.54.101]
over a maximum of 30 hops:

  1    70 ms    78 ms    63 ms  someIpWasHere
  2    68 ms   104 ms   101 ms  someIpWasHere
  3    69 ms   117 ms    65 ms  someIpWasHere
  4    72 ms    69 ms    71 ms  someIpWasHere
  5    65 ms    64 ms    65 ms  my host  [152.36.54.101]

我认为您误解了 traceroute 的输出。每条线代表一个跃点,每个跃点有 3 次尝试(三列)。中间跃点可能有相当高的时间,因为像生成 ICMP 错误消息这样的事情对于路由器来说是一个相当低的优先级,它会在有时间的时候到达它,但它的优先级实际上是路由数据包。

你的最后一行是源到目的的完整路径,3次相当于你的ping时间