12-13-2018 05:05 AM - edited 03-05-2019 11:06 AM
Hi Guys ,
In our core router we have 20 VRFs and by using static route all traffic goes to ISP1 .
Our router is Peered with a Carried Neutral (we name it XX) as well to make web browsing faster.
The problem is at the moment my global routing table has 60000 bgp routes which has received from XX
and if I want to inject them to each VRF ,it uses 20*60000 route entries which kills the memory
How can I share global BGP table with Vrfs and send some traffics to XX ?
Thanks
12-13-2018 05:18 AM
Hi,
For each of those 20 VRFs, are you using a static default route?. If so, I think you can configure another vrf specific default static route with NH from global.
Below is an example:
ip route vrf TEST 0.0.0.0 0.0.0.0 10.1.23.3
ip route vrf TEST 0.0.0.0 0.0.0.0 10.1.25.5 global
The above will install 2 default static routes in VRF TEST table with 1 NH as 10.1.23.3 from VRF TEST and other NH 10.1.25.5 from global routing table.
Below is the CEF output:
R2#sh ip cef vrf TEST 0.0.0.0/0 detail
0.0.0.0/0, epoch 0, flags [default route], per-destination sharing
recursive via 10.1.23.3
recursive via 10.1.23.0/24
attached to Ethernet0/0.2
recursive via 10.1.25.5
recursive via 10.1.25.0/24
attached to Ethernet0/0.25
R2#
HTH,
Nagendra
12-13-2018 05:33 AM
Hello
just like to add you will need to tell the global rib how to each your vrfs so you’ll need a static route stating the vrf subnet and point it towards the vrf interface
12-13-2018 05:36 AM
12-13-2018 01:38 PM
12-13-2018 01:36 PM
12-14-2018 12:11 AM
Hello
so would like to push certain vrf internal traffic via the carrier fast path?
12-14-2018 04:17 AM
Yes Exactly ,I want to push some VRF's to use the carrier for half of their traffic and ISP for the rest of traffic
Is there any way to share the bgp table of the router to vrfs without redistribute whole routes to vrfs
12-18-2018 08:27 AM
Hello
sounds like policy based routing would be applicable however depending on how your topology is connected you could manipulate traffic flow via bgp/igp route manipulation
can you shate a topology
12-18-2018 07:08 AM
How about asking ISP1 for BGP and pointing default route to XX.
HTH.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide