On a Windows Server 2012 R2 Essentials I have two identical network cards. Both cards are connected to the same switch and the two switch ports are configured to the same VLAN. The network interfaces have different IP addresses on the same subnet:
route print (shortened to the relevant lines) tells the following:
192.168.1.0 255.255.255.0 On-link 192.168.1.21 276 192.168.1.0 255.255.255.0 On-link 192.168.1.11 276 192.168.1.11 255.255.255.255 On-link 192.168.1.11 276 192.168.1.21 255.255.255.255 On-link 192.168.1.21 276 192.168.1.255 255.255.255.255 On-link 192.168.1.21 276 192.168.1.255 255.255.255.255 On-link 192.168.1.11 276
I need to make sure, that connections initiated by this machine to other nodes on the 192.168.1.0 subnet (outgoing connections) use the second interface (the one with the IP 192.168.1.21). Incoming connections shall be possible on both interfaces.
What I already tried:
I changed the order of the interfaces in the Adapter Settings/Advanced/Advanced Settings Dialog
I tried to manually change the interface metric under the Interface Settings/TCPIPv4/Advanced
Both ways did not make outgoing connections to use the second interface.
What can I do to give Interface 2 a higher priority for outgoing connections?