Cannot ping hostname ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 11:14 PM - edited 03-05-2019 02:22 PM
Hi,
I cannot ping using hostname but it works when I ping using IP ... The below is the output that I get.
Translating "switch1"
% Unrecognized host or address, or protocol not running.
I have the following commmands in the 3550 switch ...
ip domain-name aaa.bbb.com
ip name-server 190.x.100.100
ip name-server 190.x.100.101
Anyone know what could be the possible cause of this ?
Thanks a bunch ...
- sn -
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 11:30 PM
Hi
Do you have an entry for switch1 in your DNS servers 190.170.100.100 & 101 ?
The other way to do this is to create a local host entry on your 3550 eg:
ip host switch1 192.168.5.1
HTH
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 11:35 PM
problem indicates that DNS server and domain configured is not able to resolve IP address of the device you are trying to access.
you can define a static host name-to-address mapping in the host cache, use the ip host global configuration command.
configure below command and then check if you are able to ping using hostname or not.
ip host switch1
HTH, rate if it does ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 10:37 AM
Hi
I think your missing the command "ip domain-lookup" in global configuration mode.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2020 11:00 AM
It's been a long since I touched Cisco and this command saved me lot of hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2020 02:55 PM
It was an old post and I am glad that it was able to help you with your issue. Thank you for sharing your experience and highlighting a command that was helpful.
Rick
