07-10-2009 02:43 AM - edited 03-06-2019 06:41 AM
Hi All,
I'm confused. I have a simple demo network in which I plug into my 3560 which in turn is connected to various other remote devices (all configured and working okay). The IP address of MGMT interface on a particular device is 10.100.66.25 - I can telnet to this device which has a hostname test. I want to be able to telnet to "test" but I have no DNS or host file configured. Any help to get me started with config of a host file on the router "test".
Thanks All.
07-10-2009 03:03 AM
2 options:
ip host something 10.100.66.25
something can be everything, does not has to be necessary test
1)connect to name is only possible on the device you configured the ip host command
second possibility
edit hosts file with a text editor
10.100.66.25 test
location: C:\WINDOWS\system32\drivers\etc\
07-10-2009 03:03 AM
From the device you want to use as base to connect to other devices using their hostnames, try this command.
ip host DEVICE_NAME DEVICE_IP
e.g.
ip host TEST 10.100.66.25
To test;
ping TEST
telnet TEST
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