Task
Display common proxy ARP
status.
Display local proxy ARP status.
Common proxy ARP configuration example
Network requirements
As shown in
different subnets. No default gateway is configured on Host A and Host D.
Configure common proxy ARP on the router to enable communication between Host A and Host D.
Figure 4 Network diagram
Configuration procedure
# Configure the IP address of interface GigabitEthernet 2/1/2.
<Router> system-view
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] ip address 192.168.10.99 255.255.255.0
# Enable common proxy ARP on interface GigabitEthernet 2/1/2.
[Router-GigabitEthernet2/1/2] proxy-arp enable
[Router-GigabitEthernet2/1/2] quit
# Configure the IP address of interface GigabitEthernet 2/1/1.
[Router] interface gigabitethernet 2/1/1
[Router-GigabitEthernet2/1/1] ip address 192.168.20.99 255.255.255.0
# Enable common proxy ARP on interface GigabitEthernet 2/1/1.
[Router-GigabitEthernet2/1/1] proxy-arp enable
Command
display proxy-arp [ interface interface-type interface-number ]
display local-proxy-arp [ interface interface-type interface-number ]
Figure
4, Host A and Host D have the same prefix and mask, but they are located on
12