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

NE40E-M2 V800R010C10SPC500 Feature Description - LAN Access and MAN Access 01

This is NE40E-M2 V800R010C10SPC500 Feature Description - LAN Access and MAN Access

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).
Proxy ARP on a Termination Sub-interface

Proxy ARP on a Termination Sub-interface

On the network shown in Figure 7-11 and Figure 7-12, a termination sub-interface allows a VLAN range to access the same network segment. Users on the same network segment belong to different VLANs in the VLAN range. In this scenario, users cannot communicate with each other at Layer 2. IP forwarding must be performed on the termination sub-interface. To support IP forwarding, the termination sub-interface must support proxy ARP.

Proxy ARP can be configured on a sub-interface for Dot1q VLAN tag termination or sub-interface for QinQ VLAN tag termination, based on whether the user packets received by a PE contain one or two VLAN tags.

  • If the user packets contain one tag, the sub-interface that has proxy ARP configured is a sub-interface for Dot1q VLAN tag termination.

  • If the user packets contain double tags, the sub-interface that has proxy ARP configured is a sub-interface for QinQ VLAN tag termination.

Proxy ARP on a Sub-interface for Dot1q VLAN Tag Termination

On the network shown in Figure 7-11, PC1 and PC2 belong to VLAN 100; PC3 belongs to VLAN 200; Switch 1 is a Layer 2 switch, which allows any VLAN packets to pass; PC1, PC2, and PC3 are on the same network segment.

When PC1 and PC3 want to communicate with each other, PC1 sends an ARP request to PC3 to obtain PC3's MAC address. However, as PC1 and PC3 are in different VLANs, PC3 fails to receive the ARP request from PC1.

To solve this problem, configure proxy ARP on the sub-interface for Dot1q VLAN tag termination. The detailed communication process is as follows:
  1. PC1 sends an ARP Request message to request PC3's MAC address.
  2. After receiving the ARP Request message, the PE checks the destination IP address of the message and finds that the destination IP address is not the IP address of its sub-interface for Dot1q VLAN tag termination. Then, the PE searches its ARP table for the PC3's ARP entry.
    • If the PE finds this ARP entry, the PE checks whether inter-VLAN proxy ARP is enabled.

      • If inter-VLAN proxy ARP is enabled, the PE sends the MAC address of its sub-interface for Dot1q VLAN tag termination to PC1.
      • If inter-VLAN proxy ARP is not enabled, the PE discards the ARP Request message.
    • If the PE does not find this ARP entry, the PE discards the ARP Request message sent by PC1 and checks whether inter-VLAN proxy ARP is enabled.

      • If inter-VLAN proxy ARP is enabled, the PE sends an ARP Request message to PC3. After the PE receives an ARP Reply message from PC3, an ARP entry of PC3 is generated in the PE's ARP table.
      • If inter-VLAN proxy ARP is not enabled, the PE does not perform any operations.
  3. After learning the MAC address of the sub-interface for Dot1q VLAN tag termination, PC1 sends IP packets to the PE based on this MAC address.

After receiving the IP packets, the PE forwards them to PC3.

Figure 7-11 Proxy ARP on a sub-interface for Dot1q VLAN tag termination

Proxy ARP on a Sub-interface for QinQ VLAN Tag Termination

A termination sub-interface allows a VLAN range to access the same network segment. Users on the same network segment belong to different VLANs in the VLAN range. In this scenario, users cannot communicate with each other at Layer 2. IP forwarding must be performed on the termination sub-interface. To support IP forwarding, the termination sub-interface must support proxy ARP.

On the network shown in Figure 7-12, PC1 and PC2 belong to VLAN 100; PC3 belongs to VLAN 200; Switch 1 has selective QinQ enabled and adds outer VLAN tag 1000 to the packets sent by Switch 2 and Switch 3 to the PE; PC1, PC2, and PC3 are on the same network segment.

When PC1 and PC3 want to communicate with each other, PC1 sends an ARP request to PC3. However, as PC1 and PC3 are in different VLANs, PC3 fails to receive the ARP request from PC1.

To solve this problem, enable proxy ARP on the sub-interface for QinQ VLAN tag termination. The detailed communication process is as follows:
  1. PC1 sends an ARP Request message to request PC3's MAC address.
  2. After receiving the ARP Request message, the PE checks the destination IP address of the message and finds that the destination IP address is not the IP address of its sub-interface for QinQ VLAN tag termination. Then, the PE searches its ARP table for the PC3's ARP entry.
    • If the PE finds this ARP entry, the PE checks whether inter-VLAN proxy ARP is enabled.

      • If inter-VLAN proxy ARP is enabled, the PE sends the MAC address of its sub-interface for QinQ VLAN tag termination to PC1.
      • If inter-VLAN proxy ARP is not enabled, the PE discards the ARP Request message.
    • If the PE does not find this ARP entry, the PE discards the ARP Request message sent by PC1 and checks whether inter-VLAN proxy ARP is enabled.

      • If inter-VLAN proxy ARP is enabled, the PE sends an ARP Request message to PC3. After the PE receives an ARP Reply message from PC3, an ARP entry of PC3 is generated in the PE's ARP table.
      • If inter-VLAN proxy ARP is not enabled, the PE does not perform any operations.
  3. After learning the MAC address of the sub-interface for QinQ VLAN tag termination, PC1 sends IP packets to the PE based on this MAC address.

After receiving the IP packets, the PE forwards them to PC3.

Figure 7-12 Proxy ARP on a sub-interface for QinQ VLAN tag termination

Download
Updated: 2019-01-02

Document ID: EDOC1100058405

Views: 20907

Downloads: 29

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next