在路由器后面,traceroute返回一系列*原因分析

  • Post author:
  • Post category:其他


首先:


traceroute是如何工作的?

Traceroute transmits packets with small TTL (Time To Live) values.


The TTL is an IP header field that is used to prevent packets from running into endless loops.


When a router that handles the packet subtracts one from the packet’s TTL. The packet expires and it’s discarded when the TTL reaches zero.


Traceroute sends ICMP Time Exceeded messages, (

RFC 792

), back to the sender when this occurs.

By using small TTL values, the packets will quickly expire, so traceroute causes all routers along a packet’s path to generate the ICMP messages that identify the router.


For example, TTL = 1 should produce the message from the first router, TTL = 2 generates a message from the second router in



版权声明:本文为lhq9220原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。