Tuesday 27 September 2016

Priority to Wifi or LAN on a PC

Priority to WiFi or LAN on a PC

Scenario
PC is connected to LAN cable in the same time connected to the WiFi network. Both connections are active and PC will choose the prefer priority interface list. Here is how to give priority to those settings. 

Check current network preference list. netstat –rn 

Based on below result Realtek PCIe GBE LAN is prefer than WiFi adapter when both network are active.

C:\Windows\System32>netstat -rn
========================================================================
Interface List
 10...8c 73 6e b5 cb 86 ......Realtek PCIe GBE Family Controller
 12...b4 74 9f f4 fe 34 ......Atheros AR9002WB-1NG Wireless Network Adapter
 39...00 ff 0e 9a 79 7c ......TeamViewer VPN Adapter
 28...00 ff e0 a9 be 07 ......Juniper Network Connect Virtual Adapter
 31...00 09 0f fe 00 01 ......Fortinet virtual adapter
             1...........................Software Loopback Interface 1


To tweak the interface priority settings

Control Panel\Network and Internet\Network Connections > Advanced > Advanced Setting> Adapters and Bindings > Connections ….

 Use up arrow and down arrow to teak the setting.



similar case.


Regards,
Yan Linn
Sep/2016