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

Zahid Hassan zhassan at gmx.net
Sat Jul 21 10:02:32 EDT 2007


Hi Paolo,


I have very similar issue where I am running VRF-lite on a 4500 without BGP
and LDP.

Is there a way to route between different VRFs on the same 4500 wihtout
the routes being in BGP routing table ?


Any input on this will be greately appreciated.


Regards,



Zahid




-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net]On Behalf Of Paolo Lucente
Sent: 21 July 2007 13:16
To: Gunther Stammwitz
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] How to connect two VRFs on the same router?
(without aloop-cable)


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/
_______________________________________________
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