Force all internet bound traffic via the wireless network

Chris 0 Reputation points
2024-01-01T13:31:21.3733333+00:00

I'm out in the country and have a very poor landline internet connection, the laptop is connected to my home network via a LAN cable. I have better internet connectivity via a mobile phone hotspot, and this is connected via Wifi to the laptop and this is where I want to direct my internet traffic to.

Ideally, I want the laptop to be able to force all internet traffic via the wifi connection, and have ONLY local traffic (destined for other computer on network, NAS etc) go down the LAN connection.

I have read multiple methods of acheiving this, from setting the network metric, changing the order of network adapters in network connections and whilst these seem to work some of the time, it doesn't permanently do it. Windows seems to have its own thoughts on where it wants to send it and it is frustrating, as sometimes I will find the internet is really slow as the computer has overridden my set choice (despite the automatic metric being switched off) and is sending internet traffic down the LAN connection. Whilst the connectivity to the switch is 1Gbps the breakout to the internet certainly isn't! I have my wifi metric set as 1 for the network metric, and the LAN connection set as 9999.

This, but in reverse (as in I want the computer to prefer the wifi connection over the LAN).

https://helpdeskgeek.com/networking/force-windows-7-to-use-wired-connection-over-wireless/

Is there a way to "trick" Windows 7 into thinking the LAN connection has no internet connectivity, thus avoiding sending internet traffic down it alltogether?

Many thanks in advance!

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

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-01-04T02:40:43.3666667+00:00

    Hello,

    Use route print command to list current local IP routing table, then, use route add command to add the routing entry and specify the next hop of specific network traffic.

    Route:

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/route_ws2008

    Best Regards,
    Karlie Weng


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

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