Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

sharing global routing table with vrf for intra-as traffic

We have a network block of which is divided into two subnet and We are getting a internet feed for each subnet. is in global routing table, and is in a vrf-lite green.

I am thinking doing the following:






Hub and spoke are from perspective of vrf green.

For vrf green in the HUB:

ip route vrf green 255.255 255.192 vlan 199

ip route vrf green vlan198


ip route vlan199


ip route vlan198

Suppose we already get the 2 internet feeds to HUB route with vrf green and global routing table. This should get vrf green going.

But we also have global routing table on the HUB router.

We would like to have communicating with each other, and only keep internet default separated.

How should we get to from global routing table and how should we get to from SPOKE[12]?

New Member

Re: sharing global routing table with vrf for intra-as traffic

In my lab, I have 2 ports configured.

int gi1/2

ip vrf forward green

ip address

int gi1/1

ip address

ip route gi1/2

ip route vrf gi1/1

This way, from vrf green to global has go through HUB. and vrf greens will also go through greens.

Is there any other much elegant way for this purpose?

Re: sharing global routing table with vrf for intra-as traffic

Since you have global table only at the HUB, rather than doing a conventional route leak you can do a physical loopback between 2 interfaces at the HUB, and populate one end with the VRF. So you can inject all the global routes into your VRF. So VRF users can come till hub and exit out the loopbacked interface back to global table, and global users can go directly.