RE: distribution lists in RIP (and for IPX)

From: alain faure (alainfaure@xxxxxxxx)
Date: Mon Mar 04 2002 - 07:58:03 GMT-3


   
Well,

i try on my work some redistribution list and look at the CD

IPX:
the probleme with redistribute-list in IPX is that the list will be extended
(source , dest) so i suppose it don't work that way. Looking at the CD i can
see the way to do in IPX is:

ipx router nlsp
 redistribute eigrp 1 access-list 1200

where
access-list 1200 deny aa ffffff00
access-list 1200 permit -1

enable the aa network (coming from eigrp 1) NOT to be redistribute in NLSP.

IP (just an explanation):
i try
router rip
 redistribute ospf 1
 network 1.1.0.0
 network 150.50.0.0
 default-metric 1
 distribute-list noloop1 out ospf 1

ip access-list standard noloop1
 permit 1.1.1.1

and you know what, it just redistribute 1.1.1.1 from ospf 1 to rip.

when i change it to:
ip access-list standard noloop1
 deny 1.1.1.1
 permit any

Only 1.1.1.1 was NOT redistributed

so permit in the access-list of redistribute-list enable you to forward the
network, and deny don't enable the redistribution of this network. As you say.

Best regards

 --- Rob Rummel <Rummel@Hawaii.rr.com> a icrit : > Am I correct on saying that
Distribute-list in does not filter any OSPF
> routes redistributed to RIP. Only other rip routes would be filtered. At
> least that's how it looks in my setup I just did.
>
> That's why I always use route-maps when I redistribute. But I guess we
> need to know EVERY way of doing this stuff............
>
>
> Rob Rummel
>
> -Ethernet (n): something used to catch the etherbunny-
>
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> George Spahl
> Sent: Sunday, March 03, 2002 1:58 PM
> To: 'John Neiberger'; 'Paul Borghese'; ccielab@groupstudy.com
> Subject: RE: distribution lists in RIP
>
> I always add a few extra words into the command (only) when it refers to
> a routing protocol:
>
> distribute-list 1 (for routes coming) out (of) OSPF 1
>
> This has always helped me to keep this straight. While we're on this
> topic, there was some recent discussion concerning whether or not the
> syntax for distribute-list command was the same under IPX routing
> protocols. The best I can tell it works the same. If I'm wrong could
> someone please fill me in?
> Thanks,
> George
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> John Neiberger
> Sent: Sunday, March 03, 2002 5:35 PM
> To: Paul Borghese; ccielab@groupstudy.com
> Subject: Re: distribution lists in RIP
>
> This is one of those things that confuses me all the time.
>
> > router rip
> > distribute-list 1 out ospf 1
>
> Intuitively, at least to me, this says to filter RIP routes
> that match access-list 1 when redistributing to OSPF 1.
> However, I don't think that's what it really does.
>
> I think it means "When redistributing routes from OSPF 1 into
> RIP, filter out routes that match access list 1 before sending
> them to other RIP neighbors." If I'm wrong I hope someone will
> correct me.
>
> Regards,
> John
>
>
> ---- On Sun, 3 Mar 2002, Paul Borghese
> (pborghese@groupstudy.com) wrote:
>
> > I have a configuration where I would like to redistribute
> from RIP to
> > OSPF.
> > I would prefer to apply a filter to limit my distributions.
> I am
> > running
> > RIP on an ethernet interface and OSPF on a serial interface.
> When I
> > apply
> > the command:
> >
> > router rip
> > distribute-list 1 out ospf 1
> >
> > It filters the RIP updates out the ethernet interface. So
> the router
> > seems
> > to ignore the fact that I told it to only filter when
> redistrbuting into
> > OSPF and instead filters regular rip updates. Here is some
> debugging
> > output:
> >
> > Before applying distribute-list 1 out ospf:
> > --------------------------------------------------------------
> ------
> > 02:24:10: RIP: sending v1 update to 255.255.255.255 via
> Ethernet0
> > (190.27.2.3)
> > 02:24:10: RIP: build update entries
> > 02:24:10: network 87.0.0.0 metric 7
> > 02:24:10: network 180.70.0.0 metric 7
> > 02:24:10: subnet 190.27.1.0 metric 7
> > 02:24:10: subnet 190.27.10.0 metric 7
> > 02:24:10: subnet 190.27.11.0 metric 7
> > --------------------------------------------------------------
> -----------
> >
> > Notice there are a number of routes being advertised out E0.
> >
> > Now I will apply the command:
> > --------------------------------------------------------------
> --------------
> > --
> > R7(config-router)#router rip
> > R7(config-router)#distribute-list 1 out ospf 1
> > R7(config-router)#
> > 02:24:15: RIP: Distribute-list changed: sending triggered
> update
> > R7(config-router)#
> > 02:24:35: RIP: sending v1 update to 255.255.255.255 via
> Ethernet0
> > (190.27.2.3)
> > 02:24:35: RIP: build update entries - suppressing null update
> > --------------------------------------------------------------
> --------------
> > --------
> >
> > Notice the update did not have any entries. So the command
> > distribute-list
> > 1 out ospf 1 blocks routes from leaving the ethernet
> interface.
> >
> > Why?
> >
> > Paul Borghese
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:52 GMT-3