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

What do the address pieces mean?

03

Read size instructions, locate four address fields and reject an incomplete capture.

RFC 826 · Packet formatEXAMPLE
1 / 4 · A question or answer carries four address pieces

There is a sender’s local label and IP, then a target’s local label and IP. These are ARP fields inside an Ethernet frame, not an IP packet wrapping another IP packet.

Four address pieces inside one ARP message

Sender label · SHA02:00:00:00:0a:11
Sender IP · SPA192.0.2.10
Target label · THA00:00:00:00:00:00
Target IP · TPA192.0.2.20

Question target label 00:00:00:00:00:00 means unknown here; it differs from outer broadcast.

What happens if you change this?

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

3 / 3
03
The opcode determines request or reply, not the shape of an IP header.

The opcode determines request or reply, not the shape of an IP header.

What do the address pieces mean?Read size instructions, locate four address fields and reject an incomplete capture.hardware typeprotocol typehlen 6plen 4opcodesender MAC · 6 octetssender IPv4 · 4 octetstarget MAC · 6 octetstarget IPv4 · 4 octetsVariable lengths determine each address boundaryEthernet/IPv4 worked example; schematic field widths

Key idea: Read the size labels before the addresses, and distinguish the frame’s protocol selector from ARP’s address-family selector.

Terms
ARP
Address Resolution Protocol: ask which local hardware label goes with a selected protocol address.
MAC address
An Ethernet interface’s six-byte local delivery label. It can change and is not proof of identity.
Next hop
The next local recipient selected by routing, which may be a router.
ARP cache
A local table remembering claimed address-to-label mappings.
ARP Probe
A later address-conflict question sent before claiming a candidate address.

Look up a term in the glossary ↗

Rules & examples

Read the sizes first; ARP address fields sit inside an Ethernet frame.

These reference examples may differ from the selected experiment.

  • For Ethernet/IPv4, hardware and protocol address lengths are six and four octets.
  • Multibyte values use the specified network transmission order.

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

RFC 826 Packet format: HRD 16,PRO 16,HLN 8,PLN 8,OP 16 bits, followed by SHA,SPA,THA,TPA with declared lengths. General ARP fields occupy 8+2 h+2 p bytes; selected Ethernet/IPv4 values 1,0800,6,4 give 28. Multi-byte values are most-significant byte first: request 0001 and reply 0002. This parser supports only that profile, checks bounds, and leaves trailing bytes as link padding. A 27-byte input is a truncated capture/buffer, not a conforming minimum Ethernet frame. Chosen padding adds 18 zero bytes to reach 46 data bytes; Ethernet header 14 yields 60 bytes excluding FCS. There is no ARP checksum field or inner IP header. Verified editorial erratum 7909 corrects the ether_type spelling; RFC 5494 governs assignments.

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 826

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 ↗