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

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services

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 Proxy ARP Within a VLAN

Configuring Proxy ARP Within a VLAN

Proxy ARP within a VLAN allows communication between devices in the same VLAN but configured with interface isolation.

Usage Scenario

If two users belong to the same VLAN but user isolation is configured in the VLAN, and communication is required between them, you can enable proxy ARP within the VLAN on the interfaces in the VLAN.

Pre-configuration Tasks

Before configuring proxy ARP within the VLAN, configure user isolation within a VLAN.

Configuration Procedures

Figure 2-2 Flowchart for configuring proxy ARP within a VLAN

Configuring an IP Addresses for an Interface

The IP address assigned to an interface needs to be in the same network segment with the IP addresses of the users of all the VLANs associatedto this interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [ .subinterface-number ]

    The sub-interface view is displayed.

    Proxy ARP within a VLAN can be configured on Ethernet sub-interfaces, GE sub-interfaces, Eth-Trunk sub-interfaces.

  3. Run ip address ip-address { mask | mask-length } [ sub ]

    An IP address is configured for the sub-interface.

  4. Run commit

    The configuration is committed.

(Optional) Associating the Sub-interface with a VLAN

Before you configure proxy ARP within a VLAN on Ethernet sub-interfaces, GE interfaces, or Eth-Trunk sub-interfaces, associate the sub-interface with a VLAN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [ .subinterface-number ]

    The sub-interface view is displayed.

  3. Run vlan-type dot1q vlan-id

    The sub-interface is associated with a VLAN.

  4. Run commit

    The configuration is committed.

Enabling Proxy ARP Within a VLAN

To enable communication between isolated devices within the same VLAN, proxy ARP within the VLAN is required.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [ .subinterface-number ]

    The sub-interface view is displayed.

  3. Run arp-proxy inner-sub-vlan-proxy enable

    Proxy ARP within a VLAN is enabled on the sub-interface or VLANIF interface.

  4. Run commit

    The configuration is committed.

Verifying the Configuration of Proxy ARP Within a VLAN

After configuring proxy ARP within a VLAN, verify the configuration.

Prerequisites

Proxy ARP within a VLAN has been configured.

Procedure

  • Run the display arp interface interface-name command to check the ARP mapping table on a specified interface.
  • Run the display arp slot slot-id command to check the ARP mapping table on the boardin a specified slot.
  • Run the display arp vpn-instance vpn-instance-name slot slot-id [ dynamic | static ] command to check the ARP mapping table for a specified VPN instance.

Example

Run the display arp interface command. The command output shows the ARP entries on a specified interface.

<HUAWEI> display arp interface gigabitethernet0/1/0
ARP timeout:1200s
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.11    0000-0a41-0201            I -         GE0/1/0       r1
192.168.1.1     0000-0a41-0200  15        D-6         GE0/1/0       r1
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0

Run the display arp slot command. The command output shows the ARP entries on the board in a specified slot.

<HUAWEI> display arp slot 1
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.12    0000-0a41-0202            I -         GE0/1/1       r2
192.168.1.1     0000-0a41-0200  17        D-6         GE0/1/1       r2
192.168.1.11    0000-0a41-0201            I -         GE0/1/0       r1
192.168.1.1     0000-0a41-0200  17        D-6         GE0/1/0       r1
------------------------------------------------------------------------------
Total:4         Dynamic:2       Static:0    Interface:2    Remote:0

Run the display arp vpn-instance command. The command output shows the ARP mapping table for a specified VPN instance.

<HUAWEI> display arp vpn-instance r1
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.11    0000-0a41-0201            I -         GE0/1/1       r1
192.168.1.1     0000-0a41-0200  12        D-6         GE0/1/2       r1
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 21494

Downloads: 48

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next