Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 the following setup - a smartphone tethering (broadcasting an ad-hoc wifi network) internet and a router broadcasting a (local, no-internet) network which has my server. the reason i do this is that phone will time after time, crash under heavy lifting. I can currently connect to the server and be offline, or switch and connect to the internet - with no access to the server.

What's the best way to integrate both networks, so that I can both browse the internet and work simultaneously.


share|improve this question
This is also called dual-homing and is considered a major security risk. Whatever is passed to your Internet facing laptop could be passed to you internal server. If this is a work environment I would STRONGLY disagree with doing this ... but it's up to you. – Joseph Kern Aug 26 '09 at 12:33

Is this under windows?

Type something like this in cmd.

route add if 2

Replace with your servers address and the number 2 with the number of your NIC.

You may have to specify your default route to use the wireless nic instead of the wired, I'm not sure how windows usually defaults two interfaces.

share|improve this answer
This is called a "routing metric", and can be set under any OS. Just google for it. – Joseph Kern Aug 26 '09 at 12:35
It's not a 'routing metric'. It's just a route. 'Routing Metrics' are the priority of routes, he's just using the default priority (as opposed to default route), as he didn't specify one. – Cian Aug 26 '09 at 20:23

Your Answer


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