Visual RFC.
ALL RFCs / RFC 3442
Read the RFC ↗
RFC 3442 / DHCPV4 ROUTING

Decode a partial final octet

02

A mask width need not be a multiple of eight. Read enough destination octets, then remove every host bit.

RFC 3442 · Classless Route Option Format (unnumbered; page 4)EXAMPLE
4 / 4
Decode a partial final octetA mask width need not be a multiple of eight. Read enough destination octets, then remove every host bit.129.210.177.128/25 via 192.0.2.1.128.255This /25 covers a network rangeNot just the original host .132RFC3442 · chapter2 state4 · illustrative / schematic
04
Install the normalized network

The resulting route is 129.210.177.128/25 via the fictional next hop 192.0.2.1. It covers the network, not only host .132.

Source for this drawing: RFC 3442 · Read RFC source: Classless Route Option Format (unnumbered; page 4) ↗

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.

KEY POINT

Read ceil(width / 8) octets; install destination AND mask.

  • Widths 0, 1–8, 9–16, 17–24, and 25–32 require 0, 1, 2, 3, and 4 destination octets respectively.
  • The client MUST zero destination bits where the corresponding mask bit is zero before installing the route.
  • For the RFC’s /25 example, 129.210.177.132 becomes 129.210.177.128 with mask 255.255.255.128.
DETAILS

The worked example deliberately uses the published nonzero host bits to show normalization. A /32 keeps all four octets; /0 keeps none. The helper rejects truncated input as an implementation guard, not a new RFC error rule.

Read the RFC section ↗

All chapters in RFC 3442

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 ↗