ARP

This help contains the following topics:

Introduction

ARP

ARP resolves IP addresses into MAC addresses on Ethernet networks.

An ARP table stores dynamic ARP entries and static ARP entries.

Dynamic ARP entries

ARP automatically creates and updates dynamic entries. A dynamic ARP entry is removed when its aging timer expires or the output interface goes down. In addition, a dynamic ARP entry can be overwritten by a static ARP entry.

Dynamic ARP entries can be converted into static ARP entries, which cannot be converted into dynamic ARP entries again.

To prevent an interface from holding too many ARP entries, you can set the maximum number of dynamic ARP entries that the interface can learn.

Static ARP entries

A static ARP entry is manually configured and maintained. It does not age out and cannot be overwritten by any dynamic ARP entry.

Static ARP entries protect communication between devices because attack packets cannot modify the IP-to-MAC mapping in a static ARP entry.

To communicate with a host by using a fixed IP-to-MAC mapping, configure a short static ARP entry on the device. To communicate with a host by using a fixed IP-to-MAC mapping through an interface in a VLAN, configure a long static ARP entry on the device.

IP-MAC binding entries

The device prevents user spoofing attacks by using an IP-MAC binding table to filter out illegitimate packets with forged source IP addresses or MAC addresses.

IP-MAC binding entries can be created manually or generated in bulk.

Configure IP-MAC binding entries on the device to improve communication security. Upon receiving a packet, the device compares the source IP address and source MAC address in the packet with the IP-MAC binding entries.

ARP protection

ARP protection checks for illegitimate users in a VLAN on interfaces based on the sender IP address and sender MAC address in ARP packets.

When the device acts as a DHCP server, the device forwards ARP packets without inspecting the sender IP address and MAC address in the packets.

In other scenarios, the device forwards an ARP packet only if it finds a matching long static ARP entry for that packet. If no match is found, the device determines that the packet is illegitimate and discards it.

A long static ARP entry contains more information than IP and MAC addresses for forwarding, such as VLAN and output interface information. Support for long static ARP entries depends on the device model. This feature is available on the Web interface only if it is supported.

vSystem support information

Support of non-default vSystems for this feature depends on the device model. This feature is available on the Web interface only if it is supported.

Configure ARP

Prerequisites

Complete the following tasks before you configure this feature:

Configure IP-MAC binding entries

To have the IP-MAC binding entries take effect, enable the IP-MAC binding feature on the specified interface. After you enable this feature on an interface, the device uses IP-MAC binding entries to match the source IP address and source MAC address in incoming packets.

To configure IP-MAC binding entries:

  1. Click the Network tab.

  2. In the navigation pane, select ARP.

  3. In the IP-MAC binding settings area, configure parameters as shown in Table-1.

    Figure-1 Configuring IP-MAC binding

    Table-1 IP-MAC binding configuration items

    Item

    Description

    IP-MAC binding

    Select whether to enable the IP-MAC binding feature.

    Interface IP-MAC binding

    Enable the IP-MAC binding feature on specified interfaces. After you enable IP-MAC binding on an interface, the device uses IP-MAC binding entries to match the source IP address and source MAC address in incoming packets.

    1. Filter interfaces in Interface List.

      • Click the Add icon to add selected interfaces to Member List.

      • Click the Add All icon to add all interfaces in Interface List to Member List.

    2. Click OK.

    Default action

    Default action for packets that do not match any IP-MAC binding entries:

    • Permit—Forwards packets.

    • Drop—Drops packets.

  4. In the IP-MAC binding list area, click Create to manually configure an IP-MAC binding entry.

    Figure-2 Creating an IP-MAC binding entry

    Table-2 IP-MAC binding entry configuration items

    Item

    Description

    IP address

    IP address in the IP-MAC binding entry.

    MAC address

    MAC address in the IP-MAC binding entry.

    VRF

    Name of the VPN instance to which the IP-MAC binding entry belongs.

    VLAN

    VLAN to which the IP-MAC binding entry belongs.

    Time range

    Time range during which the IP-MAC binding entry takes effect.

    State

    State of the IP-MAC binding entry:

    • Active.

    • Inactive.

      • Inactive time range.

      • Nonexistent VRF.

      • Inactive VRF and time range.

  5. Click OK. The newly-created IP-MAC binding entry is displayed in the IP-MAC binding list.

    Figure-3 IP-MAC binding entry

Configure ARP entries

  1. Click the Network tab.

  2. In the navigation pane, select ARP.

  3. In the ARP list area, click Create to manually create an ARP entry.

    Figure-4 Creating an ARP entry

    Table-3 ARP entry configuration items

    Item

    Description

    VRF

    Name of the VPN instance to which the ARP entry belongs.

    IP address

    IP address in the ARP entry.

    MAC address

    MAC address in the ARP entry.

    Description

    Description for the ARP entry.

    Specify a VLAN and an interface for packet forwarding

    Select this option to enable packet forwarding on a specified interface in a VLAN.

    Support for this feature depends on the device model. This feature is available on the Web interface only if it is supported.

    VLAN

    Specify a VLAN for packet forwarding. This parameter appears only when you select Specify a VLAN and an interface for packet forwarding.

    Interface

    Specify an interface for packet forwarding. This parameter appears only when you select Specify a VLAN and an interface for packet forwarding.

  4. Click OK. The newly created ARP entry is displayed in the ARP list and its Type field displays Static.

    Figure-5 ARP list

  5. To switch a dynamic ARP entry to a static one, select the dynamic ARP entry, and then click Freeze. After switchover, the static ARP entry cannot be restored to a dynamic one.

    Figure-6 Switching a dynamic ARP entry to a static one

  6. To create IP-MAC binding entries based on ARP entries, select the ARP entries, and then click Create IP-MAC bindings. The generated IP-MAC binding entries are displayed in the IP-MAC binding list.

    Figure-7 IP-MAC binding

Configure ARP protection

  1. Click the Network tab.

  2. In the navigation pane, select ARP.

  3. In the ARP protection area, identify the enabling status of ARP protection for the VLANs on the device.

    Figure-8 ARP protection

    Table-4 ARP protection items

    Item

    Description

    VLAN

    VLAN ID.

    ARP protection status

    ARP protection enabling status:

    • Enabled.

    • Disabled.

  4. Select the target VLANs, and then click Enable or Disable to enable or disable ARP protection for the selected VLANs, respectively.