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 use telnet to test email server connectivity between servers.

My server has two interfaces, I'd like to telnet over each.

Basically I'd like to choose source (one of my local ip addresses) AND destination when using telnet.

Is this possible?

share|improve this question

My manpage tells me that telnet -b <sourceaddress> <destination> is the winning combination.

share|improve this answer
I wish I could do +2 for delightful use of manpage and slight sarcasm. – Alex Jul 28 '11 at 14:31
What os? I'm running rhel 4 and my man page doesn't have that option. 'telnet: invalid option -- b' – RussellBallestrini Jul 28 '11 at 14:34
"slight"? I must be losing my touch. – womble Jul 28 '11 at 14:34
@foxhop: Linux NetKit version 0.17, released August 15, 1999. I wonder if that's too new to have made it into RHEL 6...? – womble Jul 28 '11 at 14:36
Now that is not slight you still got the touch. Just had to warm up a bit I guess. – Alex Jul 28 '11 at 14:39

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.