Configuring Proxy ARP Between VLANs
Proxy ARP between VLANs allows communication between devices in different 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
- Run system-view
The system view is displayed.
- 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, and Eth-Trunk sub-interfaces.
- Run ip address ip-address { mask | mask-length } [ sub ]
An IP address is configured for the sub-interface.
- 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.
Enabling Proxy ARP Between VLANs
To enable communication between devices in different VLANs, proxy ARP between VLANs is required.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number [ .subinterface-number ]
The sub-interface view is displayed.
- Run arp-proxy inter-sub-vlan-proxy enable
Proxy ARP between VLANs is enabled on the sub-interface
- Run commit
The configuration is committed.
Verifying the Configuration of Proxy ARP Between VLANs
After configuring proxy ARP between VLANs, verify the configuration.
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 board in a specified slot.
- Run the display arp vpn-instance vpn-instance-name slot slot-id [ dynamic | static ] command to check the ARP mapping table of a specified VPN instance.