Visual RFC.
ALL RFCs / RFC 792
Read the RFC ↗
RFC 792 / PROTOCOL MECHANISMS

Can you tell which probe came back?

02

Send PING with two labels, then lose, damage or mismatch its echo reply.

RFC 792 · Echo or Echo Reply MessageEXAMPLE
1 / 4 · Ask a peer to repeat this numbered note

The probe carries PING, identifier 7 and sequence 2. These labels help this diagnostic keep track of one request.

One numbered echo probe

Request created by senderPING
Identifier
7
Sequence
2
Type 8 · checksum 59 66
SenderEcho Request · type 8Peer

What happens if you change this?

Make one change, then watch again. Restart restores the original example.

3 / 3
03
Match the reply to the request using the echoed fields.

Match the reply to the request using the echoed fields.

Can you tell which probe came back?Send PING with two labels, then lose, damage or mismatch its echo reply.requesterpeertype 8 · id 7 · seq 2type 0 · id 7 · seq 2PINGIdentifier + sequence + returned data matchAn absent reply can mean loss or filtering

Key idea: A matching echo reply answers one numbered probe. No reply leaves several possible explanations.

Terms
ICMP
Internet Control Message Protocol: separate IPv4 reports and diagnostic messages.
Echo
A probe asking a peer to repeat the supplied data and labels.
Quote
Copied original bytes inside a report, used to associate it with traffic.
Checksum
An accidental-error check, not proof of who sent a message.
Source Quench
A retired ICMP slowdown message that current transports must ignore.

Look up a term in the glossary ↗

Rules & examples

A matched probe is one piece of evidence; silence has several possible causes.

These reference examples may differ from the selected experiment.

  • Echo Request is type 8; Echo Reply is type 0.
  • A missing reply can mean loss or filtering; it is not proof that the host does not exist.

The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.

RFC 792 Echo or Echo Reply, pages 14–15: type 8 request and type 0 reply, code 0; identifier/sequence are 16-bit fields and received data must be returned. The ICMP checksum covers the whole ICMP message, excluding its outer IP header. Odd lengths use a computational zero pad. This diagnostic compares expected fields and data after checksum validation; that is a chosen matching policy, not cryptographic authentication. RFC 1122 §3.2.2.6 supplies later host requirements. No wall-clock timing or actual ping packets are used. Erratum 1703 is Held for Document Update: Echo Type is an ICMP field, not an IP field; the format and protocol 1 distinction are explicit here.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 792

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗