ARP Message Format

The Hardware Type (HRD) field specifies the Layer 1 technology powering the network and thus also identifies the type of addressing employed.

HRD ValueHardware Type
1Ethernet (10 mb)
6IEEE 802 Network
7ARCNET
15Frame Relay
16Asynchronous Transfer Mode (ATM)
17HDLC
18Fibre Channel
19Asynchronous Trasfer Mode (ATM)
20Serial Line

The Protocol Type (PRO) field specifies the type of Layer 3 addresses used in the ARP message. The value for this field match the EtherType codes in an Ethernet frame.

The Hardware Address Length (HLN) and Protocol Address Length (PLN) specify the lengths, respectively, of the Layer 2 and Layer 3 address used in the ARP message. ARP supports addresses of different sizes in order to be able to operate with technologies which differ from IP and IEEE 802 MAC addresses.

The Opcode (OP) indicates the type of message being transmitted.

OpcodeMessage Type
1ARP Request
2ARP Reply
3RARP Request
4RARP Reply
5DRARP Request
6DRARP Reply
7DRARP Error
8InARP Request
9InArp Reply

The Sender Hardware Address (SHA) is the hardware address of the host issuing the ARP request.

The Sender Protocol Address (SPA) is the Layer 3 address of the device issuing the ARP request.

The Target Hardware Address (THA) is where the hardware address of the sought device goes.

The Target Protocol Address (TPA) is the Layer 3 address of the sought device.