Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 15:21:03 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Vitaliy Vladimirovich <artemrts@ukr.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Re[2]: How specify  range IP?
Message-ID:  <1211552463.10665.16.camel@localhost>
In-Reply-To: <E1JzXPN-000NaL-MS@ffe11.ukr.net>
References:  <E1JzXPN-000NaL-MS@ffe11.ukr.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On Fri, 2008-05-23 at 16:34 +0300, Vitaliy Vladimirovich wrote:
> 
> --- Original Message ---  
> From: Mike Tancsa <mike@sentex.net>  
> To: "Vitaliy Vladimirovich" <artemrts@ukr.net>, freebsd-pf@freebsd.org  
> Date: 23 may, 16:07:12  
> Subject: Re: How specify range IP?  
>   
>   At 07:24 AM 5/23/2008, Vitaliy Vladimirovich wrote:  
>   
> >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??  
>   

10.0.10.1 - 10.0.10.8 can't be represented as a single CIDR range,
therefore you would need to specify multiple addresses to represent it
in CIDR notation. It would therefore be the combination of the 4 ranges

10.0.10.1/32
10.0.10.2/31
10.0.10.4/30
10.0.10.8/32

10.0.10.0 - 10.0.10.7 can be represented as the single range
10.0.10.0/29

Tom

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkg20skACgkQlcRvFfyds/dfLQCfUxcbTG1sYSFOAqsTIPJCkD3Q
TsIAnRMOCBQHJQTxCHGzjsDezWsiiiAd
=aAbM
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1211552463.10665.16.camel>