Re: mpls vpn route-target

From: Bryan Bartik <bbartik_at_ipexpert.com>
Date: Mon, 2 Nov 2009 12:09:19 -0700

Ivan,

Either way will work, just as long as routes that are exported with the
specific RT are being imported in the proper VRFs. Just take care that you
don't allow reachability to sites that shouldn't have it (which doesn't seem
like the case here). Also make sure you have a metric when redistributing
into EIGRP, you know the basics sometimes get skipped :)

Other than that, post your PE configs and maybe we can spot something...

On Mon, Nov 2, 2009 at 11:50 AM, Ivan <ivanzghr_at_gmail.com> wrote:

> P.S.
> About topology (if someone receives mail and everything is moved :):
> R6 is connected to PE R4...
>
> On Mon, Nov 2, 2009 at 7:47 PM, Ivan <ivanzghr_at_gmail.com> wrote:
> > OK. I have topology like this:
> >
> > R1 -- R3 -- R2 --R4 --R5
> > |
> > R6
> >
> > R1 and R5 are pure customer routers in VPNA, and R6 is customer router in
> VPNB.
> > R3 and R4 are PE routers and R2 is just P router.
> > R1 and R5 are using EIGRP as routing protocol, and R6 is running OSPF.
> > Everything is redistributed in MP-BGP and vice-versa for every VPN and
> > working OK.
> >
> > Task says that router R6 needs to participate in the same CUG as R1 and
> R5.
> >
> > On R3 I have vrf:
> > !
> > ip vrf VPNA
> > rd 1:20
> > route-target export 1:105
> > route-target import 1:105
> > !
> > on R4 vrf:
> > !
> > ip vrf VPNA
> > rd 1:40
> > route-target both 1:105
> > !
> > ip vrf VPNB
> > rd 1:50
> > route-target both 1:600
> >
> > As I understand RTs, when you say route-target both in some vrf it
> > means that all routes which has this ext BGP community will be
> > exported from vrf into MP-BGP, and imported from MP-BGP into vrf,
> > right?
> >
> > Shouldn't next solution be enough for R1 and R5 to have VPNB's OSPF
> > routes in its routing tables, and R6 to have VPNA's EIGRP routes in
> > its routing table as OSPF E2 routes:
> >
> > ip vrf VPNA
> > rd 1:20
> > route-target export 1:105
> > route-target import 1:105
> > route-target import 1:600 (importing routes that were exported from vrf
> VPNB)
> >
> > ip vrf VPNB
> > rd 1:50
> > route-target export 1:600
> > route-target import 1:600
> > route-target import 1:105 (importing routes that were exported into
> > MP-BGP from vrf VPNA)
> >
> > ?? After this R6 has all VPNA's routes as E2 routes but R1 doesn't
> > have VPNB's routes as D EX routes ??
> >
> > Solution of the task says just this:
> > ip vrf VPNB
> > route-target both 1:105
> >
> > Some clarification please. Thanks
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Bryan Bartik
CCIE #23707 (R&S), CCNP
Sr. Support Engineer - IPexpert, Inc.
URL: http://www.IPexpert.com
Blogs and organic groups at http://www.ccie.net
Received on Mon Nov 02 2009 - 12:09:19 ART

This archive was generated by hypermail 2.2.0 : Tue Dec 01 2009 - 06:36:28 ART