![Huawei AR150 series Configuration Manual Download Page 40](http://html.mh-extra.com/html/huawei/ar150-series/ar150-series_configuration-manual_169290040.webp)
Configuration Roadmap
The configuration roadmap is as follows:
1.
Add the interface connecting RouterA and branch A to VLAN 10 and add the interface
connecting RouterB and branch B to VLAN 20.
2.
Enable routed proxy ARP on VLANIF interfaces of branch A and branch B to implement
communication between the two branches.
Data Preparation
To complete the configuration, you need the following data:
l
Ethernet0/0/0 connecting RouterA and branch A
l
Ethernet0/0/0 connecting RouterB and branch B
l
IP address 172.16.1.1/24 of VLANIF 10
l
MAC address 00e0-fc39-80aa of VLANIF 10
l
IP address 172.16.2.1/24 of VLANIF 20
l
MAC address 00e0-fc39-80bb of VLANIF 20
Procedure
Step 1
Configure RouterA.
# Create VLAN 10.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
vlan 10
[RouterA-vlan10]
quit
# Add Ethernet0/0/0 to VLAN 10.
[RouterA]
interface ethernet 0/0/0
[RouterA-Ethernet0/0/0]
port link-type access
[RouterA-Ethernet0/0/0]
port default vlan 10
[RouterA-Ethernet0/0/0]
quit
# Configure an IP address for VLANIF 10.
[RouterA]
interface vlanif 10
[RouterA-Vlanif10]
ip address 172.16.1.1 255.255.255.0
# Enable routed proxy ARP on VLANIF 10.
[RouterA-Vlanif10]
arp-proxy enable
[RouterA-Vlanif10]
quit
Step 2
Configure RouterB.
The configuration of RouterB is similar to that of RouterA.
Step 3
Verify the configuration.
# Select host A at 172.16.1.2/16 in branch A and select host B at 172.16.2.2/16 in branch B.
Ping the IP address of host B from host A.
C:\Documents and Settings\Administrator>
ping 172.16.2.2
PING 172.16.2.2: 56 data bytes, press CTRL_C to break
Reply from 172.16.2.2: bytes=56 Sequence=1 ttl=255 time=10 ms
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
1 ARP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
28