Connecting to two networks, one with and one without internet on Windows 7

Recently I’ve obtained a Netgear wireless router. As it’s a spare I’m going to install OpenWRT on it. I’m not going to use it as my main router and so I want to use another router for my internet access. After plugging the new router in and trying to connect to the internet, I realised that Windows favoured the new router over the old wireless connection for some reason.

After a bit of searching I found out that it might be something to do with the ‘metric’ or the connections. The lower the metric, the greater precedence the connection has over the others. Typing in route print into the command prompt gave me the following:

I’ve highlighted the two lines of importance, also note that the second router has a different subnet from the original router. As you may notice, the new router (192.168.1.1) has a much lower metric, and is being used my Windows to try and connect to the internet. To fix this I went into the properties of the adapter and increased the metric to my liking, as shown below:

Windows then used the old wireless connection for the internet yet I could still connect to the new router using it’s IP.

Advertisements

Published by:

Skyrail

Production Facilitator at Audacious Church Previously Software Developer at UKFast Ltd. and Web Applications Developer at SenseLogix Ltd. Graduate of Renewable Energy BSc from the University of Exeter. Experience with PHP, MySQL, Javascript, CSS and HTML.

Categories Operating Systems, WindowsLeave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s