Arp table, Dynamic arp entry, Static arp entry – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 14

3
Figure 2 ARP address resolution process
If Host A and Host B are not on the same subnet:
1.
Host A sends an ARP request to the gateway. The target IP address in the ARP request is the IP
address of the gateway.
2.
After obtaining the MAC address of the gateway from an ARP reply, Host A sends the packet to the
gateway.
3.
If the gateway maintains the ARP entry of Host B, it forwards the packet to Host B directly; if not,
it broadcasts an ARP request, in which the target IP address is the IP address of Host B.
4.
After obtaining the MAC address of Host B, the gateway sends the packet to Host B.
ARP table
After obtaining a host’s MAC address, the device adds the IP-to-MAC mapping into its own ARP table.
This mapping is used for forwarding packets with the same destination in future.
An ARP table contains dynamic and static ARP entries.
Dynamic ARP entry
A dynamic entry is automatically created and maintained by ARP. It can age out, be updated by a new
ARP packet, or be overwritten by a static ARP entry. A dynamic ARP entry is removed when its age timer
expires or the interface goes down.
Static ARP entry
A static ARP entry is manually configured and maintained. It does not age out or cannot be overwritten
by any dynamic ARP entry.
Static ARP entries protect communication between devices, because attack packets cannot modify the
IP-to-MAC mapping in a static ARP entry.
Static ARP entries can be classified into long and short ARP entries.
•
A long static ARP entry can be used to forward packets directly, because it includes not only the IP
address and MAC address, but also a configured VLAN and outbound interface.
•
A short static ARP entry includes only an IP address and a MAC address configured. Because the
outbound interface is a Layer 2 Ethernet interface, it cannot be directly used for forwarding data. If
a short static ARP entry matches an IP packet to be forwarded, the device sends an ARP request first.
If the sender IP and MAC addresses in the received ARP reply are the same as those in the short
static ARP entry, the device adds the interface receiving the ARP reply to the short static ARP entry.
Then the entry can be used for forwarding IP packets.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points