1

Situation

I've two PC connected with LAN cable (without internet access) to each other. They also are on the same Wi-Fi network (with internet access).

Current behavior

  • When I use Internet on browser -> It uses Wi-Fi connection.
  • When I access Network (shared) drives from my other PC -> It again uses Wi-Fi connection.

What I want to achieve

  • When I use Internet on browser -> It uses Wi-Fi connection.
  • When I access Network (shared) drives from my other PC -> It should prioritize LAN cable to access the files

1 Answers1

2

I've vaguely got a similar setup or used one in the past. It needs a little bit of tweaking but there's a few elements here

  1. Treat the wifi and wired networks as two different subnets, say 192.168.1.x and 192.168.2.x

  2. You need to set up a static IP on either side on the wired interfaces - this is a setup I used in the past

  3. test the routes for the wired interfaces to ensure you're going the right way - use the IPs not the hostnames

  4. USE THE IPS, not hostnames to connect to the fileshares.

This should work

Journeyman Geek
  • 133,878