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 Windows 7 RC build system, with dual NICs. Each NIC is connected to subnets with different static IPs ( on one, and on another).

Certain programs (uTorrent) have configurations which let them use a specific IP for outgoing traffic. This works like a charm, no complaints. However, when I open up Putty, I can't find any configuration info that let's me do the same, and when I actually use it, it's using the default outgoing IP (which has much longer latency to the other subnet than going to it directly). Is there any way to tell Putty to use a non-default outgoing IP?

I've tried messing about with Windows Firewall to restrict Putty to only use the IP that I want, but that didn't seem to work either.

I have this feeling this isn't supplying sufficient information or specificity, so let me know if there are important details I've missed.

share|improve this question
up vote 6 down vote accepted

It sounds as if you need a static route i.e.

route -p add x.x.x.x mask y.y.y.y <gateway> metric 1

where x.x.x.x and y.y.y.y are the target subnet and is the gateway you want to use. Presumbaly there is a gateway in the 192.168.1 subnet and another in the subnet. Note that this is a global setting i.e. it affects all applications not just Putty. It tells the Windows IP stack to route all packets for x.x.x.x through the gateway you specify.


share|improve this answer

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.