Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to telnet to a name in my cisco home lab.

Status
Not open for further replies.

TheodoreBe

Technical User
Sep 19, 2009
5
I have recently purchased 5 Cisco 2611 routers, I am not sure how to set it up so I can telnet to the router name, instead of having to type out the interface IP?
 
dns would probably be the easiest. Or you can setup the local host file on your workstation to resolve the names to the right addresses.

 
Telnet from what? Another Cisco router?

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Yes, telnet between routers so I dont have to move the console cable. What I have done is setup a Loopback interface, and set ip host name ip address on each router, I can now telnet between my routers. Thank you for the advice.
 
Let's say that for example one router at 10.1.1.1 is called fire...from the telnet router...

router>10.1.1.1

Or

router>en
router#conf t
router(config)#ip host fire 10.1.1.1
router(config)#exit
router#wr

Then

router#fire

Do this for all hosts, and then from

router>

you can type whatever hostname you define

Boom, there it is.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top