[c-nsp] Export from VRF into global route table

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Fri Feb 4 09:40:02 EST 2005


>>>>>>> I hope this is a stupid question, because I'd sooner find out
>>>>>>> that I'm missing something, than find out that I can't do this.
>>>>>>> 
>>>>>>> Is there a way to export routes from a VRF into the global table
>>>>>>> (GSR 12404/PRP2 running 12.0.30S)?
>>>>>> 
>>>>>> You can only do this manually, i.e. static global routes
>>>>>> pointing to the vrf interface: 
>>>>>> 
>>>>>> int serial0
>>>>>> ip vrf forwarding foo
>>>>>> ...
>>>>>> !
>>>>>> ip route <prefix> <mask> serial0
>>>>>> 
>>>>> 
>>>>> Will this work for non point-to-point interfaces?
>>>> 
>>>> it works (tested 12.3(10)) when I do "ip route <prefix> <mask>
>>>> ethernet0 <next-hop>", but not sure if it's supported.
>>> 
>>> When the question rose on the netpro forum I tried to redistribute
>>> vrf routes into the global routing table using ospf, bgp, eigrp and
>>> not worked. So static it might be but very much doubt that's
>>> supported. 
>> 
>> The static rt towards the p2p interface is definitly
>> supported, this is the most basic form of providing Internet
>> access for a VRF (I wouldn't use it, though)..
> 
> Isnt that ip route vrf RED 0.0.0.0 0.0.0.0 192.168.240.1 GLOBAL
> command? 

Well, yes, this is the other traffic direction (i.e. VRF->global), the
static route I mentioned is for traffic global -> VRF.

	oli

	oli



More information about the cisco-nsp mailing list