top of page

MPLS: CONFIGURING VRF ON PROVIDER EDGE ROUTER

Our objective on this topic is to implement a Virtual Routing and Forwarding (VRF) on MPLS Provider Edge router (PE). We will be using the GNS3 configurations that we have on our previous topic MPLS: VPN CAPABILITIES ON BGP.

Table for the VRF configuration:

PE-LocationA Router:

Serial2/2 - 100.100.1.1/30

Serial2/1 - 100.100.1.1/30

PE-LocationB Router:

Serial2/2 - 100.90.1.1/30

Serial2/1 - 100.90.1.1/30

PE-LocationC Router:

Serial1/1 - 100.80.1.1/30

Serial1/2 - 100.80.1.1/30

Let's start the configuration of VRF instance on PE-LocationA Router referencing the Customer Edge router (AAA and BBB) which is located at Location A. Then we'll assign the route distinguisher (rd) unique to AAA and BBB at location A. You can either use AS number or the IP address:<Value>. As for this example, i'll be using the loopback address.

The created VRF definition will then reference the route target both for import and export under the address-family IPv4.

After defining the rd and route-target, we can proceed with the interface configuration to forward the VRF instance for AAA and BBB at location A. It is important that the VRF definition should match the VRF forwarding value you put on the interface. Then assign the IP address for the Se2/1 and Se2/2.

We need to do the same approach to PE-LocationB and PE-LocationC routers using the VRF table as a reference.

PE-LocationB:

PE-LocationC:

You can now verify on your PE routers the created VRF instance.

 

bottom of page