top of page

MPLS: ROUTING BETWEEN THE CE AND PE

The objective of this topic is to implement a dynamic routing (RIP, OSPF, EIGRP, BGP) between the Customer Edge router (CE) and the Provider Edge router (PE). We will be using the GNS3 configuration that we have on our previous topic MPLS: CONFIGURING VRF ON PROVIDER EDGE ROUTER.

Using the below network topology, we will be establishing a routing between the CE routers (AAA/BBB) to our PE routers (PE-LocationA, PE-LocationB and PE-LocationC).

Requirements:

PE-LocationA to use OSPF on AAA and EIGRP on BBB at Location A.

PE-LocationB to use OSPF on AAA and EIGRP on BBB at Location B.

PE-LocationC to use RIPv2 on AAA and BGP on BBB at Location C.

Let's start by implementing OSPF on PE-LocationA. The OSPF will run on top of the VRF instance assigned for

the AAA and EIGRP on BBB at location A.

VRF 100:AAA will route using the OSPF router process 100.

Router EIGRP will run the VRF instance for the 200:BBB on ipv4 using the syntax:

address-family ipv4 vrf 200:BBB autonomous-system 200

Let's now configure the IP address and loopback interface on AAA at location A. Also the local network 100.100.10.0/24 on Fa0/0.

Configure the dynamic routing (OSPF) on Customer Edge Router.

Let verify if the OSPF neighbor relationship was formed from CE router to PE router.

On the PE router (PE-LocationA), let's verify the OSPF route to the VRF 100:AAA.

VRF on the AAA at location A is now in place.

Let's now configure the IP address and loopback interface on BBB at location A having a local network 100.100.10.0/24 on Fa0/0.

Configuring the dynamic routing (EIGRP) on Customer Edge Router.

Note: EIGRP process defined in CE router should follow the autonomous-system being defined on the PE router.

After this, EIGRP neighbor relationship should form between the PE and CE router.

Confirm if the EIGRP route to the VRF instance has been created.

Now your PE-LocationA is now configured for routing.

Let's continue the configuration on PE-LocationB by creating OSPF and EIGRP process.

VRF 100:AAA will run on the OSPF router process 100.

Router EIGRP will run the VRF instance for the 200:BBB on ipv4 using the syntax:

address-family ipv4 vrf 200:BBB autonomous-system 200

Let's now configure the IP address and loopback interface on AAA at location B with local network 100.90.10.0/24 connecting to Fa0/0.

Then configure the dynamic routing (OSPF) on this Router.

Verify the OSPF neighbor relationship between PE and CE.

Confirm the OSPF route to the VRF 100:AAA from PE-LocationB router.

Let's now configure the IP address and loopback interface on BBB at location B with local network 100.90.10.0/24 connecting to Fa0/0.

Configuring the dynamic routing (EIGRP) on Customer Edge Router.

Note: EIGRP process defined in CE router should follow the autonomous-system being defined on the PE router.

During this time, EIGRP relationship should form between PE-LocationB and BBBLocationB.

Confirm if the EIGRP route to the VRF instance has been created.

Let's do RIP and BGP on PE-LocationC.

Note: Clear BGP process in order for changes to take place.

Then configure the interface on the Customer Edge Router and verify.

Configure RIP protocol to support the VRF 100:AAA.

Then verify on the PE the route to VRF 100:AAA instance.

RIP is now on the routing table of the PE router.

Let's configure the interface of the last CE router then verify.

Configure the BGP process 65500 and advertise the connected network.

Verify the formed BGP neighbor and the route entry for the VRF 200:BBB.

From the output that I had shown, you should have now successfully implemented VRF on your PE and CE routers.

 

bottom of page