A laptop using windows-7 is connected to two WIFI connections using a built in wireless card and a USB wireless card.
- WIFI-1 is a Tenda Router using IP range 192.168.0.*. This router is not supposed connected to internet on purpose.
- WIFI-2 is a TP Link Router using IP range 192.168.1.*. This router is connected to the internet and needs to provide internet connectivity to the laptop.
Internet works as long as the laptop connects only to WIFI-2 using either the internal or the USB card. When the second card is used to connect to the WIFI-1, internet connectivity is lost in a few seconds. When we ping a website (like www.google.com) it shows that it is trying to ping google using IP 192.168.0.1 which is the router with no internet connectivity.
How do we tell windows always to use a specific connection for internet? We also tried to set a higher priority for the Wireless Card that connects to WIFI-2 by going changing priority under:
However, it still shows the same behavior. Also tried to move the internet router to a lower IP range in the hope that Windows may try to use it but it didn't work as well.