Configuration procedure, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 25

Advertising
background image

2-4

Figure 2-3 Network diagram for proxy ARP

Configuration procedure

# Create VLAN 2.

<Switch> system-view

[Switch] vlan 2

[Switch-vlan2] quit

# Specify the IP address of interface VLAN-interface 1.

[Switch] interface vlan-interface 1

[Switch-Vlan-interface1] ip address 192.168.10.99 255.255.255.0

# Enable proxy ARP on interface VLAN-interface 1.

[Switch-Vlan-interface1] proxy-arp enable

[Switch-Vlan-interface1] quit

# Specify the IP address of interface VLAN-interface 2.

[Switch] interface vlan-interface 2

[Switch-Vlan-interface2] ip address 192.168.20.99 255.255.255.0

# Enable proxy ARP on interface VLAN-interface 2.

[Switch-Vlan-interface2] proxy-arp enable

After completing preceding configurations, use the ping command to verify the connectivity between

Host A and Host D.

Local Proxy ARP Configuration Example in Case of Port Isolation

Network requirements

As shown in

Figure 2-4

, Host A and Host B belong to the same VLAN, and connect to Switch B via

GigabitEthernet2/0/1 and GigabitEthernet2/0/3 respectively. Switch B connects to Switch A via

GigabitEthernet2/0/2.

Configure Layer 2 and Layer 3 port isolation on GigabitEthernet2/0/1 and GigabitEthernet2/0/3 of

Switch B. Enable proxy ARP on Switch A to allow communication between Host A and Host B.

Advertising