14

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?

womble
  • 95,029
  • 29
  • 173
  • 228
RussellBallestrini
  • 191
  • 1
  • 1
  • 8

2 Answers2

37

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

womble
  • 95,029
  • 29
  • 173
  • 228
3

I feel a little stupid for posting this as an answer, but I'm new so I can't reply to @RussellBallestrini

But you can try telnet -s <src_addr> <destination>

I'm doing this on OSX, not Red Hat—just thought I throw this out there.

rjgrazioli
  • 31
  • 2