Windows 10 does not route packet on the direct interface

Reynald Broussart 1 Reputation point
2021-07-22T12:59:54.103+00:00

Hello,

In our setup we have 1 PC running Windows 10 (up to date) with several network interfaces.

  • 1 wifi connection
  • 1 wired connection

The Wifi connection is configured with DHCP. It has a default gateway.
117068-teams-b1wa66zmog.png

The wired connection is configured with static IP. It does not have default gateway (intentional)
117141-teams-c7bzax4435.png
IMPORTANT: we are using public IPv4 range in our private network (I know it is very bad, but I did not choose that one)

Here are the IPv4 routes known by Windows OS:
117151-teams-dywdvmojgj.png

What we see is Windows use the default gateway instead of using the network interface which is connected to the target network (here the 80.0.0.0/5):
117069-teams-ahvl3tgaxi.png

We are sure IP of 80.0.1.10 replies to ping as when we connected directly we get response.

I thought in networking one of the rule was to use the network interface which is connected directly to the network/subnet of the IP we try to reach but here it is not the case when we look at the tracert command report.

Can you let me know why Windows use the network interface where the default gateway is defined? and not the interface where the subnet 80.0.0.0/5 is defined?

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Reynald Broussart 1 Reputation point
    2021-07-22T14:55:34.137+00:00

    behavior probably due to bad cable... sorry


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.