cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
Views
0
Helpful
2
Replies

Host Files?

matthewbevan
Level 1
Level 1

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 2

davy.timmermans
Level 4
Level 4

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\

Danilo Dy
VIP Alumni
VIP Alumni

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

Review Cisco Networking products for a $25 gift card