Re: IP range in pg_hba.conf? - Mailing list pgsql-general

From Zhidong
Subject Re: IP range in pg_hba.conf?
Date
Msg-id 11377B9A-0C4C-4FFE-B4A9-C4FD7562FAB5@gmail.com
Whole thread Raw
In response to Re: IP range in pg_hba.conf?  (Ondrej Ivanič <ondrej.ivanic@gmail.com>)
Responses Re: IP range in pg_hba.conf?  (Thom Brown <thom@linux.com>)
List pgsql-general
Can you guys explain why it is 10.17.64.0/20? Thanks!

Sent from iPad

在 Nov 8, 2011,7:42 PM,Ondrej Ivanič <ondrej.ivanic@gmail.com> 写道:

> Hi,
>
> On 8 November 2011 22:33, Chrishelring <christianhelring@gmail.com> wrote:
>> I want to exclude access to our postgresql db using a configuration in the
>> pg_hba.conf file. I have a range of IP adress that should have access, but
>> how do I do that?
>>
>> The range is 10.17.64.1 - 10.17.79.254 (eg. 255.255.240.0 as subnet).
>
> The range above should be written like this: 10.17.64.0/20
>
> --
> Ondrej Ivanic
> (ondrej.ivanic@gmail.com)
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Ondrej Ivanič
Date:
Subject: Re: IP range in pg_hba.conf?
Next
From: Thom Brown
Date:
Subject: Re: IP range in pg_hba.conf?