Connecting two linux PCs with ethernet crossover cable or Auto-MDX patch cable

Except it is not the same target. Even though it may be the same machine, the network interfaces and the IPs are different.

Windows plays games and uses different (windows specific) methods within the OS to identify the machine thus it can do as you say and switch paths.