2-5
# Configure an IP address of VLAN-interface 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] port gigabitethernet 1/0/2
[SwitchA-vlan2] quit
[SwitchA] 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 is unsuccessful because they are isolated at Layer 2.
# Configure local proxy ARP to let Host A and Host B communicate at Layer 3.
[SwitchA-Vlan-interface2] local-proxy-arp enable
[SwitchA-Vlan-interface2] quit
The ping operation from Host A to Host B is successful after the configuration.
Local Proxy ARP Configuration Example in Isolate-user-vlan
Network requirements
z
Switch A is attached to Switch B through GigabitEthernet 1/0/1.
z
VLAN 5 on Switch B is an isolate-user-vlan, which includes uplink port GigabitEthernet 1/0/1 and
two secondary VLANs (VLAN 2 and VLAN 3). GigabitEthernet 1/0/2 belongs to VLAN 2, and
GigabitEthernet 1/0/3 belongs to VLAN 3.
z
Configure local proxy ARP on Switch A to implement Layer 3 communication between VLAN 2 and
VLAN 3.
Figure 2-5
Network diagram for local proxy ARP configuration in isolate-user-vlan
Switch A
Switch B
Host A
192.168.10.99/16
Host B
192.168.10.200/16
GE1/0/2
VLAN 2
GE1/0/3
VLAN 3
GE1/0/1
VLAN 5
Vlan-int5
192.168.10.100/16
GE1/0/1
VLAN 5
Isolate-uer-vlan 5
Secondary VLAN 2 3
Configuration procedure
1) Configure Switch B
# Create VLAN 2, VLAN 3, and VLAN 5 on Switch B. Add GigabitEthernet 1/0/2 to VLAN 2,
GigabitEthernet 1/0/3 to VLAN 3, and GigabitEthernet 1/0/1 to VLAN 5. Configure VLAN 5 as the
isolate-user-vlan, and VLAN 2 and VLAN 3 as secondary VLANs. Configure the mappings between
isolate-user-vlan and the secondary VLANs.
<SwitchB> system-view
[SwitchB] vlan 2