Jump to content


Photo

NetScaler Telnet Source IP

Started by Carl Trevett , 19 September 2013 - 09:14 AM
4 replies to this topic

Carl Trevett Members

Carl Trevett
  • 268 posts

Posted 19 September 2013 - 09:14 AM

Hi

When in the NetScaler shell is there a way of adding a source ip for telnet?

Thanks



Carl Stalhood CTP Member

Carl Stalhood
  • 12,283 posts

Posted 19 September 2013 - 10:38 AM

Are you trying to test connectivity from a SNIP? In that case, create a load balancing service using a tcp monitor. NetScaler will select a SNIP based on the routing table and the tcp monitor will essentially "telnet" to it.



Carl Trevett Members

Carl Trevett
  • 268 posts

Posted 19 September 2013 - 11:22 AM

that is the current way I check, it must be possible via the telnet command?



Christopher Orisawayi Members

Christopher Orisawayi
  • 831 posts

Posted 19 September 2013 - 11:58 AM

I doubt if you can do this running telnet manually and have tested this previously. Drop to the BSD shell and running the command below to force telnet to use a SNIP.

telnet -s <snip> <destination ip> <port>

However this always returns a 'bind: can't assign the requested address' error as telnet seems only able bind to the NSIP.



Christoph Wegener Members

Christoph Wegener
  • 3,266 posts

Posted 20 September 2013 - 11:04 AM

The only IP address available to normal processes on the FreeBSD shell is the NSIP, afaik.