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 multihomed Windows 2003 server. Is there a way to specify the source IP address to use with the telnet client?

share|improve this question
up vote 7 down vote accepted

You could add a static route to the host you are connecting to.

For example...

You connect to

Interface 1:
Interface 2:
Default gateway:
Static route for to

If you want to connect to via, you add this static route:

route add mask

share|improve this answer

on linux, it's

telnet -b source-ip dest-ip

to "bind" to a different interface

share|improve this answer

You could use ncat:

ncat -s -t
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.