beautypg.com

Network requirements – H3C Technologies H3C S10500 Series Switches User Manual

Page 30

background image

19

# Add GigabitEthernet 1/0/3, GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to VLAN 2.

Configure port isolation on Host A and Host B.

system-view

[SwitchB] vlan 2

[SwitchB-vlan2] port GigabitEthernet 1/0/3

[SwitchB-vlan2] port GigabitEthernet 1/0/1

[SwitchB-vlan2] port GigabitEthernet 1/0/2

[SwitchB-vlan2] quit

[SwitchB] interface GigabitEthernet 1/0/3

[SwitchB-GigabitEthernet1/0/3] port-isolate enable

[SwitchB-GigabitEthernet1/0/3] quit

[SwitchB] interface GigabitEthernet 1/0/1

[SwitchB-GigabitEthernet1/0/1] port-isolate enable

[SwitchB-GigabitEthernet1/0/1] quit

2.

Configure Switch A

# Create VLAN 2, and add GigabitEthernet 1/0/2 to VLAN 2.

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

From Host A, ping Host B. The ping operation is unsuccessful because they are isolated at Layer 2.
# Configure local proxy ARP to allow communication between Host A and Host B at Layer 3.

[SwitchA-Vlan-interface2] local-proxy-arp enable

From Host A, ping Host B. The ping operation is successful after the configuration.

Local proxy ARP configuration example in super VLAN

Network requirements

Figure 11

shows a super VLAN, VLAN 10, with the interface IP address 192.168.10.100/16 and

sub-VLANs (VLAN 2 and VLAN 3). GigabitEthernet 1/0/2 belongs to VLAN 2 and GigabitEthernet

1/0/1 belongs to VLAN 3. Host A belongs to VLAN 2 and connects to GigabitEthernet 1/0/2 of the

switch. Host B belongs to VLAN 3 and connects to GigabitEthernet 1/0/1 of the switch.
As Host A and Host B belong to different Sub-VLANs, they are isolated at Layer 2. Configure local proxy

ARP on the switch to allow Layer 3 communication between Host A and Host B.