Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a laptop which is always connected to the wireless network in our office. At my desk i also have a network cable which, of course, gives me a much better network speed. The problem is that when i plug in the cable, my laptop stays connected to the wireless network.

Can i fix this with some setting?

What i want is that when i plugin the cable my laptop should switch to using the LAN.

Can this be done?

share|improve this question

closed as off topic by joeqwerty, MikeyB, dunxd, EEAA, RobM Oct 25 '12 at 20:32

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 6 down vote accepted

Just because your computer is still connected to the wireless, doesn't mean it's using it. Your computer is quite capable of being connected to multiple networks. It will choose what it perceives to be the best connection.

If you're convinced this isn't working correctly, please goto the command prompt and paste the output for the following two commands:

ipconfig /all

route print

We'll be able to determine which connection is being used by default then, and confirm whether or not your laptop is assigning the correct metric.

share|improve this answer
Isn't it quite possible/likely that both networks will be using the same default gateway meaning this won't shed much light on the situtation? – Robin Gill Feb 23 '12 at 14:00
@RobinGill route print will list the interface IP address as well as the gateway, so we can cross reference that with ipconfig to figure out which interface has what metric. (Unless there's an easier way?) – Dan Feb 23 '12 at 14:03
Thanks Dan. We've done like you said and compared the info we got from both commands. Made some changes to the metric setting and now it's working just fine. – Tys Feb 23 '12 at 14:27

This can easily be done using windows built in functionality. Assuming you are using win7, go to control panel, network and internet, network connections, then press the alt button, click advanced, advanced settings, than change the order of the network adapters to suit your preference.

For some daft reason, from what I've seen, wireless connections are normally listed above wired connections.

share|improve this answer
Unless I'm completely misunderstanding, this has no bearing on the interface metric. Indeed, on my machine, the WLAN is at the top but has a higher metric than the LAN connection. You can manually change the metric by going to the advanced TCP/IP settings in each adapter, but I think this should be left alone unless there is a specific reason to change it. Lower number = higher priority – Dan Feb 23 '12 at 14:08
I was going off the descriptions in those dialogue boxes but sounds like you are correct Dan – Robin Gill Feb 23 '12 at 17:01

there are 3rd party tools that can do this such as wirless auto switch

when you plug in into your lan it should have a higher priorty and metric compared your wirless so all traffic should be routed thru there. also you can a lways disable manually from the network and sharing control panel:)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.