07-13-2008 08:41 PM - edited 03-06-2019 12:09 AM
Hello everyone, i'm studying from the CCENT Official Exam Certification guide. I'm reading about how to connect by telnet to more than one session. The example say you use "telnet Milwaukee", but i cannot connect, just using ip, do you know what setting i need to use the hostname beside the ip address?
Thanks by advance.
Solved! Go to Solution.
07-13-2008 09:11 PM
For telnet connectivity, it will use whatever value was entered in the ip host command.
As I stated, the hostname is not used for end-to-end connectivity.
__
Edison.
07-13-2008 08:56 PM
You either configure the router/switch to point to a dns server or just manually enter the hostname information in the router/switch.
For instance:
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip host Milwaukee 1.1.1.1
Router(config)#end
Router#telnet
!
Router#telnet Milwaukee
Trying milwaukee (1.1.1.1)...
% Destination unreachable; gateway or host down
Router#
HTH,
__
Edison.
Please rate helpful posts
07-13-2008 08:59 PM
Do the name used in this command could be the same as using "hostname Milwaukee"?
07-13-2008 09:06 PM
hostname Milwaukee will change the hostname of the router. It has not effect on the end-to-end connectivity.
HTH,
__
Edison.
Please rate helpful posts
07-13-2008 09:09 PM
My meaning is if I put in the other-side router a name using "hostname" command, and if i use another name using "ip host" command in local router, could it be?
Suppose i put in my other-side router "hostname Mil" and in my local "ip host Milwaukee".
07-13-2008 09:11 PM
For telnet connectivity, it will use whatever value was entered in the ip host command.
As I stated, the hostname is not used for end-to-end connectivity.
__
Edison.
07-13-2008 09:12 PM
Thanks a lot man.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: