With Inter-VRF BGP Route Leaking, you can enable BGP route leak for IPv4/IPv6 or both address families.
Inter-VRF BGP route leaking uses BGP VPN to leak BGP routes. NSX internally configures RT(s) for route import and export.
Note: Inter-VRF BGP Route Leaking is supported on both IPv4 and IPv6.
Prerequisites
- Enable BGP and provide local AS on both source and target VRF.
- On source VRF, configure redistribution rules or learn external routes through BGP neighbours (To add prefixes to BGP table). See Configure BGP.
- Use route-maps to import/export filter. See Create a Route Map.
Procedure
- With admin privileges, log in to NSX Manager.
- Select Networking.
- Select either the default/parent Tier-0 Gateway or the Tier-0 VRF Gateway, which you would like to configure.
- Click on the ellipsis button (three dots) and select Edit.
- Click Routing.
- Click Set next to Inter VRF Routing.
- Click on the ellipsis button (three dots) and select Edit.
- Click Set below BGP Route Leaking.
- Click on the ellipsis button (three dots) and select Edit.
- Toggle the BGP Route Leaking button to 'On' for IPv4 and IPv6.
- Assign a route map in the In Filter field for IPv4 and IPv6. The 'In filter' is used to determine which network or a range of networks are permitted or denied in the direction of In.
- Assign a route map in the Out Filter field for IPv4 and IPv6. The 'Out filter' is used to determine which network or a range of networks are permitted or denied in the direction of Out.
- Click Save.
Results
Note: BGP route leaking reduces the number of routes supported for the edge, since the BGP VPN table has to contain an additional copy of the route for import and export.