Defining a table with normal and negated ips and ranges
-
How can I define a table like this:
table <my_table>{0.0.0.0/0
!0.0.0.0/8
!10.0.0.0/8
!172.16.0.0/12
!192.168.0.0/16
!169.254.0.0/16
!240.0.0.0/4
}More specifically I need to setup a table with 0/0, with all non routable nets negated, but I can't add 0/0 to a table.
Thanks in advance,
Fabio Almeida</my_table> -
You can't negate table entries inside of a table. Create the table you want, then negate it in the rule where you're using it.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.