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 Between VLANs

Configuring Proxy ARP Between VLANs

Proxy ARP between VLANs allows communication between devices in different VLANs.

Usage Scenario

If two hosts belong to different VLANs and communication is required between them, proxy ARP between VLANs must be enabled on interfaces associated with the VLANs.

Pre-configuration Tasks

Before configuring proxy ARP between VLANs, configure VLAN aggregation.

Configuration Procedures

Figure 2-3 Flowchart for configuring proxy ARP between VLANs

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 associated to 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 between VLANs 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 between VLANs 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 Between VLANs

To enable communication between devices in different VLANs, proxy ARP between VLANs 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 inter-sub-vlan-proxy enable

    Proxy ARP between VLANs is enabled on the sub-interface .

  4. Run commit

    The configuration is committed.

Verifying the Configuration of Proxy ARP Between VLANs

After configuring proxy ARP between VLANs, verify the configuration.

Prerequisites

Proxy ARP between VLANs has been configured.

Procedure

  • Run the display arp interface interface-name command to check ARP entries on a specified interface.
  • Run the display arp slot slot-id command to check ARP entries on the boardin a specified slot.
  • Run the display arp vpn-instance vpn-instance-name slot slot-id [ dynamic | static ] command to check ARP entries 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: 15568

Downloads: 33

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