To avoid the preceding problems, configure the strict ARP learning function on the gateway. This function allows the gateway to learn only ARP entries for ARP Reply packets in response to ARP Request packets that it has sent. In this way, the gateway can prevent most ARP attacks.
Strict ARP learning can be configured globally or in the interface view.
When strict ARP learning is enabled globally and in the interface view simultaneously, the configuration on the interface takes precedence over the global configuration.
The firewall installed on a PC may prevent the PC from sending ARP Reply packets after the PC receives ARP Request packets, or the network adapter cannot reply with ARP Reply packets. If a device with strict ARP learning enabled triggers an ARP Miss message, the PC does not respond. As a result, the device cannot learn the PC's ARP entry. If this problem occurs on only a few user hosts, configure static ARP entries (for details, see Configuring Static ARP in "ARP Configuration" in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - IP Service) for the user hosts; if the problem occurs on most user hosts, disable strict ARP learning on the device.