> Is there away to tell the TCP Open Connection function which network card
> to use?
Yes. You do it indirectly when assigning the IP address and subnet mask
which together establish on which subnet the NIC resides. When trying the
open the TCP connection, the IP address of the destination is examined to
determine to which subnet it belongs. If the destination isn't on a local
subnet, a router must be used to find a path to the destination.
A dedicated ethernet connection to a single device is generally done with a
crossover cable. This cable has the send and receive signals crossed over
in the cable. If more devices will be connected to the same subnet, then
all the devices will be connected to a hub or ethernet switch with straight
cables. In this situation, the hub or switch crosses the send and receive
signals.
If this network will not be connected to a router or to any hub or switch
connected to another network, then you really can use any range of addresses
you choose. But to avoid confusion, perhaps, addresses in the range of
something like 192.168.x.y are reserved for isolated networks. To avoid any
problems, the NICs of all of the devices on the isolated network should be
addressed such that they are all on the same subnet. There might be a way
to use addresses which are not all on the same subnet, but that is beyond my
level of understanding. The subnet is determined by ANDing the bits of the
IP address and the subnet mask. So, if the subnet mask is 255.255.255.0,
make sure that the first three fields of the IP address are identical. For
example, one if my subnets is 192.168.0. The fourth field should be from 2
to 254 (1 is typically used for gateways and 255 I think is used for
broadcasting).
For all devices on this isolated, simple network, two fields of the address
properties need to be manually filled in; these being the IP address and the
subnet mask. The gateway address isn't needed since there is no router and
the domain name server (DNS)address isn't needed if IP addresses instead of
URL names are used.
The addressing for the company LAN, especially if it is connected to the
internet, has other requirements that are probably specified by your
company. You probably don't have the freedom to choose addresses as you do
with your connection to the TFC. If these address are manually entered,
make sure that the subnet for the company LAN does not match the one you are
using for the TFC connection. Again, you do this by ANDing the bits of the
IP address and the subnet mask. Be careful with the company LAN subnet
mask. My company, in a quest for more address space, uses 255.255.252.0
instead of 255.255.255.0 for the mask. If the company LAN uses DHCP, and IP
addresses are assigned automatically, I think you can see the dynamic IP
address and subnet mask with the "ipconfig /all" command in a CMD window.
If the company LAN and the TFC connection are on the same subnet, I
speculate that the TCP Open Connection VI might not think there is a need to
try subsequent NICs in the list of connections. Apparently you've found
that FTP running in a CMD window doesn't make this assumption.
Please confirm that your addressing scheme adheres to these guidelines. If
it does, then we need to dig further to find the source of the problem.
Also, you mentioned that the vendor's software specifies the order of the
connections in the Adapters and Bindings list. Is this from a manual or has
this been determined by use? If these are the vendor's instructions, could
you post the relevant sections to help me understand your situation?
Also, to reiterate something Dennis said, make sure the network cables are
plugged in and all devices powered up when you reboot your PC. These things
should be plug and play, but I've had inconsistent problems if I don't do
this.
As a