[c-nsp] EIGRP redistribution between 2 VRFs

Luan Nguyen luan.m.nguyen at gmail.com
Fri Feb 15 09:17:45 EST 2008


Thank you guys.  Work wonderfully.  Stand-alone BGP...exactly what i need in
this situation.

-lmn

On Fri, Feb 15, 2008 at 8:56 AM, Oliver Boehmer (oboehmer) <
oboehmer at cisco.com> wrote:

> Jeff Kell <> wrote on Friday, February 15, 2008 2:46 PM:
>
> > Michael Lyngbøl wrote:
> >> On 14.02.2008 16:06:03 -0500, Luan Nguyen wrote:
> >>
> >>> Say i have VRF RED one one of the interface, and VRF BLUE on another
> >>> interface.  And i need to run EIGRP on both of them.  They have
> >>> their own ASN and don't want to change them.  How do i send routes
> >>> learned from RED into BLUE and vice versa?
> >
> >> Import the proper route-targets in VRF RED and VRF BLUE.
> >> You can also just import+export from/to one of the VRFs. Might need
> >> to attach import/export maps to filter which routes you'd like to
> >> import/export.
> >
> > That's the general idea, but it's not quite that simple (I wish it
> > was!).   Or at least I could not get it to actually work with
> > import/export alone.
> >
> > You must run iBGP for the import/export to actually work (at least on
> > Catalyst hardware as CE/PE, IOS 12.2) and have iBGP redistributing
> > your EIGRP instances, e.g.:
> >
> >> router bgp 99999
> >>  !
> >>  address-family ipv4
> >>  redistribute connected
> >>  exit-address-family
> >>  !
> >>  address-family ipv4 vrf RED
> >>  redistribute connected
> >>  redistribute eigrp [reds-ASN]
> >>  exit-address-family
> >>  !
> >>  address-family ipv4 vrf BLUE
> >>  redistribute connected
> >>  redistribute eigrp [blues-ASN]
> >>  exit-address-family
> >
> > If you subsequently want your red/blue EIGRP's to redistribute their
> > respective imported routes further, you'll need to redistribute BGP
> > within the EIGRP instances as well.
> >
> > Of course if all this "extra stuff" is NOT needed, I'd love to hear
> > about it.  It took the import/export plus mutual redistribution in my
> > case to get it to work as desired, and I ran out of patience before
> > trying to selective remove bits here and there to see which ones were
> > NOT part of the solution.
>
> You are doing the right thing, you need to enable BGP (no neighbors
> needed) as import/export is only possible via BGP. Don't think you need the
> "redist connected" within ipv4-AF (the first address-family), but the rest
> is fine and required for this to work.
>
>        oli
> _______________________________________________
> 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