# MPLS Layer 3 VPN Explained

**URL:** <https://forum.networklessons.com/t/mpls-layer-3-vpn-explained/1287>\
**Category:** Lessons Discussion\
**Created:** [December 29, 2016, 8:08pm UTC](https://forum.networklessons.com/t/mpls-layer-3-vpn-explained/1287 "2016-12-29T20:08:31Z")\
**Posts on this page:** 1\
**Showing post:** 183

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [March 2, 2021, 10:23am UTC](https://forum.networklessons.com/t/mpls-layer-3-vpn-explained/1287/183 "2021-03-02T10:23:11Z")

</div>

Hello Tejas

The RD for a certain VRF does not need to be the same across all of the MPLS domain. The RT will be used to import and export prefixes between VRFs on different PEs.

I believe that this Cisco community thread quite clearly explains it:

> **[route distinguisher question](https://community.cisco.com/t5/mpls/route-distinguisher-question/td-p/991567)**
>
> Hi, I need to clear some concept regarding rd, i had a topology from one of the COD in which instructor connects 2 CE sites to each other using VPN\_A but at one PE the configured RD was different and at another PE RD was different. The thing which...

Specifically, it states:

> MP-BGP exchanges the VPNv4 (RD:IPv4) prefixes between the PEs (P routers are not VPNv4 aware) not IPv4 routes - When a PE receives a VPNv4 route it discards the RD attached to it and attaches its local RD (according to the VRF that the route is going to be injected into according to the attached RT and the local VRFs import RT) - Since for the local router routing table database the VRF is identified via the RD prepended to the IPv4 route to construct the VPNv4 routes.

I hope this has been helpful!

Laz

---

_[View the full topic](https://forum.networklessons.com/t/mpls-layer-3-vpn-explained/1287)._
