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

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

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 multi-interface ARP is configured, a device can send the packets destined for the cluster IP address of NLB servers from all the outbound interfaces connected to the NLB servers.

Pre-configuration Tasks

Before configuring multi-interface ARP, complete the following tasks:
  • Create VLANs and add interfaces to these VLANs.
NOTE:

The VLAN cannot be a super-VLAN, sub-VLAN, MUX VLAN, or control VLAN of Smart Ethernet Protection (SEP).

Context

All servers in an NLB cluster use the same cluster IP address and cluster MAC address. An NLB cluster can work in unicast or multicast mode where the cluster MAC address is a unicast or multicast MAC address accordingly. Regardless of whether the cluster works in unicast or multicast mode, when a device is directly connected to NLB servers and functions as their access gateway, the device needs to send a packet from a client to the cluster IP address to each server in the NLB cluster. Then the servers determine whether to process the packet. After multi-interface ARP is configured, the device can send the packet destined for the cluster IP address to each server in the NLB cluster.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure a MAC address entry mapping multiple outbound interfaces in the system view or interface view.

    If the MAC address entry mapping multiple outbound interfaces is configured for the first time, run commands in the system view. If the MAC address entry mapping multiple outbound interfaces has been created and a certain interface needs to be added or deleted, run commands in the corresponding interface view.

    • Configuring a MAC address entry mapping multiple outbound interfaces in the system view

      Run the mac-address multiport mac-address interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-5> vlan vlan-id command to configure the MAC address entry mapping multiple outbound interfaces in the system view.

      By default, no MAC address entries on the device map multiple outbound interfaces.

      When you configure a MAC address entry mapping multiple outbound interfaces, the specified MAC address and VLAN ID must be different from those in the static MAC address entry or blackhole MAC address entry.

      The value of interface-number2 must be greater than that of interface-number1, and interface-number1 and interface-number2 determine an interface range. For AR1200 series, AR2200 series, AR3600 series, and AR3200 series routers, the interfaces mapping a MAC address entry must be located on the same card.

    • Configuring a MAC address entry mapping multiple outbound interfaces 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

        The MAC address entry mapping multiple outbound interfaces is configured in the interface view.

        By default, no MAC address entries on the device map multiple outbound interfaces.

        When you configure a MAC address entry mapping multiple outbound interfaces, the specified MAC address and VLAN ID must be different from those in the static MAC address entry or blackhole MAC address entry.

      3. Run quit

        Return to the system view.

      Repeat the preceding steps on each outbound interface so that a MAC address in the MAC address table can map multiple outbound interfaces.

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

    The short static ARP entry is configured.

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

    The value of mac-address must be the same as the MAC address in the configured MAC address entry mapping multiple outbound interfaces.

Verifying the Configuration

  • Run the display mac-address multiport [ [ mac-address ] vlan vlan-id ] [ total-number ] command to check the MAC address entry mapping multiple outbound interfaces.
  • Run the display arp static command to check static ARP entries.
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 33529

Downloads: 167

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