Re: How to configure two netcard for PostgreSQL? - Mailing list pgsql-sql

From dailiming
Subject Re: How to configure two netcard for PostgreSQL?
Date
Msg-id 00c901c2f746$52ef6fb0$1f00a8c0@accunettech.com
Whole thread Raw
In response to Re: How to configure two netcard for PostgreSQL?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-sql
Thank you very much.
I successed.
But I have a question. Why do I set  the single Ip address in pg_hba.conf that is failed?
Could you explain for me?
Thank your help.

----- Original Message ----- 
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "dailiming" <ldai@accunettech.com>
Cc: "Peter Eisentraut" <peter_e@gmx.net>; "Bruno Wolff III" <bruno@wolff.to>; "Rudi Starcevic" <rudi@oasis.net.au>;
<pgsql-sql@postgresql.org>
Sent: Monday, March 31, 2003 12:41 PM
Subject: Re: [SQL] How to configure two netcard for PostgreSQL? 


> "dailiming" <ldai@accunettech.com> writes:
> > host all 192.168.0.10 255.255.255.0 trust
> > host all 192.168.1.10 255.255.255.0 trust
> 
> Nonzeroes in the address where there are zeroes in the mask is a loser.
> Try
> 
> host all 192.168.0.0 255.255.255.0 trust
> host all 192.168.1.0 255.255.255.0 trust
> 
> Of course, you could replace both of these lines with
> 
> host all 192.168.0.0 255.255.254.0 trust
> 
> regards, tom lane
> 

pgsql-sql by date:

Previous
From: "dailiming"
Date:
Subject: Re: How to configure two netcard for PostgreSQL?
Next
From: Tom Lane
Date:
Subject: Re: How to configure two netcard for PostgreSQL?