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

Reminder

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

upgrade

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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).
Configuring Multi-Interface ARP

Configuring Multi-Interface ARP

After you configure multi-interface ARP, a device forwards packets destined for an NLB group to all servers in the group through interfaces connected to the servers.

Pre-configuration Tasks

Before configuring multi-interface ARP, complete the following task:
  • Creating VLANs and adding interfaces to these VLANs
NOTE:

The VLAN cannot be a super-VLAN, sub-VLAN, or control VLAN of an SEP segment.

Context

All servers in an NLB group share a virtual IP address and a virtual MAC address. When the NLB group works in unicast mode, the virtual MAC address is a unicast MAC address. When the NLB group works in multicast mode, the virtual MAC address is a multicast MAC address. In both modes, when a device directly connects to the NLB group and functions as the access gateway, the device needs to forward packets destined for the virtual IP address to all servers in the NLB group, and each server determines how to process the packets. You can configure multi-interface ARP on the device to allow it to forward packets destined for the virtual IP address to all servers in the NLB group.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Use the following methods to configure a multi-interface MAC address entry.

    Configure a multi-interface MAC address entry in the system view for the first time. When a multi-interface MAC address entry has been created and you need to add or delete an interface, add or delete the interface in its interface view.

    • Configure a multi-interface MAC address entry in the system view.

      Run mac-address multiport mac-address interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-5> vlan vlan-id

      A multi-interface MAC address entry is configured.

      By default, no multi-interface MAC address entry is configured on a device.

      When configuring a multi-interface MAC address entry, ensure that the specified MAC address and VLAN ID are simultaneously different from those in a static MAC address entry or a blackhole MAC address entry.

      The value of interface-number2 must be greater than that of interface-number1, and the two values determine an interface range.

    • Configure a multi-interface MAC address entry in the interface view.

      1. Run interface interface-type interface-number

        The interface view is displayed.

      2. Run mac-address multiport mac-address vlan vlan-id

        A multi-interface MAC address entry is configured.

        By default, no multi-interface MAC address entry is configured.

        When configuring a multi-interface MAC address entry, ensure that the specified MAC address and VLAN ID are simultaneously different from those in a static MAC address entry or a blackhole MAC address entry.

      3. Run quit

        Return to the system view.

      Repeat the preceding steps on multiple interfaces to respectively configure a MAC address to match multiple outbound interfaces in the MAC address table.

  3. Run arp static ip-address mac-address [ vpn-instance vpn-instance-name ]

    A short static ARP entry is configured.

    By default, the ARP mapping table is empty and address mappings are obtained using dynamic ARP.

    You must set mac-address to the same as the MAC address in the multi-interface MAC address entry.

Checking the Configuration

After the configurations are complete, run the following commands in any view to check the multi-interface ARP configurations.

  • Run the display mac-address multiport [ [ mac-address ] vlan vlan-id ] [ total-number ] command to check the multi-interface MAC address table.
  • Run the display arp static command to check the static ARP mapping table.
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 82441

Downloads: 54

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next