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>

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

--=-nSpIJUC8FsOebJxaOCIS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Fri, 2008-05-23 at 16:34 +0300, Vitaliy Vladimirovich wrote:
>=20
> --- Original Message --- =20
> From: Mike Tancsa <mike@sentex.net> =20
> To: "Vitaliy Vladimirovich" <artemrts@ukr.net>, freebsd-pf@freebsd.org =20
> Date: 23 may, 16:07:12 =20
> Subject: Re: How specify range IP? =20
>  =20
>   At 07:24 AM 5/23/2008, Vitaliy Vladimirovich wrote: =20
>  =20
> >Hi,all! =20
> >I need specify a range IP addresses in may spamd-whitelist table, =20
> >e.g. 209.85.128.0-209.85.255.255. =20
> >How can I do this correctly? =20
>  =20
> Hi, =20
> Try in CIDR notation. e.g. 209.85.128.0/17   =20
> I know about CIDR notation, and what about if I need specify something si=
milary 10.0.10.1-10.0.10.8?? =20
>  =20

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

--=-nSpIJUC8FsOebJxaOCIS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

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

--=-nSpIJUC8FsOebJxaOCIS--




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