Skip to Content
Internet Core Protocols: The Definitive Guide
book

Internet Core Protocols: The Definitive Guide

by Eric Hall
February 2000
Intermediate to advanced
464 pages
15h 57m
English
O'Reilly Media, Inc.
Content preview from Internet Core Protocols: The Definitive Guide

The ARP Packet

An ARP packet works at approximately the same layer as IP. It communicates with the data-link services provided by the physical medium, and as such, ARP is a separate protocol than IP (and is identified separately by any network that both categorizes the protocols being carried in the low-level frames and supports ARP directly). The ethertype for ARP is 0806 as opposed to the ethertype for IP, which is 0800.

According to RFC 826, an ARP packet is made up of nine fields. The total size of the packet will vary according to the size of the physical addresses in use on the local network medium.

The fields in an ARP packet are listed in Table 3.1.

Table 3.1. The Fields in an ARP Packet

Header Field

Bytes

Usage Notes

Hardware Type

2

Identifies the medium-specific address type being requested.

Protocol Type

2

Identifies the higher-layer protocol information being discussed (which is always IP as far as we’re concerned).

Hardware Address Length

1

Specifies the size of the physical medium’s hardware address, in bytes. Since each network uses different physical addressing mechanisms, this field is required for other fields further in the ARP packet.

Protocol Address Length

1

Specifies the size of the higher-layer protocol’s address, in bytes. This is always 4 (32 bits) for IP.

Message Type

2

Identifies the purpose for this ARP packet (“request” or “response”).

Source Hardware Address

varies

Identifies the hardware address of the system issuing the ARP broadcast.

Source IP Address

varies

Identifies ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Packet Guide to Core Network Protocols

Packet Guide to Core Network Protocols

Bruce Hartpence
Ethernet: The Definitive Guide, 2nd Edition

Ethernet: The Definitive Guide, 2nd Edition

Charles E. Spurgeon, Joann Zimmerman

Publisher Resources

ISBN: 1565925726Supplemental ContentErrata Page