The static route from the VPN to the Internet is configured and the next-hop address is a public
network address.
----End
3.12.4 Configuring the Static Route to VPN on the Device of the
Public Network
This section describes how to configure static routes to VPN users to forward packets from the
Internet to the VPN.
Context
Perform the following steps on the PE.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip route-static
ip-address
{
mask
|
mask-length
} {
interface-type
interface-
number
|
vpn-instance
vpn-instance-name
nexthop-address
|
nexthop-address
}
[
preference
preference
|
tag
tag
]
*
[
description
text
]
The static route from the public network to the VPN is configured and the next-hop address is
a private network address.
NOTE
If the CE and PE are connected through an Ethernet network, the next-hop must be specified.
----End
3.12.5 Checking the Configuration
After configuring the interconnection between a VPN and the Internet, the VPN routing table
contains the routes destined for the CE and the router in the public network, and the routing table
in the destined device of the public network contains the route to the CE.
Prerequisites
The configurations of the VPN and the Internet function are complete.
Procedure
l
Run the
display ip routing-table vpn-instance
vpn-instance-name
command to check the
VPN routing table on the PE.
l
Run the
display ip routing-table
command to check the routing table on the CE and the
destination router in the public network.
----End
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
129