Configuring a Basic BGP/MPLS IP VPN

A basic BGP/MPLS IP VPN applies to the scenario in which there is only one carrier or the backbone networks of multiple carriers belong to the same AS, and each device plays only one role, either PE, P, or CE. After a basic BGP/MPLS IP VPN is configured, different sites in a VPN can communicate with each other.

Usage Scenario

After a basic BGP/MPLS IP VPN is configured, the network can provide VPN services for users so that multiple private networks can communicate across the backbone network of the carrier. VPN routes are isolated from the public network routes on the backbone network, and the routes of VPN instances are isolated from each other.

On the network shown in Figure 1, the following functions need to be implemented:
  • Site1 can communicate with only Site3.

  • Site2 can communicate with only Site4.

  • The MPLS backbone network is unaware of the VPN routes in each site.

To meet the preceding requirements, configure a basic BGP/MPLS IP VPN by adding Site1 and Site3 to a VPN (VPN1) and Site2 and Site4 to another VPN (VPN2). CEs and other devices deployed at sites only advertise and receive VPN routes. They are unaware of the public network. Ps residing on the public network do not receive VPN routes. PEs manage VPN routes and public network routes separately. VPN data packets are transmitted transparently over tunnels between the sites within the same VPN. The devices on the public network do not know the contents of VPN data packets, ensuring VPN data security.
Figure 1 BGP/MPLS IP VPN

Pre-configuration Tasks

Before configuring a basic BGP/MPLS IP VPN, complete the following tasks:

  • Configure the routing policy to control the route receiving and sending of the VPN instance IPv4 address family if needed.

  • Configure an IGP on the PEs and Ps of the MPLS backbone network to ensure IP connectivity on the backbone network.

  • Establish non-LDP LSP tunnels based on tunnel policies or LDP LSPs on the MPLS backbone network.

  • Configure IP addresses on interfaces that connect CEs to PEs.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >