问题原文
原帖链接 · wasanga7 · CC BY-SA 4.0
I'm learning MPLS VPN with MP-BGP and I'm finding difficulties with undertstanding the RD value and the RT import and export values.
From what I've already understand, RD (route distinguisher) identifies the VRFs from a network that compose the same virtual network and change routing info between them. RT import says what VRFs in a network are known by the local VRF and RT export is send to identify the information from the local VRF. To decide in what VRF install the rout, when a package comes to the PE, if the RT export the package has and the RT import our VRF have are the same, it adds the route to the VRF, otherwise it delete it.
I don't know if all I've written is correct. But I don't get to understand it properly when I find something like THIS.
Let's talk about sites PE1, PE2, PE3 and PEC (central PE).
What sites does PE3 know?
As the RT import is the RT export of PEC, PE3 just knows PEC.
What sites does PEC know?
I think PEC knows PE1 a PE2 because RT export from PE1 and PE2 matchs with RT import from PEC.
Am I correct? Please I need help to understand it.
已采纳解答
原帖链接 · Ron Trunk · CC BY-SA 4.0
From what I've already understand, RD (route distinguisher) identifies the VRFs from a network that compose the same virtual network and change routing info between them.
That’s not right. RD is added to the IP address to make them unique. It does not define virtual networks.
RT import says what VRFs in a network are known by the local VRF and RT export is send to identify the information from the local VRF.
Nope. Think of route targets as a “tag” that identifies routes. Export tags the routes and Import selects which tags are imported into the VRF.
To decide in what VRF install the route, when a package comes to the PE, if the RT export the package has and the RT import our VRF have are the same, it adds the route to the VRF, otherwise it delete it.
Also not right. MP BGP carries all the routes. Import/export is used to select which ones are included in a VRF.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
