02-11-2011 04:21 AM - edited 03-06-2019 03:30 PM
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
02-11-2011 04:36 AM
Hi Darreb,
Here is the command for you...
#telnet 192.168.199.1 /source-interface loopback 25
Please rate the helpfull posts.
Regards,
Naidu.
02-11-2011 05:41 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide