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

Where did the packet get stuck?

03

Compare a missing route, a closed UDP endpoint and a packet too large for the next link.

RFC 792 · Destination Unreachable MessageEXAMPLE
1 / 4 · One packet can meet different obstacles

The IP packet is 132 bytes. Its data begins with a UDP header naming destination port 5001. The selected obstacle determines who can report the problem.

Follow one addressed UDP packet

IP destination journey192.0.2.1 → 198.51.100.2
20 IP-header bytes+112 carried bytes=132 IP bytes

UDP destination port: 5001

What happens if you change this?

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

3 / 3
03
Quote the original header and data prefix so the sender can identify the traffic.

Quote the original header and data prefix so the sender can identify the traffic.

Where did the packet get stuck?Compare a missing route, a closed UDP endpoint and a packet too large for the next link.sourcedestinationUDP to closed portICMP type 3 · code 3Original IP header + 64 data bitsThe quotation identifies traffic; it is not peer authentication

Key idea: “Unreachable” has several meanings. Read the reason, the reporting point and the quoted traffic together.

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

The report’s code distinguishes different kinds of obstacle.

These reference examples may differ from the selected experiment.

  • The code qualifies the failure; not all unreachable conditions have the same meaning.
  • The original error includes the IP header and at least the first 64 data bits of the triggering datagram.

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

RFC 792 Destination Unreachable, pages 4–5: type 3 code 0 network unreachable, code 3 port unreachable, code 4 fragmentation needed with DF. This selected UDP case uses ports 40000→5001. Its 20-byte original IP header plus 8 UDP-header bytes form the quote; no user-data bytes appear in that short quote. RFC 1191 §4 assigns the low 16 bits of the formerly-unused word to Next-Hop MTU for code 4; it is zero in these other codes. The bounded original packet has 20 IP+112 UDP bytes. Real hosts/routers have additional error-generation/acceptance rules; a transient no-route report is not permanent proof of a dead host. RFC 4884 extensions are not modeled.

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 ↗