From: Pamela Forsyth (pforsyth@xxxxxxxxx)
Date: Fri Jul 23 1999 - 11:33:10 GMT-3
Bill, Ron,
What the statement,
distribute-list 10 out ospf 1
under the RIP configuration says is, "for all routes being imported into
RIP from OSPF, filter them according to list 10." If list 10 is denying
network 12.0.0.0, then network 12.0.0.0 is not coming into RIP from OSPF.
I promise you, this is the way it works.
Bill, you need to put the distribute-list statement under OSPF instead of
RIP, and it needs to be,
distribute-list 10 out rip
What this says is, "for all routes being imported into OSPF from RIP,
filter according to list 10."
The "distribute-list in <interface>" doesn't work for OSPF at all. This
form is used ONLY with the distance-vector protocols. You can't filter
link-state protocols at an interface.
The syntax of the distribute-list statement always confused me until I
started reading it "distribute-list 10 out (from) rip."
HTH.
Pamela
On Fri, 23 Jul 1999, Ron Trunk wrote:
> Bill,
>
> Your statement
> distribute-list 10 out ospf 1
> under your RIP configuration is incorrect. What this says is "for all
> routes learned from OSPF, only redistribute the ones that match list 10." I
> don't think that's what you meant.
>
> A better approach would be to put a line under your OSPF config:
> distribute-list 10 in ser0.1
>
> Ron
>
>
>
> -----Original Message-----
> From: Bill Carter <bcarter@family-net.net>
> To: CCIE Lab group <ccielab@groupstudy.com>
> Date: Friday, July 23, 1999 1:17 AM
> Subject: Redist dist-list problems
>
>
> >I am doing mutual redistribution between RIP and OSPF. OSPF and RIP
> >share 150.100.X.X. All interfaces can ping each other. I added a
> >12.0.0.0 interface to the RIP domain (no on the Redist router). I want
> >to filter the redistribution so the 12.X.X.X network is not advertised
> >into the OSPF domain.
> >
> >After a clear ip route * the ospf routers learn the 12.0.0.0 network
> >form ospf. Why??
> >router ospf 1
> > redistribute rip subnets
> > passive-interface Ethernet0
> > passive-interface Serial1
> > network 150.100.1.0 0.0.0.255 area 0 (interface s0.1 ospf domain)
> >
> >router rip
> > redistribute ospf 1
> > passive-interface Serial0.1
> > network 150.100.0.0
> > default-information originate
> > distribute-list 10 out ospf 1
> >
> >access-list 10 deny 12.0.0.0 0.255.255.255
> >access-list 10 deny 150.100.1.0 0.0.0.255 (serial 0.1 interface to
> >OSPF domain)
> >access-list 10 permit any
> >
> >--
> >~~~~~~~~~~~~~~~~~~~~~~~~
> >Bill Carter
> >
> >Favorite Quote
> >"bodega stuck again... "
> > -Cisco Bug CSCdk37204
> >~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:42 GMT-3