From: Chad Marsh (chad@xxxxxx)
Date: Tue Aug 10 1999 - 17:57:08 GMT-3
Jason, try:
access-list 10 permit 192.168.4.0 0.0.0.255
access-list 11 permit any
route-map rip-to-ospf deny 10
match ip address 10
route-map rip-to-ospf permit 20
match ip address 11
Make sure you remove and re-apply your redistribute statement under ospf
1999 after you make any changes to the access-lists(s) or route-map.
I'm working on/learning the same stuff in my lab as we speak, so if I'm
wrong, don't sue me.
Chad Marsh
Jason Aarons wrote:
>
> I'm trying to block network 192.168.4.0 from appearing in my OSPF routers.
> However, it continues to appear despite my route-map. Am I missing
> something ?
>
> hostname border
> !
> router ospf 1999
> redistribute rip metric 10 subnets route-map rip-to-ospf
> network 172.16.1.0 0.0.0.255 area 0
> !
> router rip
> network 172.16.0.0
> !
> no ip classless
> access-list 10 permit 192.168.1.0 0.0.0.255
> access-list 10 permit 192.168.2.0 0.0.0.255
> access-list 10 permit 192.168.3.0 0.0.0.255
> route-map rip-to-ospf permit 10
> match ip address 10
> !
> END
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:46 GMT-3