ARP provides a mechanism for mapping IP addresses to MAC addresses to implement data forwarding through Ethernet networks.
The Address Resolution Protocol (ARP) is an Internet protocol used to map IP addresses to MAC addresses.
If two hosts need to communicate, the sender must know the network-layer IP address of the receiver. IP datagrams, however, must be encapsulated with MAC addresses before they can be transmitted over the physical network. Therefore, ARP is needed to map IP addresses to MAC addresses to ensure the transmission of datagrams.
Feature |
Description |
Usage Scenario |
---|---|---|
Devices dynamically learn and update the mapping between IP and MAC addresses by exchanging ARP messages. |
Real-time communication is a priority, or network resources are insufficient. |
|
The mapping between IP and MAC addresses is manually created and cannot be dynamically modified. |
Communication security is a priority, and network resources are sufficient. |
|
A device broadcasts gratuitous ARP packets that carry the local IP address as both the source and destination IP addresses to notify the other devices on the same network segment of its address information. |
Gratuitous ARP is used to check whether the local IP address conflicts with that of another device, to notify other devices on the same network segment of the new MAC address after the local network interface card is replaced, or to notify master/slave switchovers in a Virtual Router Redundancy Protocol (VRRP) backup group. |
|
If a proxy ARP-enabled device receives an ARP request message that destined for another device, the proxy ARP-enabled device encapsulates its MAC address into an ARP reply message and sends the packet to the device that sends the ARP request message. |
|
|
ARP-Ping uses ARP or ICMP request messages to detect whether an IP or MAC address to be configured for a device is in use. |
To prevent address conflict, send ARP messages to check whether an address is already in use on the network before configuring an IP or MAC address for a device. |
|
Dual-device ARP hot backup enables ARP entries on the control and forwarding planes to be synchronized between the master and backup devices in real time. When the backup device switches to the master device, host route information is generated based on the backup ARP entries on the backup device. |
Dual-device ARP hot backup prevents downlink traffic from being interrupted because the backup device does not learn ARP entries from a device on the user side during a master/backup VRRP switchover, which improves network reliability. |