Link to home
Start Free TrialLog in
Avatar of eemoon
eemoon

asked on

How to advertise routes to bgp peer from another vrf interface?

Hi,

Here is a topology: R1(e1/1) ----------(e1/1) R2 (e1/0) ---------(e1/0) R3
R1' AS is 1, R2' AS is 2 and R3' AS is 3
e1/0 in R2 and R3 are vrf DOC. e1/1 in R2 and R1 are normal interface
Can you give some suggestion how to configure the bgp between R1 and R2 in order for traffic to go from R3 to R1? Thank you

Below is a configuration example, but it is one vrf to another vrf. In my case, it is one vrf to global, which is different with the below example where several vrf route-target can exchange. If some specific vrf exchange route-target with the global, what is the global vrf value?  Any expert can give some suggestion?
http://ideasdenetworking.blogspot.com/2015/03/enrutamiento-de-multiples-vrfs-route.html
Avatar of arnold
arnold
Flag of United States of America image

You have to repeat the routes from r3 to the r1 and the same for r1 to r3.
You have static peering as you have right now with dynamic advertising about the learned routes.
You would need to filter which routes learned from r3 you want passed by r2 to r1.

router which is in use? Juniper, Cisco, etc.
See if the bgp readvertisment/redistribution of ospf sheds light on how you can configure the redistribution of a bgp learned
In the example in the link.

Presuming you are using a cisco  router.
You can apply the info with the routers you have. Syntax/options might vary.
http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html
ASKER CERTIFIED SOLUTION
Avatar of SIM50
SIM50
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My solution provides vrf route leaking as requested.