X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AC1FC474E44 for ; Fri, 28 Mar 2003 00:50:16 -0500 (EST) Received: from ns.cnlo.ro (cnlo.ro [193.231.112.154]) by postgresql.org (Postfix) with ESMTP id D85BB475ADE for ; Fri, 28 Mar 2003 00:49:51 -0500 (EST) Received: from cnlo.ro (marian.cnlo.ro [192.168.10.64]) by ns.cnlo.ro (8.12.8/8.12.8) with ESMTP id h2S5hr05026337; Fri, 28 Mar 2003 07:44:07 +0200 Message-ID: <3E83E0FF.3020503@cnlo.ro> Date: Fri, 28 Mar 2003 07:43:27 +0200 From: Popeanga Marian User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dailiming Cc: Bruno Wolff III , Rudi Starcevic , pgsql-sql@postgresql.org Subject: Re: How to configure two netcard for PostgreSQL? References: <3E824070.7070207@oasis.net.au> <20030327170321.GA28903@wolff.to> <004101c2f4d2$c2590a80$1f00a8c0@accunettech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.4.1(snapshot 20020919) (ns.cnlo.ro) X-Spam-Status: No, hits=-35.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/624 X-Sequence-Number: 12662 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, please send an appropriatesubscribe-nomail command to majordomo@postgresql.org so that yourmessage can get through to the mailing list cleanly > > > -- Popeanga Marian DBA Oracle CNLO Romania