Writing filters that detect intersection between a prefix and a prefix set
zx at zxinc.org
zx at zxinc.org
Sat Dec 6 06:34:50 CET 2025
Hello,
I have a prefix set like [ 192.168.1.0/24+, 192.168.2.0/24+ ] and I want to write a filter that
filters all prefixes intersects with the prefix set and accepts all others, that is,
accepts 192.168.0.0/24, 192.168.3.0/24, 10.0.0.0/8,
rejects 192.168.1.1/32, 192.168.1.0/24, 192.168.2.0/24, 192.168.2.0/23, 192.168.0.0/16, 192.0.0.0/8,
Anyone who knows how to write such a filter? Is it possible?
Thanks.
----
zx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20251206/56ecb916/attachment.htm>
More information about the Bird-users
mailing list