How specify range IP?

Miroslav Lachman 000.fbsd at quip.cz
Fri May 23 15:03:29 UTC 2008


Vitaliy Vladimirovich wrote:
>   
> --- Original Message ---  

>>Hi,all!  
>>I need specify a range IP addresses in may spamd-whitelist table,  
>>e.g. 209.85.128.0-209.85.255.255.  
>>How can I do this correctly?  
> 
>   
> Hi,  
> Try in CIDR notation. e.g. 209.85.128.0/17    
> I know about CIDR notation, and what about if I need specify something similary 10.0.10.1-10.0.10.8??  

You can use net/tableutil from ports to convert your ranges in to CIDR.
http://www.freebsd.org/cgi/url.cgi?ports/net/tableutil/pkg-descr
http://expiretable.fnord.se/

Miroslav Lachman


More information about the freebsd-pf mailing list