Ask Different is a question and answer site for power users of Apple hardware and software. 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 Macbook and a Thunderbolt display. The Thunderbolt display is connected to a network with a very tight firewall. I also have a WiFi connection that is always connected at this location. The WiFi firewall isn't as aggressive and every now and then I need to connect to it to connect to a SOAP web service that operates on a blocked port.

Is there a ways (hotkey or system preference) that I can toggle so that I can remain connected to both networks, but force my MacBook to connect to the internet through the WiFi, rather than the local network?

Currently, I have to disconnect from the Thunderbolt display, and connect back up when I am finished downloading my data. Do I have any other options?

share|improve this question
up vote 1 down vote accepted

In the network control panel, click the gear at the bottom of the interface list and select "Set Service Order...". In that dialog, you can move your WiFi above the ethernet display.

Service Order

share|improve this answer
Easy enough! Thank you. – RLH Apr 17 '12 at 17:47

You can accomplish this without having to change between both networks. Connect to both networks. From the command line run these two commands.

    sudo route add -default *ipOfEthernetGateway*

That will set all traffic to go through the work ethernet link.

    sudo route add -host *ipOfWIFIGateway*

That will set all traffic that needs to go to the SOAP server to go through the WiFi link.

share|improve this answer
Thanks Dennis! The selected answer was best for my case, but it's always nice to have a shell command available! – RLH Apr 29 '12 at 14:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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