From: dailiming <ldai@accunettech.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Bruno Wolff III <bruno@wolff.to>
Cc: Rudi Starcevic <rudi@oasis.net.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to configure two netcard for PostgreSQL?
Date: Mon, 31 Mar 2003 13:28:02 +0800
Message-ID: <00c901c2f746$52ef6fb0$1f00a8c0@accunettech.com> (raw)
References: <Pine.LNX.4.44.0303281446470.2204-100000@peter.localdomain>
<009e01c2f720$febdc920$1f00a8c0@accunettech.com>
<13583.1049076928@sss.pgh.pa.us>
<00b901c2f730$5e9996d0$1f00a8c0@accunettech.com>
<16248.1049085707@sss.pgh.pa.us>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ldai@accunettech.com, tgl@sss.pgh.pa.us, peter_e@gmx.net, bruno@wolff.to, rudi@oasis.net.au
Subject: Re: How to configure two netcard for PostgreSQL?
In-Reply-To: <00c901c2f746$52ef6fb0$1f00a8c0@accunettech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox