2-5
Figure 2-4
Network diagram for local proxy ARP between isolated ports
Configuration procedure
1) Configure Switch B
# Add GigabitEthernet1/0/3, GigabitEthernet1/0/1 and GigabitEthernet1/0/2 to VLAN 2. Configure port
isolation on Host A and Host B.
<SwitchB> system-view
[SwitchB] vlan 2
[SwitchB-vlan2] port gigabitethernet 1/0/1
[SwitchB-vlan2] port gigabitethernet 1/0/2
[SwitchB-vlan2] port gigabitethernet 1/0/3
[SwitchB-vlan2] quit
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port-isolate enable
[SwitchB-GigabitEthernet1/0/2] quit
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port-isolate enable
[SwitchB-GigabitEthernet1/0/3] quit
2) Configure Switch A
# Create VLAN 2, and add gigabitethernet 1/0/2 to VLAN 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] port gigabitethernet 1/0/2
[SwitchA-vlan2] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.168.10.100 255.255.0.0
The ping operation from Host A to Host B fails because they are isolated at Layer 2 and Layer 3.
# Configure local proxy ARP to allow communication between Host A and Host B at Layer 3.
[SwitchA-Vlan-interface2] local-proxy-arp enable
The ping operation from Host A to Host B succeeds with the above configuration.