[quagga-users 14850] Re: ospf route-map

Alexis Rosen <[email protected]> Wed, 1 Nov 2017 08:18:04 -0400
Newsgroups gmane.network.quagga.user
Message-ID <[email protected]>
On Nov 1, 2017, at 7:59 AM, Mark Coetser <mark-ajVlV48O6s/[email protected]> wrote:
> OK i have a working ospf setup between multiple routers including some mikrotiks. OSPF works fine but now I have been trying to create an access list to block a quagga router from advertising a ospf learned subnet and for some reason I cant seem to get this right....
> 
> so I have router A with a local subnet of 192.168.60.0/24 that is connected to router B which in turn is connected to router C, I am trying to get router B to stop advertising 192.168.60.0/24 to router C
> 
> Router B quagga config
> 
> router ospf
> redistribute connected route-map RIP_INTF
> redistribute rip route-map RIP_INTF
> !
> ip prefix-list DROPADDR seq 5 deny 192.168.60.0/24
> ip prefix-list DROPADDR seq 10 permit any
> !
> route-map RIP_INTF permit 5
> match ip address prefix-list DROPADDR
> !
> 
> with this in place I still see 192.168.60.0/24 distributed to router C

What makes you think that that route is in OSPF due to redistribution? If it's the subnet that routers A and B are using to speak OSPF to each other, it's going to be in OSPF even if you don't redistribute it from anywhere.

/a