Try first to ping both addresses.
You need to add routing for your both ip classes.
Why not use those two net cards in the same address class ?
dailiming wrote:
>Hi,everybody:
> Today ,I have met a problem.
> I have two netcard. One is eth0 192.168.1.10/255.255.255.0
>the other is eth1 192.168.0.10/255.255.255.0
>
> When I conenct database use "psql -h 192.168.0.10 cityDB" , I cann't connect database.
> When I connect database use "psql -h 192.168.1.10 cityDB", I can connect database.
>
> In fact ,I want to connect database through the two netcard. What should I do for finishing the idea ?
>
>Please help.
>thanks.
>
>leon
>2003/03/28
>
>---------------------------(end of broadcast)---------------------------TIP 3: if posting/reading through Usenet,
pleasesend an appropriatesubscribe-nomail command to majordomo@postgresql.org so that yourmessage can get through to
themailing list cleanly
>
>
>
--
Popeanga Marian
DBA Oracle
CNLO Romania