No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.

Configuration Guide - IP Service
S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Gratuitous ARP

Gratuitous ARP


Gratuitous ARP allows a device to send an ARP Request packet that carries its own IP address as the destination IP address.


Gratuitous ARP has the following functions:

  • Checks for IP address conflicts.

    When the protocol status of a device interface changes to Up, the device broadcasts gratuitous ARP packets. If the device receives an ARP reply, another device is using the same IP address. When detecting an IP address conflict, the device periodically broadcasts gratuitous ARP Reply packets until the conflict is removed.

  • Advertises a new MAC address.

    If the MAC address of a device is changed, the device sends a gratuitous ARP packet to notify all devices of the change before the ARP entry is aged out.

  • Notifies other devices of a master/backup switchover in a VRRP group.

    After a master/backup switchover, the master device broadcasts a gratuitous ARP packet in the VRRP group to notify other devices of the switchover.

Processing of Gratuitous ARP Packets

When a device receives a gratuitous ARP packet:

  • If strict ARP learning is disabled, it updates the ARP entry.
  • If strict ARP learning is enabled, it checks whether the source IP address of the packet is the same as the local IP address:
    • If the IP addresses are the same, the device periodically broadcasts a gratuitous ARP Reply packet to tell the address conflict until the conflict is removed.
    • If the IP addresses are different, the device updates the ARP entry according to the received gratuitous ARP packet. The device performs this update only if it receives the packet on its VLANIF interface and has the dynamic ARP entry mapping the source IP address of the packet.

By default, strict ARP learning is disabled.

For the application of strict ARP learning, see Configuring Strict ARP Learning in "ARP Security Configuration" in the S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Security.

For the application of gratuitous ARP in the security feature, see Gratuitous ARP Packet Sending in "ARP Security Configuration" in the S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Security.

Updated: 2020-02-26

Document ID: EDOC1000178170

Views: 275146

Downloads: 1029

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next