跳至内容
liuzhen932 的小窝
返回

What Does !H Mean in a Traceroute?

这是一篇迁移自 What Does ”!H” Mean in a Traceroute? 的文章。

When analyzing network paths using the traceroute command, you might encounter the symbol !H in the output. This notation indicates a specific type of error encountered during the tracing process.

Explanation of ”!H”

The !H symbol signifies “Host Unreachable”, meaning the network device (router or host) along the path could not forward the probe packet to the target host. This occurs when an intermediate router or the destination device itself returns an ICMP Host Unreachable message (ICMP Type 3, Code 1).

Context of ”!H”


While !H is a common error, traceroute uses other symbols to denote different issues. Here are key examples:

  1. !N: Network Unreachable

    • Indicates the router cannot route to the target network.
  2. !X: Communication Administratively Prohibited

    • A firewall or router explicitly blocked the packet.
  3. !P: Port Unreachable

    • The destination port is closed or unreachable.
  4. !S: Source Quench

    • The router temporarily halted packet forwarding due to congestion.
  5. !D: Destination Unreachable

    • A generic error for unreachable destinations.
  6. !P: Protocol Unreachable

    • The target host does not support the protocol (e.g., UDP) used.

In summary, !H in traceroute alerts you to a host-level connectivity issue at a specific hop, aiding in diagnosing network path failures.


分享这篇文章:

上一篇
在 Debian 12 上安装 step-ca 配置 PKI 和证书颁发机构教程
下一篇
开网站五年多了,分享下我的 Cloudflare WAF 规则

人机验证:请刷新页面以加载评论区