< Home

Configuring ARP Learning Triggered by DHCP

Context

When many DHCP users connect to a network device, the device needs to learn and maintain many ARP entries. This affects device performance.

To address this issue, configure ARP learning triggered by DHCP on the gateway. When the DHCP server allocates an IP address for a user, the gateway generates an ARP entry for the user based on the DHCP ACK packet received on the VLANIF interface.

Before configuring ARP learning triggered by DHCP, ensure that DHCP is enabled using the dhcp enable command.

When both VRRP and DHCP relay are configured on the network, neither the dhcp snooping enable command nor the arp learning dhcp-trigger command can be configured on the VRRP master and backup devices.

You can also deploy DAI to prevent ARP entries of DHCP users from being modified maliciously.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface vlanif vlan-id

    The VLANIF interface view is displayed.

  3. Run arp learning dhcp-trigger

    ARP learning triggered by DHCP is enabled.

    By default, ARP learning triggered by DHCP is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >