< Home

Configuring ARP Gateway Protection

Context

If an attacker poses as a gateway to send ARP packets, other users on the network consider the attacker to be a gateway, causing a communication interruption between authorized users and gateway. This situation will also happen if a user incorrectly sets the host IP address as the gateway address. To prevent such bogus gateway attacks, configure ARP gateway protection on the device's interfaces connected to the gateway. When the ARP packets from a gateway address reach a device:
  • The interfaces with gateway protection enabled can receive and forward the ARP packets.
  • The interfaces without gateway protection enabled discard the ARP packets.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run arp trust source ip-address

    ARP gateway protection is enabled and the protected gateway IP address is set.

    By default, ARP gateway protection is disabled.

    A maximum of 8 protected gateway addresses can be specified on each interface, and 32 can be specified on the entire device. If the same gateway IP address is specified on different interfaces, the system considers that multiple protected gateway IP addresses have been configured.

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