
2.
Enable routed proxy ARP on the interface.
Data Preparation
To complete the configuration, you need the following data:
l
IP addresses of the interfaces
l
IP addresses of the hosts
Procedure
Step 1
Create VLAN 2 and add GE 0/0/1 to VLAN 2.
<Quidway>
system-view
[Quidway]
vlan 2
[Quidway-vlan2]
quit
[Quidway]
interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1]
port link-type access
[Quidway-GigabitEthernet0/0/1]
port default vlan 2
[Quidway-GigabitEthernet0/0/1]
quit
Step 2
Create and configure VLANIF 2.
[Quidway]
interface vlanif 2
[Quidway-Vlanif2]
ip address 172.16.1.1 255.255.255.0
Step 3
Enable routed proxy ARP on VLANIF 2.
[Quidway-Vlanif2]
arp-proxy enable
[Quidway-Vlanif2]
quit
Step 4
Create VLAN 3 and add GE 0/0/2 to VLAN 3.
[Quidway]
vlan 3
[Quidway-vlan3]
quit
[Quidway]
interface gigabitethernet 0/0/2
[Quidway-GigabitEthernet0/0/2]
port link-type access
[Quidway-GigabitEthernet0/0/2]
port default vlan 3
[Quidway-GigabitEthernet0/0/2]
quit
Step 5
Create and configure VLANIF 3.
[Quidway]
interface vlanif 3
[Quidway-Vlanif3]
ip address 172.16.2.1 255.255.255.0
Step 6
Enable routed proxy ARP on VLANIF 3.
[Quidway-Vlanif3]
arp-proxy enable
[Quidway-Vlanif3]
quit
Step 7
Configure the hosts.
# Assign IP address 172.16.1.2/16 to Host A.
# Assign IP address 172.16.2.2/16 to Host B.
Step 8
Verify the configuration.
# Ping Host B from Host A. The ping operation is successful.
----End
Configuration Files
Configuration file of the Switch
#
sysname Quidway
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
2 ARP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
26