Configuring arp, Overview, Arp message format – H3C Technologies H3C S12500 Series Switches User Manual
Page 14: Arp operating mechanism

1
0B
Configuring ARP
The device operates in IRF or standalone (the default) mode. For information about IRF mode, see IRF
Configuration Guide.
This chapter describes how to configure the Address Resolution Protocol (ARP).
23B
Overview
ARP resolves IP addresses into MAC addresses on Ethernet networks.
164B
ARP message format
ARP uses two types of messages: ARP request and ARP reply.
657H
Figure 1
shows the format of ARP
request/reply messages. Numbers in the figure refer to field lengths.
Figure 1 ARP message format
•
Hardware type—Hardware address type. The value 1 represents Ethernet.
•
Protocol type—Type of the protocol address to be mapped. The hexadecimal value 0x0800
represents IP.
•
Hardware address length and protocol address length—Length, in bytes, of a hardware address
and a protocol address. For an Ethernet address, the value of the hardware address length field is
6. For an IPv4 address, the value of the protocol address length field is 4.
•
OP—Operation code, which describes the type of ARP message. Value 1 represents an ARP request,
and value 2 represents an ARP reply.
•
Sender hardware address—Hardware address of the device sending the message.
•
Sender protocol address—Protocol address of the device sending the message.
•
Target hardware address—Hardware address of the device to which the message is being sent.
•
Target protocol address—Protocol address of the device to which the message is being sent.
165B
ARP operating mechanism
As shown in
658H
Figure 2
, Host A and Host B are on the same subnet. Host A sends a packet to Host B as
follows:
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches