cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Routing between VRF and Global Routing Table

vdadlaney
Level 1
Level 1

Hi All,

Currently have a setup where we have multiple SVI interfaces in a VRF on a Catalyst 6500 Switch. All these SVI belong to the same VRF. In order to achieve connectivity for hosts within the VRF to access  hosts outside the VRF (Hosts reachabe via the Global Routing Table  (GRT)) I am thinking I need to configure 2 things

1. Creating a summary route for all the subnets within the VRF in the Global Routing table.

<Config on 6K in Global Routing Table>

Note: 10.10.10.10 is the ip address of loopback 10 and this loopback 10 is  in VRF Red

ip route 172.16.0.0 255.255.0.0 loopback10 10.10.10.10

2. Create a couple static routes within the VRF for networks that reside in the Global Routing table but which are not local to this 6K.

<Config on 6K within the VRF Routing Table>

Note: 1.1.1.1 is the ip address of loopback 1 and this loopback 1  is  in the GRT or not assigned to a VRF

ip route vrf Red 172.32.32.0 255.255.255.0 loopback1 1.1.1.1 global

ip route vrf Red 172.32.40.0 255.255.255.0 loopback1  1.1.1.1 global

ip route vrf Red 172.32.50.0 255.255.255.0 loopback1  1.1.1.1 global

I have read through some posts and it seems to indicate that I cannot point to a loopback interface as it is not a point to point interface. If so than could someone suggest how this solution can be achieved. The reason I was pointing to a loopback was so that I am not tied to a particular physical interface and for the summary route that was created in step 1 really not sure what L3 interface I could point to since I have multiple SVI's that are in the same VRF. Would I also need to create that same summary within the VRF. I don't intend to since I am assuming that once within the VRF the more specific connected interfaces would take affect and forward respectively.

In addition to the above I also need some help in determining the forwarding behavior when there is a ip helper address configured under the SVI's which are in a VRF but the ip address for that helper is not part of the VRF. I would think if a static route is configured under the VRF for that helper address network pointing it to the Global Routing table it should work. The config for that would be

ip route vrf RED 172.32.52.5 255.255.255.255 loopback1 1.1.1.1 global

Thx for your help.

Who Me Too'd this topic