2-3
To do…
Use the command…
Remarks
Enable local proxy ARP
local-proxy-arp
enable
Required
Disabled by default.
Displaying and Maintaining Proxy ARP
To do…
Use the command…
Remarks
Display whether proxy ARP is
enabled
display proxy-arp
[
interface
vlan-interface vlan-id
]
Available in any view
Display whether local proxy
ARP is enabled
display local-proxy-arp
[
interface
vlan-interface vlan-id
]
Available in any view
Proxy ARP Configuration Examples
Proxy ARP Configuration Example
Network requirements
Host A and Host D have the same IP prefix and mask. Host A belongs to VLAN 1; Host D belongs to
VLAN 2. Configure proxy ARP on the switch to enable the communication between the two hosts.
Figure 2-3
Network diagram for proxy ARP
Configuration procedure
# Configure Proxy ARP on Switch to enable the communication between Host A and Host D.
<Switch> system-view
[Switch] vlan 2
[Switch-vlan2] quit
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 192.168.10.99 255.255.255.0
[Switch-Vlan-interface1] proxy-arp enable