MPLS Lab 012 CE-PE Routing Using Redistribute OSPF

Image requirements:
VIRL: IOSv 15.7
EVE-NG: Cisco vIOS Router vios-15.6
GNS3: vios-adventerprisek9-m.vmdk.SPA.156-2.T



Description:
For CE-PE routing OSPF will be the routing protocol in this lab, VRF CE1 has been already configured and the interfaces on the PE routers connected to the CE sites assigned to the VRF. You will add the additional networks to the CE sites using loopback interfaces, and of course, configure OSPF and MP-BGP to redistribute prefixes to and from the MPLS core. 



Topology:


Download Lab:  EVE-NG | GNS3





Scenario:
The new customer requires the OSPF as CE-PE routing choice, there are 3 locations that needed to be interconnected, each of client's site has 8 /24 subnets that you need to help configure, then you will proceed to set up OSPF and redistribution, finally, verify the proper operation of L3 MPLS VPN service, make sure that each client's site has all 16 prefixes advertised from the other sites.




Lab tasks:
1. Configure additional subnets on all three CE routers, use the topological diagram for assistance.
2. Configure OSPF to enable routing between PE and CE routers.
3. Configure redistribution on the PE routers between BGP and OSPF protocols. 
4. Verify the implementation of the VPN services over MPLS.




Lab procedure:


Task1: Configure additional subnets on all three CE routers, use the topological diagram for assistance.
According to the topology configure 7 more /24 subnets on each CE routers:
CE1-A(config)#interface loopback 1
CE1-A(config-if)#ip address 10.155.1.1 255.255.255.0
CE1-A(config-if)#interface loopback 2
CE1-A(config-if)#ip address 10.155.2.1 255.255.255.0
CE1-A(config-if)#interface loopback 3
CE1-A(config-if)#ip address 10.155.3.1 255.255.255.0
CE1-A(config-if)#interface loopback 4
CE1-A(config-if)#ip address 10.155.4.1 255.255.255.0
CE1-A(config-if)#interface loopback 5
CE1-A(config-if)#ip address 10.155.5.1 255.255.255.0
CE1-A(config-if)#interface loopback 6
CE1-A(config-if)#ip address 10.155.6.1 255.255.255.0
CE1-A(config-if)#interface loopback 7
CE1-A(config-if)#ip address 10.155.7.1 255.255.255.0
CE1-A(config-if)#end
CE1-A#

Change OSPF interface network type to point-to-point for all loopback interfaces:
CE1-A(config)#interface range lo0-7
CE1-A(config-if-range)#ip ospf network point-to-point

Complete a similar configuration on the routers CE1-B and CE1-C.

Verification:
CE1-A# show ip interface brief
CE1-A# show ip route connected





Task2: Configure OSPF to enable routing between PE and CE routers. 
Configuring router PE2:
PE2(config)#router ospf 10 vrf CE1
PE2(config-router)#network 10.150.0.0 0.0.0.3 area 0
PE2(config-router)#end
PE2#

Configuring router CE1-A:
CE1-A(config)#router ospf 10
CE1-A(config-router)#network 10.150.0.0 0.0.0.3 area 0
CE1-A(config-router)#network 10.155.0.0 0.0.7.255 area 0
CE1-A(config-router)#end
CE1-A#
Complete a similar configuration on other PE and CE routers.

Verification:
PE2#show ip ospf neighbor
PE2#show ip ospf interface brief
PE2#show ip route vrf CE1 ospf




Task3: Configure redistribution on the PE routers between BGP and OSPF protocols. 
Configuring router PE2:
PE2(config)#router bgp 64500
PE2(config-router)#address-family ipv4 unicast vrf CE1
PE2(config-router-af)#redistribute ospf 10 match internal external 1 external 2
PE2(config-router-af)#end

Configuring router CE1-A:
PE2(config)#router ospf 10 vrf CE1
PE2(config-router)#redistribute bgp 64500 subnets
PE2(config-router)# end
Complete a similar configuration on other PE and CE routers.

Verification:
PE2#show bgp vpnv4 unicast vrf CE1
PE2#show ip route vrf CE1




Task4: Verify the implementation of the VPN services over MPLS.
Use these show commands:
CE1-A#show ip route ospf
CE1-A#ping 10.160.5.1 source lo0
CE1-A#traceroute 10.165.2.1 source lo0
PE2# show ip route vrf CE1
PE2# show bgp vpnv4 unicast vrf CE1




Summary:
Finally, we at the last CE-PE routing lab, I think, I messed up the names for the entire series, there should be "PE-CE Routing" instead, sorry for that! Alright, there are couple more OSPF labs coming but they are related to the OSPF behavior over the MPLS core implementation and its solution. This lab introduced OSPF as another routing choice between PE and CE nodes, OSPF has a lot more options to offer, when it comes to L3 MPLS VPN deployment. Now that you have completed these mini-labs, I hope that you are ready for labs with multiple tasks where you have to deploy MPLS services from scratch on your own.

Comments

Popular Posts