From: Aaron DuShey (adushey@xxxxxxxxx)
Date: Mon Apr 24 2000 - 17:54:56 GMT-3
your distribute-list command is in the wrong place. Your config should look
more like the following-
router ospf 10
redistribute rip metric 550
network 172.16.1.240 0.0.0.7 area 0
distribute-list 1 out rip (meaning, only advertise RIP routes that match
access-list 10)
Remember, you only use distribute-list in when associating an interface, as
distribute-list when used with a routing protocol is telling the router what
the redistributing routing protocol should advertise from the source native
routing protocol.
!
router rip
version 2
network 24.0.0.0
!
access-list 1 permit 201.43.16.0 0.0.0.255
Also, remember that if you want to filter what goes IN the routing table,
use a distribute-list in. Whereas if you want to filter what a routing
protocol advertises, whethere redistributing or not, use the out parameter.
You can also use route-map's to accomplish this when redistributing.
Aaron DuShey
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Ron.Fuller@3x.com
Sent: Monday, April 24, 2000 1:09 PM
To: ccielab@groupstudy.com
Subject: RIP and OSPF
I have having major troubles getting RIP and OSPF to redistribute properly.
I have a router (R5) that is learning 2 RIP routes from another. R5 runs
OSPF and RIP. I want to filter one of the RIP routes before I redistribute
it into OSPF. I have configured the ASBR as such:
router ospf 10
redistribute rip metric 550
network 172.16.1.240 0.0.0.7 area 0
!
router rip
version 2
network 24.0.0.0
distribute-list 1 out ospf 10
distribute-list 1 out
!
access-list 1 permit 201.43.16.0 0.0.0.255
The 2 RIP routes are 201.43.16.0 /24 and 201.43.17.0 /24. I want to filter
out the 201.43.17.0 network so OSPF does not see it.
Am I missing the boat here somewhere?
Ron Fuller, CCDP, CCNP-ATM, CCNP-Security, MCNE, MCP
3X Corporation
rfuller@3x.com
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:15 GMT-3