Super User is a question and answer site for computer enthusiasts and power users. 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'm planning on getting a second broadband in addition to my current one. What I'd like to know is how can I divide the traffic so that the second connection is used only for certain subnets and the other one for everything else. Can this be done in Windows or do I need a separate PC for routing?

EDIT: some additional info:

I'm planning a setup like this:

Connection #1 (eth0)

  • Wired via router
  • 100Mbps
  • Limited traffic

Connection #2 (wlan0)

  • Wireless via router #2
  • 10Mbps
  • Unlimited traffic

If configured this way, connection #1 is the one to limit to specific subnets and connection #2 is used for all others.

I could also be persuaded to use a linux box for this division (assuming this can be done with basic tools like iptables etc.), but a Win7 solution is preferred.

share|improve this question
up vote 1 down vote accepted

First: Set your default-route (standard gateway) to the ip of router2.
Second: add the specific subnets manually to your routing table pointing to the ip of router1.

route ADD *network* MASK *subentmask* *gateway*  

for example if the network is and the IP of router1 is

route ADD MASK

Forgot to mention:If it works as you like, use the -p argument to make the route persistant. (Be configured after reboots.)

share|improve this answer
Thanks, will try this after work and accept if it works – onik Oct 14 '10 at 9:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .