Ilya A. Kovalenko wrote:

    Good time of day,

 I want to define table, that includes all Internet IP
addresses (i.e. all except fake ones).

 Excludes-only table does not work.
table <nInet> {!192.168.0.0/16 !172.16.0.0/12 !10.0.0.0/8}

 How can I add all IP addresses onto table ?

 "any"  causes error
 "0/0"  does not work (as said on FAQ)
 construction "0/1 128/1" seems to work

How I should do it ?


"0/1 128/1" will work, yes.

But the real question I've is why do you need that.
You can just do the opposite table:

   table <x> { 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8}

And then use the table in negative rules, like:

   pass in from !<x>

Cedric



Reply via email to