Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
2  
@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 sarcasm...so you still got the touch. Just had to warm up a bit I guess. –  Alex Jul 28 '11 at 14:39
add comment

Your Answer

 
discard

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.