Configuring arp, Overview, Arp message format – H3C Technologies H3C SecPath F1000-E User Manual
Page 267: Arp operation
242
Configuring ARP
The term "router" in this chapter refers to both routers and firewalls.
Overview
ARP resolves IP addresses into physical addresses such as MAC addresses. On an Ethernet LAN, a
device uses ARP to get the MAC address of the target device for a packet.
ARP message format
ARP uses two types of messages, ARP request and ARP reply.
shows the format of the ARP
request/reply. Numbers in the figure refer to field lengths.
Figure 150 ARP message format
The following describes the fields in
.
•
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, in bytes. 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 type of the 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.
ARP operation
If Host A and Host B are on the same subnet and Host A sends a packet to Host B, as shown in
, the resolution process is:
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer