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

Feature Description - LAN Access and MAN Access 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 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

Proxy ARP

Principles

ARP is applicable only to devices on the same physical network. When a device on a physical network needs to send IP datagrams to another physical network, the gateway is used to query the routing table to implement communication between the two networks. However, routing table query consumes system resources and can affect other services. To resolve this problem, deploy proxy ARP on an intermediate device. Proxy ARP enables devices that reside on different physical network segments but on the same IP network to resolve IP addresses to MAC addresses. This feature helps reduce system resource consumption caused by routing table queries and improves the efficiency of system processing.

Implementation

  • Routed proxy ARP

    A large company network is usually divided into multiple subnets to facilitate management. The routing information of a host in a subnet can be modified so that IP datagrams sent from this host to another subnet are first sent to the gateway and then to another subnet. However, this solution makes it hard to manage and maintain devices. If the gateways to which hosts are connected have different IP addresses, you can deploy routed proxy ARP on a gateway so that the gateway sends its own MAC address to a source host.

    Figure 2-6 illustrates how routed proxy ARP is implemented between Host A and Host B.

    Figure 2-6 Routed proxy ARP implementation

    1. Host A sends an ARP request message for the MAC address of Host B.
    2. After the PE receives the ARP request message, the PE checks the destination IP address of the message and finds that it is not its own IP address and determines that the requested MAC address is not its MAC address. The PE then checks whether there are routes to Host B.
      • If a route to Host B is available, the Interface1 checks whether routed proxy ARP is enabled.
        • If routed proxy ARP is enabled on the PE, the PE sends the MAC address of its Interface 1 to Host A.
        • If routed proxy ARP is not enabled on the PE, the PE discards the ARP request message sent by Host A.
      • If no route to Host B is available, the PE discards the ARP request message sent by Host A.
    3. After Host A learns the MAC address of the PE's Interface 1, Host A sends IP datagrams to the PE using this MAC address.

    The PE receives the IP datagrams and forwards them to Host B:

  • Intra-VLAN proxy ARP

    Figure 2-7 illustrates how intra-VLAN proxy ARP is implemented between Host A and Host C.

    Figure 2-7 Intra-VLAN proxy ARP implementation

    NOTE:
    The type of interface1 could be dot1q termination sub-interface.

    Host A, Host B, and Host C belong to the same VLAN, but Host A and Host C cannot communicate at Layer 2 because port isolation is enabled on the CE. To allow Host A and Host C to communicate, configure a interface1 on the CE and enable intra-VLAN proxy ARP.

    1. Host A sends an ARP request message for the MAC address of Host C.
    2. After the CE receives the ARP request message, the CE checks the destination IP address of the message and finds that it is not its own IP address and determines that the requested MAC address is not the MAC address of its Interface 1. The CE then searches its ARP table for the ARP entry indicating the mapping between the IP and MAC addresses of Host C.
      • If the CE finds this ARP entry in its ARP table, the Interface1 checks whether intra-VLAN proxy ARP is enabled.
        • If intra-VLAN proxy ARP is enabled on the CE, the CE sends the MAC address of its interface1 to Host A.
        • If intra-VLAN proxy ARP is not enabled on the CE, the CE discards the ARP request message sent by Host A.
      • If the CE does not find this ARP entry in its ARP table, the CE discards the ARP request message sent by Host A and checks whether intra-VLAN proxy ARP is enabled.
        • If intra-VLAN proxy ARP is enabled on the CE, the CE broadcasts the ARP request message with the IP address of Host C as the destination IP address within VLAN 4. After the CE receives an ARP reply message from Host C, the CE generates an ARP entry indicating the mapping between the IP and MAC addresses of Host C.
        • If intra-VLAN proxy ARP is not enabled on the CE, the CE does not perform any operations.
    3. After Host A learns the MAC address of interface1, Host A sends IP datagrams to the CE using this MAC address.

    The CE receives the IP datagrams and forwards them to Host C.

  • Local proxy ARP

    Figure 2-8 illustrates how local proxy ARP is implemented between Host A and Host B.

    Figure 2-8 Local proxy ARP implementation

    Host A and Host B belong to the same bride domain (BD) but cannot communicate at Layer 2 because port isolation is enabled on the CE. To enable Host A and Host B to communicate, a VBDIF interface (VBDIF 2) is configured on the CE to implement local proxy ARP.

    1. Host A sends an ARP request message for the MAC address of Host B.

    2. After the CE receives the ARP request message, the CE checks the destination IP address of the message and finds that it is not its own IP address and determines that the requested MAC address is not the MAC address of VBDIF 2. The CE then searches its ARP table for the ARP entry indicating the mapping between the IP and MAC addresses of Host B.
      • If the CE finds this ARP entry in its ARP table, the Interface1 checks whether local proxy ARP is enabled.
        • If local proxy ARP is enabled on the CE, the CE sends the MAC address of VBDIF 2 to Host A.
        • If local proxy ARP is not enabled on the CE, the CE discards the ARP request message.
      • If the CE does not find this ARP entry in its ARP table, the CE discards the ARP request message and checks whether local proxy ARP is enabled.
        • If local proxy ARP is enabled on the CE, the CE broadcasts an ARP request message to request Host B's MAC address. After receiving an ARP reply message from Host B, the CE generates an ARP entry for Host B.
        • If local proxy ARP is not enabled on the CE, the CE does not perform any operations.
    3. After Host A learns the MAC address of VBDIF 2, Host A sends IP datagrams to the CE using this MAC address.

    The CE receives the IP datagrams and forwards them to Host B.

Usage Scenario

Table 2-4 describes the usage scenarios for proxy ARP.

Table 2-4 Proxy ARP usage scenarios

Proxy ARP Type

Usage Scenario

Routed proxy ARP

Two hosts that need to communicate belong to the same network segment but different physical networks. The gateways to which hosts are connected have different IP addresses.

Intra-VLAN proxy ARP

Two hosts that need to communicate belong to the same network segment and the same VLAN in which user isolation is configured.

Inter-VLAN proxy ARP

Two hosts that need to communicate belong to the same network segment but different VLANs.

Local proxy ARP

In an EVC model, two hosts that need to communicate belong to the same network segment and the same BD in which user isolation is configured.

Benefits

Proxy ARP offers the following benefits:

  • Proxy ARP enables a host on a network to consider that the destination host is on the same network segment. Therefore, the hosts do not need to know the physical network details but can be aware of the network subnets.

  • All processing related to proxy ARP is performed on a gateway, with no configuration needed on the hosts connecting to it. In addition, proxy ARP affects only the ARP tables on hosts and does not affect the ARP table and routing table on a gateway.

  • Proxy ARP can be used when no default gateway is configured for a host or a host cannot route messages.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058932

Views: 6097

Downloads: 9

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