16
Displaying proxy ARP
Execute display commands in any view.
Task Command
Display common proxy ARP status. display proxy-arp [ interface interface-type interface-number ]
Display local proxy ARP status. display local-proxy-arp [ interface interface-type interface-number ]
Common proxy ARP configuration example
Network requirements
As shown in Figure 6, Host A and Host D have the same IP prefix and mask, but they are located on
different subnets separated by the switch (Host A belongs to VLAN 1, and Host D belongs to VLAN 2).
No default gateway is configured on Host A and Host D.
Configure common proxy ARP on the switch to enable communication between the two hosts.
Figure 6 Network diagram
Configuration procedure
# Create VLAN 2.
<Switch> system-view
[Switch] vlan 2
[Switch-vlan2] quit
# Configure the IP address of VLAN-interface 1.
[Switch] interface vlan-interface 1