07-24-2010 05:03 PM
Hi,
Is it possible to inject the same route in the global part of the BGP table of the PE router and also into a VRF on the same PE router? The route thus injected into the VRF will subsequently be redistributed into VPNv4 part of the BGP table.Thus the same route will be injected twice in the BGP table, once from VRF (through redistribution from PE-CE protocol) and once directly injected into the global table.
Solved! Go to Solution.
07-25-2010 07:24 PM
Hi,
You can have the same route in the global and also VRF, because global routing table is just like another vrf.
In this case the PE is in a vrf and the CE is global. This should work fine and you should not need to insert the same routes into both.
The other way of doing would for customer routes you peer with the CE using vrf and for Internet routes you peer with the CE using global (if you are providing connectivity for customer's location and also Internet access). You can use one physical interface with 2 sub-interfaces or 2 physical interfaces.
HTH
Reza
07-24-2010 06:30 PM
Hi Pronob
Have a look at "ip route vrf" command : you can add the "global" keyword to allow route leaking.
cheers
olivier
07-24-2010 09:20 PM
Thanks. I understand the route leaking part. I am more worried about the return path back from from the Internet (global table). In order to do that I will need to place the same route in the global table as well but pointing to the CE router. Is that possible?
07-25-2010 07:24 PM
Hi,
You can have the same route in the global and also VRF, because global routing table is just like another vrf.
In this case the PE is in a vrf and the CE is global. This should work fine and you should not need to insert the same routes into both.
The other way of doing would for customer routes you peer with the CE using vrf and for Internet routes you peer with the CE using global (if you are providing connectivity for customer's location and also Internet access). You can use one physical interface with 2 sub-interfaces or 2 physical interfaces.
HTH
Reza
07-26-2010 07:25 AM
Hi Roy,
You need to add two routes.
@ You need to add static router fro VRF network to Data center network
i.e. ip route vrf (Test- VRF ) 0.0.0.0 0.0.0.0 (Gateway) global
@ You need to add static route for VRF network in the global routing table pointing to the interface connected to VRF.
i.e ip route (VRF network ) (VRF subnet mask ) (interface connect to that VRF)
Regards
Chetan Kumar
07-26-2010 08:36 AM
Thank you all. This gives me hints to solve a critical design issue.
07-26-2010 05:56 PM
Take a look at the config guide below. You will still need static routes so the global routing table can send traffic into the VRF, but this will allow you to dynamically import routes from the global table into a VRF.
http://www.cisco.com/en/US/docs/ios/12_2s/feature/guide/fs_bgivt.html
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