3

Hello I'm currently facing issues with tcp communication on a windows 10 system with two network cards. I need to connect specific hardware which is in a LAN. Sometimes windows uses the network adapter which is connected to the LAN sometimes it uses the other one which is used for internet access.

Now I want to to force windows that for two specific ip-addresses only a specific adapter will be used. Is there a way to do this?

Already added the ip-addresses via the route add command what sadly does not make any difference.

Here is a picture of the routing table. The ip-addresses with the problem are the ones in the red square.

Route table

Adding a Firewall entry for the Ip-Addresses does not change the bevavior either. I'm just getting a different error message.

Any ideas anyone?

9
  • Your routes overlap. Try to give the LAN rules a low metrics so they have priority.
    – harrymc
    Commented Aug 18, 2022 at 9:34
  • @harrymc giving it a lower metrics doesn't change the behavior sadly. But thanks for the idea.
    – SebA
    Commented Aug 18, 2022 at 10:14
  • Maybe adding a routing table rule? See howtogeek.com/howto/windows/…? Commented Aug 18, 2022 at 13:19
  • Your routes might overlap, but that is not clear from the description. Please add which subnets you have on each of the interfaces, what specific IP addresses you are trying to reach, and possibly a printout of the routing table.
    – Paul
    Commented Aug 18, 2022 at 14:37
  • @Paul just added the screenshot of the routing table. I want to reach 192.168.222.1 and 192.168.222.2
    – SebA
    Commented Aug 19, 2022 at 5:27

0

You must log in to answer this question.

Browse other questions tagged .