Why we need RD? We have for example VRF Red or VRF Blue which is separate from each other so why we are using RD to make the prefix unique.
After using RD, PE Router will come to know which prefix will be import to which CE Router but again we are using RT here for import and export though we have RD.
It is true that there is a VRF for each customer at each PE router. In the example in the lesson, Customer A sends a routing update to PE1. PE1 knows that this route belongs to customer A because it has come in on the interface connected to customer A. It is then placed in the appropriate routing table.
However, when PE1 redistributes this route to PE2, there is no way to distinguish which customer it belongs to. Both Customer A and B routing updates will go to PE2 via the same interface. So the RD is required so the PE router will know to which customer the routes belong.
Once the PE receives these routes, it knows to which customer they belong, however, it does not know what to do with it. The router will NOT automatically export each route to the correct customer VRF. This is why the RT is required.
Essentially, the RD makes the route unique (even if the same IP ranges are used) and the RT, by being added to all routes for the Customer A VRF, allow the routers to know which VRF to import and export to.
The Conclusion says âIn the next lesson I will show you the configuration of everything that I explained above âŠâ. The next lesson I see is âDMVPNâ.
Depending on the course category, you get to see a different menu. For example:
This is the same lesson but it belongs to both the âmplsâ and âccnp routeâ category. Depending on the category, you get a different menu. It is a bit confusing that the one in CCNP route says âin the next lessonâŠâ and then it jumps to DMVPN so I changed the wording in the conclusion a bit. I didnât add those extra MPLS VPN lessons in CCNP route since there isnât much MPLS on the CCNP ROUTE blueprint. This is something Iâll keep an eye on in the future
Terminology can get a little hazy when talking about headers and labels and fields etc. I will attempt to clarify.
When an IP packet is recieved by a PE, a transport label, or MPLS label is added in front of the IP header (between the datalink and IP headers). This transport label can be considered an MPLS header which contains the label value, QoS markings, a Bottom of Stack flag and a TTL. This is not part of the IP header, but it is actually the MPLS header or label itself.
When MPLS VPN is used, an additional header/label is added. This is the VPN label. This is not part of the IP header or the MPLS header but it is an independant entity.
Essentially, when using MPLS, (depending on what text you read and who you ask), these labels may or may not be considered headers. Labels would probably be the best characterization, and it is the most often used term because they basically add a bit of information that allows MPLS and MPLS VPN to function.
Hi Rene,
I am afraid I still donât understand one thing- why do we need vpn label if we have RTâs ?
It was said the router wouldnât know what VRF the route belongs to⊠well:
When PE1 advertises the route to PE2 , PE2 knows what VRF to install it thanks to Route Target value.
So the MPLS VPN label seems to be redundant as the BGP can figure the VRF out based solely on the Route Targets âŠ
( I know I am confused in Data and Control Plane, so if you can please give a detailed explanation for the reason why we require VPN Label though we have RTâs )
Thank you.
To encrypt traffic passing through the service provider, can we implement IPSec on MPLS VPN network at the CE routers Since MPLS does not offer confidentiality.
Does the CE require to route data identified to be encrypted through the service provider in a virtual tunnel.
To understand this, you need to have a clear understanding of the difference between the control and data plane. Simplified, the control plane is for âroutingâ or âforwardingâ decisions, the data plane is where the actual forwarding happens.
On the control plane, we use route-targets to define where to import/export a route to. Itâs nice that the router knows what to do when it receives a packet, but we still need to get that packet to that routerâŠ
For the actual forwarding (data plane), we use labels to âswitchâ a packet from one router to another. It is explained in detail here:
Look for the âTransport and VPN labelâ section.
MPLS is just a transport mechanism so when it comes to VPNs, it doesnât matter much if you run it over MPLS or something else. You can either use a site-to-site VPN between two routers or use DMVPN.