Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Host Files?

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.

2 REPLIES

Re: Host Files?

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\

Re: Host Files?

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

222
Views
0
Helpful
2
Replies
CreatePlease to create content