cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
0
Helpful
3
Replies

Leaking a global PE loopback into a VRF?

joshhalley
Level 1
Level 1

Hi,

does anybody happen to know if it is possible to leak a global loopback address into a vrf?

I have tried to leak the route normally ie: ip route vrf red x.x.x.x y.y.y.y z.z.z.z global

However as the interface is direclty connected to the PE itself this command is of course not accepted, resulting in the following error:

%Invalid next hop address (it's this router)

If anybody knows a work around / hack to resolve this please let me know.

Kind Regards,

Josh

3 Replies 3

attrgautam
Level 5
Level 5

You colud route it to the next hop and let the global routing table take care of the reachability. Not sure if you can do it in the same router as they are in two different routing tables in the same router

Harold Ritter
Spotlight
Spotlight

Can you tell us a bit more about the purpose of leaking your global loopback to the VRF.

Thanks,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

This seems to be a very common question and I can relate it to this. You have a layer 3 switch with 2 vlans, one vlan in VRFA and the other Vlan in the Global table. You want the to to be able to communicate, but to meet from reading all the posts this seems difficult. You can not get the route into the VRF when the route to the Global destination is the device your are attempting to add the route on. This works just fine if I use the global keyword and an adjacent router, but what happens if this isn't practical. Say for example in a closet switch, or across a MAN, why would I want to have to bounce inter-vlan traffic upstream only to be sent back down. Can you add a route into a VRF for a global prefix that terminates on the same device????? Thanks in advance!