cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
333
Views
0
Helpful
2
Replies

Telnet from a Cisco Router

darrenriley5
Level 1
Level 1

Hi,

I need to be able to telnet from a Cisco router to an ip address and port but specify a loopback interface as this source rather than the ip address of the outgoing interface. Is this possible?

Thanks

Darreb

2 Replies 2

Latchum Naidu
VIP Alumni
VIP Alumni

Hi Darreb,

Here is the command for you...

#telnet 192.168.199.1 /source-interface loopback 25

Please rate the helpfull posts.

Regards,

Naidu.

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hi,

I need to be able to telnet from a Cisco router to an ip address and port but specify a loopback interface as this source rather than the ip address of the outgoing interface. Is this possible?

Thanks

Darreb


Darreb,

You are rite the default source IP address when telnetting from a Cisco router is that of the interface closest to the destination,To temporarily set the telnet source IP address for a single telnet session, use the /source-interface extension to the telnet command.

But if you want from specific interface then you can issue the below mentioned commands

telnet 192.168.101.4 /source-interface FastEthernet0


To set this interface as the source IP address for all telnet sesions, use this command in configuration mode (conf t):

ip source-interface fastethernet0

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

Review Cisco Networking products for a $25 gift card