[c-nsp] How to connect two VRFs on the same router? (without a loop-cable)

Paolo Lucente pl+list at pmacct.net
Sat Jul 21 08:16:19 EDT 2007


Hi Gunther,

it seems like you simply need to leak routing infos between the two VRFs
by playing with the route targets. Reasoning in terms of a single router,
this would work in both VRF and VRF-lite solutions; ie. over-simplyfied:

[ ... ]
!
ip vrf customer_a
 rd 1:1
 route-target export 1:1
 route-target import 1:1
 route-target import 2:2
!
ip vrf customer_b
 rd 2:2
 route-target export 2:2
 route-target import 2:2
 route-target import 1:1
!
[ ... ]

Cheers,
Paolo

On Sat, Jul 21, 2007 at 12:24:26PM +0200, Gunther Stammwitz wrote:
> Hello colleagues,
> 
> I've built two vrfs on the same router and have attached interfaces to them and
> everything is fine so far.
> Now I'd like to router from one vrf to the other one. 
> The only way how this can be achieved seems to me to use two interfaces on the
> same router and to connect them with a cable. This might look rather stupid when
> there's a cable coming out of the router and going into it again.
> 
> Isn't there a way how this can be achieved in software????
> 
> Thanks,
> Gunther
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list