LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

How does ICMP test host reachability?

The source sends an ICMP Echo Request; if the destination is available it returns an ICMP Echo Reply. No reply suggests the host is unreachable. This is the mechanism behind ping.

ICMP Echo Messages for Host Reachability:

ICMP Echo messages test whether a host is reachable on an IP network.

ICMP echo request from source to destination answered by an echo reply

* The source sends an Echo Request; a reachable host answers with an Echo Reply, which is exactly what ping does. *

Process:

Source Host                    Destination Host
     │                              │
     │──── ICMP Echo Request ─────→│
     │                              │
     │←──── ICMP Echo Reply ───────│
     │                              │

Steps:

  1. Local host sends an ICMP Echo Request to a destination
  2. If the destination is available, it responds with an ICMP Echo Reply
  3. If no reply is received, the destination may be unreachable

ICMP Message Types:

Type Message
8 Echo Request (IPv4)
0 Echo Reply (IPv4)
128 Echo Request (IPv6)
129 Echo Reply (IPv6)

Key insight: This is the mechanism behind the ping command.

Go deeper:

From Quiz: NETW1 / ICMP | Updated: Jul 14, 2026