Uz.ytkownik dailiming napisa?:
> I try again.
> F.E:
> First,I modified the pg_hba.conf cfg file.
>
> host all 192.168.0.10 255.255.255.0 trust
> host all 192.168.1.10 255.255.255.0 trust
>
> Second, I used "/etc/rc.d/init.d/postgresql" to stopping the postmaster.
> Finally, I restart the postmaster by "/usr/bin/postmaster -i -S -D /var/lib/pgsql/lib/data".
>
> When I telnet 192.168.0.10 to connect database,I have the same results as before.
>
> "psql -h 192.168.0.10 coredb " is failed.
> "psql -h 192.168.1.10 coredb " is successed.
>
> Why the first is failed?
I have postgres 7.3. I tested your case on ip-alias on only one netcard
and it works fine.
Maybe you have some routing problems? Can you ping both netcards?
Regards,
Tomasz Myrta