Data Preparation
To complete the configuration, you need the following data:
l
Reachable routes between the Routers
l
Source addresses of tunnel interfaces on the Routers
Procedure
Step 1
Assign an IP address to each interface.
Assign an IP address to each interface as shown in
. The specific configuration is not
mentioned here.
Step 2
Configure routes between the Routers.
# Configure RIP on the Ethernet interface of the hub
[Huawei]
rip
[Huawei-rip-1]
network 44.0.0.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
# Configure RIP on the Ethernet interface of the Spoke1
[Huawei]
rip
[Huawei-rip-1]
network 44.0.0.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
# Configure RIP on the Ethernet interface of the Spoke2
[Huawei]
rip
[Huawei-rip-1]
network 44.0.0.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
Step 3
Configure RIP on the tunnel interfaces.
# Configure hub
[Huawei]
rip 2
[Huawei-rip-1]
network 172.16.1.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
# Configure Spoke1
[Huawei]
rip 2
[Huawei-rip-1]
network 172.16.1.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
# Configure Spoke2
[Huawei]
rip 2
[Huawei-rip-1]
network 172.16.1.0
[Huawei-rip-1]
version 2
[Huawei-rip-1]
quit
Step 4
Configure tunnel interfaces on the Routers and configure NHRP mapping entries of the hub on
Spoke1 and Spoke2.
# Configure a tunnel interface and enable NHRP redirect on the hub.
[Huawei]
system-view
[Huawei]
interface tunnel 0/0/0
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
6 DSVPN Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
359