Route-leak between 2 VRF on same router #10649
-
Hi all, I tried to find out a solution to this issue, but I'm out of idea, except the static routes. I know in Cisco is done similar to this: ip prefix-list GLOBAL permit 10.10.1.0/24 In FRR "rd" and "rt" is under BGP address-family ipv4 unicast section. I'm thinking this route-leak can be done here under "address-family ipv4 unicast", but I have no clue how to do it. There is a way to do it in FRR at this moment? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
http://docs.frrouting.org/en/latest/bgp.html#clicmd-import-vrf-VRFNAME |
Beta Was this translation helpful? Give feedback.
-
Hi @donaldsharp Thanks. I notice this command, but unfortunaltelly if I'm trying to use this command I can't export the VRF via VPN MP-BGP :(. This shortcut syntax mode is not compatible with the explicit import vpn and export vpn statements for the two VRF’s involved. So there is no way in this moment to import some routes from another VFR and then export as VPN via MP-BGP. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I think I found a solution. Is actually using the BGP VPN route-leak. It seems that if I'm exporting an prefix from local VRF1 to VPN and the in the VRF2 I'm importing the correct RT the route from VRF1 shows in VRF2. I did this test: BGP and Zebra configuration:
Where vpn and mgmt interfaces are the VRFs and I'm using them as Loopback interfaces for each VRF. Then the output is looking like this:
Seems that the export VRF to VPN and import VPN to VRF on the same router is working very well. Unfortunatelly is not well documented. |
Beta Was this translation helpful? Give feedback.
Hi all,
I think I found a solution. Is actually using the BGP VPN route-leak. It seems that if I'm exporting an prefix from local VRF1 to VPN and the in the VRF2 I'm importing the correct RT the route from VRF1 shows in VRF2.
I did this test:
BGP and Zebra configuration: