Different vrf interface in same router can communicate ?

Hi, Here is a question. Anyone can help to answer?

Here is topology R1 ------ (e1/1)R2(e1/2) ----- (e1/3)R3

R3 advertise bgp routes to R2. The interface e1/2 in R2 is vrf ABC, while e1/1 in R2 is vrf xyz. Do you think if it is possible for R2 to advertise the bgp routes to R1 through R2' e1/1?  Thank you
eemoonAsked:
Who is Participating?
 
SIM50Connect With a Mentor Commented:
If I understood you correctly, than yes. It's called route leaking.  

ip vrf ABC
 rd 10:1
 route-target export 10:1
 route-target import 10:1
 route-target import 20:1
!
ip vrf XYZ
 rd 20:1
 route-target export 20:1
 route-target import 20:1
 route-target import 10:1
0
 
eemoonAuthor Commented:
Thank you so much for your fast reply. I think you are right.

We think vrf as independent router or routing table in a physical router. The purpose of vrf is to run different routing table in one physical router. so only same vrf interface can communicate in one router. This is general situation.

Now we hope different vrf in one router can communicate. So route leaking could do that.  Can you send a link for this?  Thank you
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
eemoonAuthor Commented:
Thank you so much for your link.

BTW, I am new to vrf, can you confirm my below comment is correct? Thank you again

We think vrf as independent router or routing table in a physical router. The purpose of vrf is to run different routing table in one physical router. so only same vrf interface can communicate in one router. vrf is only local router concept. This is general situation.
0
 
SIM50Commented:
You are partially right. It is a separate instance of a routing table. Think of it as a layer 3 vlan. Unless you will give it means to talk to other vlans, it will remain isolated. VRF is not a local router concept, it can  expand through the whole network, just like a vlan.
0
 
eemoonAuthor Commented:
Excellent explanation! Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.