06-09-2015 12:15 PM - edited 03-08-2019 12:29 AM
Lets say I have a router that is connected to four other routers on the following interfaces:
FastEthernet0/1: 192.168.1.1 (connected to a router with IP 192.168.1.2)
FastEthernet0/0: 192.168.2.1 (connected to a router with IP 192.168.2.2)
Serial0/0/0: 172.16.1.1 (connected to a router with IP 172.16.1.2)
Serial0/0/1: 10.10.1.1 (connected to a router with IP 10.10.1.2)
If I connect to this router through a console connection, and I use the routers telnet function to telnet to for example the 172.16.1.2 router - what IP address will this telnet request originate from (seeing as the router has 4 different IPs)? Will it change if I telnet to another router, say the 192.168.1.2 router?
06-09-2015 01:40 PM
By default it will source from the interface closest to the destination. However, you can statically determine which interface you want it to source from by entering: ip telnet source-interface <interface id> in global configuration mode. After that, it will always source the outbound telnet session from that interface.
06-09-2015 02:13 PM
Hello
Just like to add the defined source address you select - Make sure its not being negated by any acls etc and its allowed access.
res
Paul
06-09-2015 08:01 PM
Hello Waztrix, just login to the router and do telnet <IP address>. Make sure you able to ping the IP addresses. it wont change the src as long as you dont configure source-interface in global config.
Please rate if you find this useful.
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