Arp table – H3C Technologies H3C S12500 Series Switches User Manual
Page 15

2
1.
Host A looks through the ARP table for an ARP entry for Host B. If one entry is found, Host A uses
the MAC address in the entry to encapsulate the IP packet into a data link layer frame. Then Host
A sends the frame to Host B.
2.
If Host A finds no entry for Host B, Host A buffers the packet and broadcasts an ARP request. The
payload of the ARP request comprises the following information:
{
Sender IP address and sender MAC address—Host A's IP address and MAC address
{
Target IP address—Host B's IP address
{
Target MAC address—An all-zero MAC address
All hosts on this subnet can receive the broadcast request, but only the requested host (Host B)
processes the request.
3.
Host B compares its own IP address with the target IP address in the ARP request. If they are the
same, Host B:
a.
Adds the sender IP address and sender MAC address into its ARP table.
b.
Encapsulates its MAC address into an ARP reply.
c.
Unicasts the ARP reply to Host A.
4.
After receiving the ARP reply, Host A:
a.
Adds the MAC address of Host B into its ARP table.
b.
Encapsulates the MAC address into the packet and sends the packet to Host B.
Figure 2 ARP address resolution process
If Host A and Host B are on different subnets, Host A sends a packet to Host B as follows:
5.
Host A broadcasts an ARP request where the target IP address is the IP address of the gateway.
6.
The gateway responds with its MAC address in an ARP reply to Host A.
7.
Host A uses the gateway's MAC address to encapsulate the packet, and then sends the packet to
the gateway.
8.
If the gateway has an ARP entry for Host B, it forwards the packet to Host B directly. If not, the
gateway broadcasts an ARP request, in which the target IP address is the IP address of Host B.
9.
After the gateway gets the MAC address of Host B, it sends the packet to Host B.
166B
ARP table
An ARP table stores dynamic and static ARP entries.
- 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