Telnet from Source??

Answered Question
Aug 2nd, 2010
User Badges:

Hi,


I want to know can I telnet from R3-loopback interface to PC1 Router.

like we are use ping 10.1.1.1 source 1.1.1.1 then ping is ok.

same thing I want to know telnet to 10.1.1.1 but source from 1.1.1.1 how I can??



3RTR and 1Lopback.jpg

Correct Answer by Richard Burts about 6 years 11 months ago

As the previous posts show there are 2 ways that you can specify the address to be used for telnet from an IOS device. If you want that the telenet source address will always be the specified address then you should use the configuration option of:

ip telnet source-interface

and if you want that the telnet source address be controlled only for this telnet then you should use the command line option of:

telnet 10.1.1.1 /source-interface loopback 0

So the way to do it depends on whether you want a permanent change or control just for a particular telnet session.


HTH


Rick

Correct Answer by Nagaraja Thanthry about 6 years 11 months ago

Hello,


Router#telnet


for example:


Router#telnet 10.1.1.1 /source-interface loopback 0


Hope this helps.


Regards,


NT

Correct Answer by Jayakrishna Mada about 6 years 11 months ago

Hi,


telnet 10.1.1.1 /source-interface loopback x


JayaKrishna

Correct Answer by Yudong Wu about 6 years 11 months ago

ip telnet source-interface

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
Correct Answer
Yudong Wu Mon, 08/02/2010 - 21:21
User Badges:
  • Gold, 750 points or more

ip telnet source-interface

Correct Answer
Jayakrishna Mada Mon, 08/02/2010 - 21:22
User Badges:
  • Cisco Employee,

Hi,


telnet 10.1.1.1 /source-interface loopback x


JayaKrishna

Correct Answer
Nagaraja Thanthry Mon, 08/02/2010 - 21:25
User Badges:
  • Cisco Employee,

Hello,


Router#telnet


for example:


Router#telnet 10.1.1.1 /source-interface loopback 0


Hope this helps.


Regards,


NT

Correct Answer
Richard Burts Tue, 08/03/2010 - 03:52
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

As the previous posts show there are 2 ways that you can specify the address to be used for telnet from an IOS device. If you want that the telenet source address will always be the specified address then you should use the configuration option of:

ip telnet source-interface

and if you want that the telnet source address be controlled only for this telnet then you should use the command line option of:

telnet 10.1.1.1 /source-interface loopback 0

So the way to do it depends on whether you want a permanent change or control just for a particular telnet session.


HTH


Rick

Actions

This Discussion