“… Don’t want me?”
The proxy ARP
Proxy ARP: If an ARP request is sent from a host on one network to another host on the same network segment but not on the same physical network, the device connected to the host with Proxy ARP can answer the request. This process is called Proxy ARP.
The characteristics of
• Hosts on the network do not need to be modified if they are deployed on the gateway. • You can hide physical network details so that two physical networks can use the same network number. • Only the ARP table of the host is affected. The ARP table and routing table of the gateway are not affected.
Routing type
R1 Basic Configuration
Interface gigabitethernet0/0/0 IP address 192.168.1.254 255.255.255.0 Interface gigabitethernet0/0/1 IP address 192.168.2.254 255.255.255.0Copy the code
Proxy ARP is not enabled
PC1 ping PC1 PC1 cannot find the MAC of PC2
Enabling Proxy ARP
[Huawei-GigabitEthernet0/0/0]arp-proxy enable [Huawei-GigabitEthernet0/0/1]arp-proxy enableCopy the code
PC1 ping PC2
The MAC of the gateway is the same as that of PC2. In fact, the gateway answers the request of PC1 on behalf of PC2.
PC2 ping PC1
Within the VLAN
Port isolation
[Huawei-GigabitEthernet0/0/1]port-isolate enable [Huawei-GigabitEthernet0/0/2]port-isolate enableCopy the code
Find a MAC without each other
The ARP proxy function was enabled on the virtual interface
Interface Vlanif1 IP address 1.0.0.254 255.255.255.0 arp-proxy inner-sub-vlan-proxy enableCopy the code
Virtual interfaces replace each other
Within the VLAN
Scenario: Super VLAN