Routing Between VRF and Global Routing Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2016 04:34 PM - edited 03-05-2019 07:38 AM
I am currently attempting to route between a VRF I have created and the global routing table. VRF "External" basically contains all the BGP peering between sites and the ISP while the default or global routing table contains the internal/private subnets of the company.
Maybe I am making this more complicated than it needs to be but BGP and vrf's arent something I touch very often. I am able to see the routers peer on the External vrf just fine but I cant ping from interfaces on the default vrf across the External vrf. I did some research and it appears route leaking would maybe be what I am looking for but I am concerned if I am leaking internal routes into the External vrf that it could cause problems. Also, how would i get the advertised default route to be leaked into the default vrf?
Looking at some Cisco documentation I attempted to take a stab at this on SiteA:
ip vrf External
rd 200:1
import ipv4 unicast map GLOBAL-TO-VRF
!
interface Loopback10
ip address 5.5.5.1 255.255.255.0
!
ip prefix-list GLOBAL seq 5 permit 5.5.5.0/24
no cdp log mismatch duplex
!
route-map GLOBAL-TO-VRF permit 10
match ip address prefix-list GLOBAL
When I look at the routing table though I still see Loopback10 in the global routing table (expected) but I dont see any mention of it in the External vrf routing table. I currently have this rebuilt in a lab and attached the configs.
Any help would be greatly appreciated.
Thanks!
- Labels:
-
Other Routing
