Re: mpls vpn route-target

From: Ivan <ivanzghr_at_gmail.com>
Date: Mon, 2 Nov 2009 19:50:06 +0100

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
Received on Mon Nov 02 2009 - 19:50:06 ART

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