I have 2 Ethernet adapters on my laptop, and I have set up a Modbus TCP I/O server. When the server deploys, is uses the adapter with an address of 192.168.168.33. I want it to use the adapter with the address of 192.168.168.2. My device has an address of 192.168.168.99. How can I force it to the correct adapter?
The adapter is basically selected by its subnet and gateway. Since both are probably the same in this case, you might need to play with the adapter priorities. This is basically determined by the OS, so searching Microsoft's site might help. The other option is changing one of the cards to be on a different subnet.