On Wed, Nov 1, 2017 at 7:59 AM, Mark Coetser <m...@tux-edo.co.za> 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 > Hi Mark, If I understand what you're asking (I might not) then OSPF doesn't work that way. Filtering routes only works on the router first introducing ("redistributing") the route in to OSPF. That's router A in your example. Once in OSPF the route can't be conditionally removed somewhere else with any configuration. You can filter the route if you redistribute it from OSPF to some other protocol such as BGP. But you can't filter it within OSPF. Regards, Bill Herrin > 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 > -- William Herrin ................ her...@dirtside.com b...@herrin.us Dirtside Systems ......... Web: <http://www.dirtside.com/>
_______________________________________________ Quagga-users mailing list Quagga-users@lists.quagga.net https://lists.quagga.net/mailman/listinfo/quagga-users