MPLS Layer 3 VPN communication between CE routers

When configuring MPLS Layer 3 VPNs such as that shown in the diagram below, direct communication between the CEs is not possible.

mpls-vpn-pe-ce-ospf.png.pagespeed.ic.XhBhTPjOcO.png

Specifically, communication between the networks on the Fa0/0 interfaces is not possible. This is because these networks are not advertised to the remote CE router.

If you issue the following command from CE1:

ping 5.5.5.5

CE1 will send an echo request to the L0 interface of CE2 using the IP address of Fa0/1 as the source address. The ping will reach the L0 interface of CE2, but will not return because CE2 does not have the 192.168.12.0/24 network in its routing table. Similarly, CE1 does not have the 192.168.45.0/24 subnet in its routing table.

These routes are not needed to make MPLS Layer 3 VPNs work!

In order to correctly verify MPLS Layer 3 VPN connectivity, the source of the ping should be the local loopback, like so:

ping 5.5.5.5 source loopback 0

Links

https://forum.networklessons.com/t/mpls-layer-3-vpn-pe-ce-ospf/1291/58?u=lagapides

https://networklessons.com/mpls/mpls-layer-3-vpn-pe-ce-ospf/