Re: How to configure two netcard for PostgreSQL?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to configure two netcard for PostgreSQL?
Дата
Msg-id 16248.1049085707@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to configure two netcard for PostgreSQL?  ("dailiming" <ldai@accunettech.com>)
Список pgsql-sql
"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 по дате отправления:

Предыдущее
От: "dailiming"
Дата:
Сообщение: Re: How to configure two netcard for PostgreSQL?
Следующее
От: Tomasz Myrta
Дата:
Сообщение: Re: How to configure two netcard for PostgreSQL?