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

CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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

Configuring Proxy ARP

The router can function as a proxy of the destination host to respond to ARP Request packets that are unreachable in some special scenarios.

Pre-configuration Task

Before configuring proxy ARP, complete the following task:

  • Setting link layer protocol parameters for interfaces to ensure that the link layer protocol status of the interfaces is Up

Configuration Procedure

You can perform the following configuration tasks in any sequence.

Configuring Routed Proxy ARP

Context

When an enterprise network is divided into subnets, two subnets may belong to the same network segment but different physical networks. These two subnets are isolated by the router. You can modify the routing information about the hosts on the network, so that the data packets destined for other subnets are sent to the gateway connected to different subnets and then forwarded by the gateway to the destination. However, to implement this solution, you must configure routes for all hosts on the subnets. This complicates management and maintenance.

Deploying routed proxy ARP on the gateway can effectively solve the management and maintenance problems in subnet division. Routed proxy ARP allows the communication between the hosts whose IP addresses belong to the same network segment but different physical networks. In addition, the default gateway does not need to be configured on the hosts, facilitating management and maintenance.

Figure 2-8 shows the routed proxy ARP networking. The Router connects to two subnets through IF1 and IF2. The IP addresses of IF1 and IF2 belong to different network segments. The IP address of Host_1 in subnet 1 belongs to the same network segment as the IF1 IP address; the IP address of Host_2 in subnet 2 belongs to the same network segment as the IF2 IP address; the IP address of Host_1 in subnet 1 belongs to the same network segment as that of Host_2. The default gateway is not configured on Host_1 and Host_2. Configure routed proxy ARP on the Router so that the hosts in subnets 1 and 2 can communicate with each other.

Figure 2-8  Networking diagram of routed proxy ARP

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ip address ip-address { mask | mask-length }

    An IP address is configured for the interface.

    The interface IP address must belong to the same network segment as the IP addresses of the hosts connected to the interface.

  4. Run arp-proxy enable

    Routed proxy ARP is enabled on the interface.

    By default, routed proxy ARP is disabled on an interface.

    After routed proxy ARP is enabled on the device, the aging time of ARP entries on hosts should be reduced. In this way, the invalid ARP entries do not take effect as soon as possible, reducing the number of packets that are sent to but cannot be forwarded by the router.

Verifying the Configuration

Run the display this command in the interface view to check whether routed proxy ARP is enabled on the interface.

Configuring Intra-VLAN Proxy ARP

Context

Users in the same VLAN cannot communicate with each other when port isolation is configured in the VLAN. You can enable intra-VLAN proxy ARP on the interfaces associated with the VLAN to ensure Layer 3 communication among users.

As show in Figure 2-9, Host_1 and Host_2 belong to the same VLAN, but port isolation is configured between IF1 and IF2 that connect the Router to Host_1 and Host_2. Configure intra-VLAN proxy ARP on the Router so that Host_1 and Host_2 can communicate with each other.

Figure 2-9  Networking diagram of intra-VLAN proxy ARP

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface vlanif interface-number

    The interface view is displayed.

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

    Intra-VLAN proxy ARP is enabled.

    By default, intra-VLAN proxy ARP is disabled.

Verifying the Configuration

Run the display this command in the VLANIF interface view to check whether intra-VLAN proxy ARP is enabled.

Configuring Inter-VLAN Proxy ARP

Context

To implement Layer 3 communication among users on the same network segment but in different VLANs, you can enable inter-VLAN proxy ARP on the interface associated with the VLANs. For example, enable inter-VLAN proxy ARP on the VLANIF interfaces of super-VLAN to allow users in different sub-VLANs to communicate.

As show in Figure 2-10, Host_1 and Host_2 belong to the same network segment but different VLANs. Configure inter-VLAN proxy ARP on the Router so that Host_1 and Host_2 can communicate with each other.

You can also configure VLANIF interfaces to implement Layer 3 communication among users in different VLANs. For details, see Configuring Inter-VLAN Communication.

Figure 2-10  Networking diagram of inter-VLAN proxy ARP

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface vlanif interface-number

    The interface view is displayed.

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

    Inter-VLAN proxy ARP is enabled.

    By default, inter-VLAN proxy ARP is disabled.

Verifying the Configuration

Run the display this command in the VLANIF interface view to check whether inter-VLAN proxy ARP is enabled.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 36647

Downloads: 186

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