If you redistribute static or connected routes into EIGRP and then redistribute EIGRP into BGP on the same router AND you want the static or connected route that were redistributed in EIGRP to also be in BGP then you'll need to redistribute them directly into BGP.
The proper way to look at this problem is that if the route isn't a dynamic EIGRP route (show ip route eigrp) or have a network statement advertising the route into EIGRP directly then it won't go into BGP. This rule holds true for redistribution with other protocols also.
Follow these two simple rules for IPv4 and you'll be able to answer your own questions.
Lastly when you redistribute a route into another protocol, that protocol will not attempt to inject the redistributed route into the RIB on the local router. That could cause the original route to be removed from the RIB (i.e RIP into OSPF) and in turn it will cause the route from being redistributed since it's no longer in the RIB. Basically a routing loop on a single router.
Sorry for being brief as I'm answering this on my phone heading to San Jose.
Brian Dennis, CCIEx5 #2210 (R&S/ISP-Dial/Security/SP/Voice)
On May 9, 2013, at 5:00 PM, "Cisco Fanatic" <ebay_products_at_hotmail.com<mailto:ebay_products_at_hotmail.com>> wrote:
> So in your case if you didn't redistribute say static into BGP but are
> redistributing static into EIGRP, BGP will not get the static routes that
> are redistributed into EIGRP when EIGRP is redistributed into BGP.
Q1) Does the above behavior true for connected routes as well?
Q2) We should have both static and connected in EIGRP as well as BGP then? All the routes will be in the routing table and the best administrative distance metric will route the traffic? Right?
-Yuri
> From: bdennis_at_ine.com<mailto:bdennis_at_ine.com>
> To: ebay_products_at_hotmail.com<mailto:ebay_products_at_hotmail.com>; ccielab_at_groupstudy.com<mailto:ccielab_at_groupstudy.com>
> Date: Thu, 9 May 2013 13:47:20 -0500
> Subject: Re: understanding redistribution
>
> If you redistribute protocol X into protocol Y, protocol X's routes can't
> go into protocol Z from protocol Y. You need to also redistribute
> protocol X directly into protocol Z to get protocol X's routes into
> protocol Z. This may not be easy to follow but it's important to
> understand.
>
> The reason behind this is that redistribution is done from the RIB
> (routing table) and not done directly between routing protocols. If you
> redistribute protocol X into protocol Y then Y will get protocol X's
> dynamic routes that are in the RIB (show ip route X) and for IPv4, by
> default, the connected interfaces that protocol X is enabled on (i.e.
> network statement, ip ospf 1 area 0, etc)
>
> So in your case if you didn't redistribute say static into BGP but are
> redistributing static into EIGRP, BGP will not get the static routes that
> are redistributed into EIGRP when EIGRP is redistributed into BGP.
>
> --
> Brian Dennis, CCIEx5 #2210 (R&S/ISP-Dial/Security/SP/Voice)
> bdennis_at_ine.com<mailto:bdennis_at_ine.com>
>
> INE, Inc.
> http://www.INE.com
>
>
>
>
> On 5/9/13 11:14 AM, "Cisco Fanatic" <ebay_products_at_hotmail.com<mailto:ebay_products_at_hotmail.com>> wrote:
>
> >I am not sure if I understand this. If we are mutually redistributing
> >between
> >say EIGRP and BGP does it matter which protocol we redistribute connected
> >and
> >static routes in?
> >
> >router eigrp 1000
> > redistribute connected
> > redistribute bgp 65001 metric 15000 5 255 1 4470 router bgp 65001
> > redistribute static
> > redistribute eigrp 1000
> >******** OR **************
>
> >router eigrp 1000
> > redistribute static
> > redistribute bgp 65001 metric 15000 5 255 1 4470 router bgp 65001
> > redistribute connected
> > redistribute eigrp 1000
> >-Yuri
> >
> >
> >Blogs and organic groups at http://www.ccie.net
> >
> >_______________________________________________________________________
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu May 09 2013 - 19:20:19 ART
This archive was generated by hypermail 2.2.0 : Mon Jun 03 2013 - 06:34:34 ART