Huawei AR1200 series Configuration Manual page 34

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
l
Procedure
Step 1 Assign an IP address to each interface.
Assign an IP address to each interface as shown in
mentioned here.
Step 2 Configure IGP for the VPN backbone network.
The specific configuration procedures are the same as those in
a Static Route for GRE
Step 3 Configuring the tunnel interfaces
The specific configuration procedures are the same as those in
a Static Route for GRE
Step 4 Configure OSPF on the tunnel interfaces.
# Configure Router A.
[RouterA] ospf 2
[RouterA-ospf-2] area 0
[RouterA-ospf-2-area-0.0.0.0] network 40.1.1.0 0.0.0.255
[RouterA-ospf-2-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterA-ospf-2-area-0.0.0.0] quit
[RouterA-ospf-2] quit
# Configure Router C.
[RouterC] ospf 2
[RouterC-ospf-2] area 0
[RouterC-ospf-2-area-0.0.0.0] network 40.1.1.0 0.0.0.255
[RouterC-ospf-2-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[RouterC-ospf-2-area-0.0.0.0] quit
[RouterC-ospf-2] quit
Step 5 Verify the configuration.
After the configuration, run the display ip routing-table command on Router A and Router C.
You can find the OSPF route to the network segment of the remote user end through the tunnel
interface. Moreover, the next hop to the destination physical address (30.1.1.0/24) of the tunnel
is not the tunnel interface.
Take Router A as an example:
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
GigabitEthernet2/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
Issue 01 (2012-04-20)
IP addresses of the interfaces on both ends of the GRE tunnel
and are not mentioned here.
and are not mentioned here.
Destinations : 11
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.2.1.0/24
OSPF
20.1.1.0/24
Direct 0
20.1.1.1/32
Direct 0
30.1.1.0/24
OSPF
40.1.1.0/24
Direct 0
40.1.1.1/32
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Figure
Routes : 11
Pre
Cost
Flags
0
D
0
D
10
2
D
0
D
0
D
10
2
D
0
D
0
D
1 GRE Configuration
1-6. The specific configuration is not
1.7.1 Example for Configuring
1.7.1 Example for Configuring
NextHop
Interface
10.1.1.2
127.0.0.1
InLoopBack0
40.1.1.2
Tunnel0/0/1
20.1.1.1
127.0.0.1
InLoopBack0
20.1.1.2
40.1.1.1
Tunnel0/0/1
127.0.0.1
InLoopBack0
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents