Certainly! Connecting your Windows 10 PC to both WiFi for internet access and an Ethernet connection for a separate local network is achievable with some network configuration. Here’s a step-by-step guide to set this up:
Step 1: Connect to Both Networks
-
WiFi for Internet:
- Click on the network icon in the system tray.
- Select your WiFi network and enter the password if required.
- Ensure you have an active internet connection through WiFi.
-
Ethernet for Local Network:
- Connect an Ethernet cable from your PC to the device on your separate local network (e.g., a switch, router, or directly to another PC).
- Windows should automatically detect and connect to the Ethernet network.
Step 2: Configure Network Priorities
You need to ensure that internet traffic uses the WiFi connection while local network traffic uses the Ethernet connection. This is done by adjusting the interface metric.
-
Open Network Connections:
- Press
Win + X and select Network Connections.
- Alternatively, you can go to Settings > Network & Internet > Status and click on Change adapter options.
-
Configure Metrics:
- Right-click on your WiFi adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Click Advanced.
- Ensure Automatic metric is checked. If it is not checked, check it. This will give the WiFi connection a lower metric, making it the preferred route for internet traffic.
- Click OK to close all windows.
- Right-click on your Ethernet adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Click Advanced.
- Uncheck Automatic metric
- Set a higher metric value, such as 25. This will make the Ethernet connection less preferred for internet traffic.
- Click OK to close all windows.
Step 3: Disable Internet Access on the Ethernet Connection
To ensure that the Ethernet connection is only used for the local network and not for internet access you need to create a route.
-
Open Command Prompt as Administrator:
- Press
Win + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
-
Add a Route:
Step 4: Test the Configuration
-
Check Internet Connection:
- Open a web browser and navigate to a website to ensure you have internet access through the WiFi connection.
-
Check Local Network Connection:
- Ping a device on your local network connected via Ethernet.
- Open Command Prompt and type:
ping <Local-Device-IP>
- Replace
<Local-Device-IP> with the IP address of a device on your local network. You should receive replies, indicating that the Ethernet connection to the local network is working.
Step 5: Using Virtual Desktop
With both connections configured, you can now use Virtual Desktop or any other VR local streaming app.
- Ensure your VR headset is connected to the same local network as your Ethernet connection.
- Launch Virtual Desktop and configure it to use the local network IP address of your PC. Since the Ethernet connection is prioritised for local traffic, Virtual Desktop will use the Ethernet connection for streaming, providing better performance.
Troubleshooting
- If you lose internet connectivity, ensure the WiFi connection has a lower metric than the Ethernet connection.
- If you can’t connect to devices on the local network, ensure the default route was correctly removed from the Ethernet connection.
- You can always reset your network settings by typing
netsh int ip reset in the command prompt if something goes wrong.
By following these steps, you should be able to successfully use both WiFi for internet access and an Ethernet connection for a separate local network simultaneously.