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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 VLAN through which protocol packets are transparently transmitted.

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.

      Run:

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

      A multi-interface MAC address entry is configured.

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

      You can set mac-address to a unicast or multicast MAC address, excluding 0000-0000-0000 or FFFF-FFFF-FFFF.

      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.

        You can set mac-address to a unicast or multicast MAC address, excluding 0000-0000-0000 or FFFF-FFFF-FFFF.

      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.

  4. Run:

    commit

    The configuration is committed.

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 | vlan vlan-id [ total-number ] ] command to check the multi-interface MAC address table.
  • Run the display arp [ network network-address [ network-mask | mask-length ] ] static command to check the static ARP mapping table.
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 58294

Downloads: 3621

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