What do the address pieces mean?
03Read size instructions, locate four address fields and reject an incomplete capture.
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
02:00:00:00:0a:11192.0.2.1000:00:00:00:00:00192.0.2.20Question 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.
The opcode determines request or reply, not the shape of an IP header.
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.
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
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.