06-09-2009 08:02 AM
Hi,
We are running Cisco LMS 3.2, when doing a discovery it resolves the IP address of the switch but not the hostname. The switches are discovered but the display name doesnt show the hostmname. We dont use put our switches on DNS, how do i ensure that the display name is the hostname? (i.e. hostname on the switch config)
I have tried various options when doing discovery but none of them will show the hostname as the display name. The discovery is being done through Layer 2 CDP
Solved! Go to Solution.
06-09-2009 01:04 PM
The file is in C:\WINDOWS\system32\drivers\etc. There are some example entries already in there. Essentially, an entry will look like:
10.1.1.1 my-router.domain.com
06-09-2009 08:14 AM
You will need to either put your switches' IP addresses in DNS, or add entries to the LMS server's local hosts file so that the address resolution can be performed.
06-09-2009 12:58 PM
Thanks for that, however "add entries to the LMS server's local hosts file" , could you please let me know how exactly i do this? I found the hosts file c:/windows/drivers/etc but im not sure what exactly i need to add and to which file. thanks in advance.
06-09-2009 01:04 PM
The file is in C:\WINDOWS\system32\drivers\etc. There are some example entries already in there. Essentially, an entry will look like:
10.1.1.1 my-router.domain.com
06-10-2009 05:21 AM
Thanks, adding entries to the hosts file has fixed the issue for most devices.
06-18-2009 09:27 AM
Joe,
I am resolving names to ip address but not ip address to names if I did an NSlookup. Is this a setting within DNS? Do i need to set up a whole reverse zone?
My problem is the same as what is in this post except none of my devices are resolved in device discovery. They are all ip address. They are all in DNS as well. I can resolve "nslookup hostname" but not the other way around for all devices.
06-18-2009 09:52 AM
Yes, you will need to setup a reverse zone (i.e. create PTR records to map IP to name). Discovery has to be able to resolve IPs to hostnames.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: