Arp configuration, Arp overview, Arp function – H3C Technologies H3C SecPath F1000-E User Manual

Page 2: Arp message format

Advertising
background image

1

ARP Configuration

This chapter includes these sections:

ARP Overview

Configuring ARP

Displaying and Maintaining ARP

ARP Configuration Example

ARP Overview

ARP Function

The Address Resolution Protocol (ARP) is used to resolve an IP address into a physical address (Ethernet

MAC address, for example).
In an Ethernet LAN, when a device sends data to another device, it uses ARP to translate the IP address

of that device to the corresponding MAC address.

ARP Message Format

ARP messages are classified into ARP requests and ARP replies.

Figure 1

shows the format of the ARP

request/reply.

Figure 1 ARP message format


The following describe the fields in

Figure 1

.

Hardware type: This field specifies the hardware address type. The value “1” represents Ethernet.

Protocol type: This field specifies the type of the protocol address to be mapped. The hexadecimal
value “0x0800” represents IP.

Hardware address length and protocol address length: They respectively specify the length of a
hardware address and a protocol address, in bytes. For an Ethernet address, the value of the

hardware address length field is "6”. For an IP(v4) address, the value of the protocol address length

field is “4”.

OP: Operation code. This field specifies the type of the ARP message. The value “1” represents an
ARP request and “2” represents an ARP reply.

Advertising
This manual is related to the following products: