Subject Re: [firebird-support] 2 NIC
Author Helen Borrie
At 12:28 PM 8/10/2003 +0900, you wrote:
>Hello all,
>
>I am developping a program for Firebird 1.0 and it usually work fine.
>But it does not work on computer with 2 NIC. Especially accessing
>from anothercomputer. After connection, program does not work at all.
>If anyone know such a probrem, please advise.
>
>C++Builder 6.0 IBX component.
>Firebird 1.03
>Windows 2000

The adapters should have different IP addresses. Make sure that both
adapters "know" their own addresses. Then, in the HOSTS files for the
server and each client, make entries for both cards, e.g.

10.11.12.1 FbServer # NIC 1 for internal LAN connections
210.150.220.23 yourdomain.ne.jp # NIC 2 for WAN connections

Set up the NIC's network submask correctly for the network, too. For the
LAN it should probably be 255.255.255.0 (< 255 nodes) or 255.255.0.0 (> 254
nodes).

It might also help to try and get the NIC cards in order of narrowest to
widest, i.e. the LAN card at the top, followed by the second NIC card, and
so on.

And of course (1) make sure that your application connects to the right
card!! and (2) that port 3050 is open

h.