Windows

  • Windows 7
  • Windows
  • All forums
Question

Wired and Wireless connections on the same Windows 7 machine.

When my desktop is connected to both networks, Windows 7 seems to default the wireless network as it's primary link.  How do I force Windows 7 (Home Premium) to use the wired network as a primary and the wireless as a secondary?

I have an HP Pavilion Elite running Windows 7 Home Premium 64bit.  8 gig of RAM, AMD Phenom II X4 910 processer, Nvidia 9800GT video card.  StarTech PCI Express 10/100/1000 network card (Realtek PCIe chipset & driver) and a Atheros 802.11a/b/g/n Dualband wireless card.  Both cards functional and stable.  No system issues.

My home network consists of two separate VLANs - a wired network using 172.18.1.0/27 and the wireless network using 172.18.2.0/27. Both networks are connect to a single router with dual ISP connections (Cable and DSL).  When the desktop is connected to both the wireless and wired VLANs traffic defaults to the wireless VLAN.  I need the desktop connected to both VLANs - but would like to use the wired network as a primary.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation
14 People had
this question

Was this helpful?

17

Votes

Answer

Have you tried changing the adapters and bindings order in the advanced panel of network connections?

In the start menu, search for 'network connections' and press enter.

In the window the comes up, use Alt-key for menu. Choose Advanced. (alt-n-s) On the Adapters and Bindings tab, re-order the connections, putting your wired connection at the top.

 

 

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

12

Votes

Answer
When more than one network connection is available, Windows uses the one with the lowest metric value.  By default, it automatically assigns a metric value based on the network connection's rated speed.  See An explanation of the Automatic Metric feature for Internet Protocol routes .

To force Windows to use a specific network connection, assign a metric value to each one, giving the lowest value to the desired connection:

1. Open the Network Connections folder (Start > Run > ncpa.cpl)
2. Right click the desired connection.
3. Click Properties > Internet Protocol Version 4.
4. Click Properties > Advanced.
5. Un-check "Automatic metric".
6. Enter a number between 1 and 9999 for the "Interface metric".
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Steve Winograd

Steve Winograd
Steve Winograd

Was this helpful?

12

Votes

Answer
When more than one network connection is available, Windows uses the one with the lowest metric value.  By default, it automatically assigns a metric value based on the network connection's rated speed.  See An explanation of the Automatic Metric feature for Internet Protocol routes .

To force Windows to use a specific network connection, assign a metric value to each one, giving the lowest value to the desired connection:

1. Open the Network Connections folder (Start > Run > ncpa.cpl)
2. Right click the desired connection.
3. Click Properties > Internet Protocol Version 4.
4. Click Properties > Advanced.
5. Un-check "Automatic metric".
6. Enter a number between 1 and 9999 for the "Interface metric".
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Steve Winograd

Steve Winograd
Steve Winograd

Was this helpful?

Hi Steve, do you know if there is a way to ask windows to re-assess the rated speed?  I have two connections:

• 1 Gbps Wired LAN
• 54 Mbps 802.11g

 

But Windows 7 still prefers the wireless one when both are connected.  I can assign the metric, but I'd love for Windows to handle this on its own.

 

 


If this was helpful, please vote by clicking the green triangle. If it solves the issue, click Propose as Answer. Thanks!
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Shawn B Keene [MVP]

Community Moderator
Microsoft MVP
Windows Client Expert
Microsoft Community Moderator

Was this helpful?

Try manually configuring the speed in the network adapter's properties in Device Manager.  For example, my gigabit Ethernet adapter has aSpeed & Duplex property that I can set to 1.0 Gbps Full Duplex .
Boulder Computer Maven
Microsoft Most Valuable Professional
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Steve Winograd

Steve Winograd
Steve Winograd

Was this helpful?

I have an identical query as asked by Shawn B. Keene.

 I have two connections to my laptop:

• 1 Gbps Wired LAN (Broadcom NetXtreme 57xx Gigabit Controller)

• 54 Mbps 802.11g  (Dell Wireless 1397 WLAN Mini-Card)

I have tried couple of things to set metric

1) I have assigned the metric 10 for wired NIC adaptor and 20 for wireless however, Windows 7 still prefers the wireless one when both are connected.

2) I have assigned the metric 10 for wired NIC adaptor and kept automatic metric for wireless, Windows 7 still prefers the wireless one when both are connected.

Is there a way to set wired connection as preffered one when both wired and wireless connections are available?

 

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

2

Votes

Im my case it helped to change wireless card metrics to 2500 while keeping wired one as automatic. Changing wired one to 10 had no effect. It looks like there are problems with enforcing low metrics values.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

2

Votes

From the command line, if you enter "route print", you'll get a a route table output that shows the interface and metric assigned to the interface. It would be interesting to see what these look like when both the Gigabit and the wireless controllers are active.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

2

Votes

I have the same issue.

My notebook is connected by ethernet and wi-fi.

Although the ethernet interface has the lowest metric, windows 7 prefers to use wi-fi to access

my samba server.

The funny part is that it uses wi-fi just for the network shared folders. When I connect throught SSH

to the same server, windows 7 uses ethernet.

I prety sure about ir because i used tcpdump (sniffer) to see from with IP/MAC the connection was going throught.

Did anyone solve this?

 

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

1

Vote

I have the same issue, wired even with a metric of one, is not used, whereas wireless with a metric of 99 is.

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

2

Votes

I just set NIC to 1 and Wireless to 9999. Since no immediate change occured, I disabled wireless (switch on the laptop), then re-enabled it. Appears as though Windows defaulted to wireless again as soon as it loaded.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

17

Votes

Answer

Have you tried changing the adapters and bindings order in the advanced panel of network connections?

In the start menu, search for 'network connections' and press enter.

In the window the comes up, use Alt-key for menu. Choose Advanced. (alt-n-s) On the Adapters and Bindings tab, re-order the connections, putting your wired connection at the top.

 

 

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation
<< PreviousPage of 3 Next >>

Message marked as answers cannot be deleted

To delete this message, first unmark this message as an answer, then delete it.

Reason to remove escalation


Merge

Enter the thread ID of the thread you are merging into


Reply will be posted to a public thread

You are replying to a public portion of this thread. To reply privately, click Cancel, click the Private Messages tab, and Reply on that private message.

Don't show this message again

To report abuse, sign in or continue without signing in

Thank you.

Report abuse

Abuse type:

Details (optional):

Report abuse

Abuse type:

Details (required):
Enter the characters you see (required):
Type the numbers that you see in the picture.
Play audio and type the numbers that you hear.
Show a different picture.

Sign in

Hotmail, Xbox Live, Messenger, or msn accounts will also work.

Don't have one of the above accounts?

Signing in...
This page will automatically update after you are signed in.
If you are having problems, you can close this message and try to connect again.