sharing global routing table with vrf for intra-as traffic

Unanswered Question
Oct 2nd, 2007
User Badges:

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]?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
sding2006 Mon, 10/08/2007 - 10:58
User Badges:

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?

swaroop.potdar Mon, 10/08/2007 - 12:44
User Badges:
  • Blue, 1500 points or more

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.




This Discussion