I've set up a VM running Debian Squeeze within VMware ESXi 5.0. It has a running webserver and some other stuff. My goal is to access this machine by its hostname from other computers in my local network. This isn't working, currently I can only access this VM with its IP address.
In my network is a Windows Server 2003 running (as a domain controller with an AD), which is also a DHCP server. My VM correctly gets an IP address from the subnet 192.168.115.0/24. It can also ping and access other machines from the network by their name after I installed winbind. But the other way around doesn't work, other machines can't find the hostname of this VM.
I have captured the process when my Win7 machine tries to ping this VM by its hostname. Wireshark shows me the following (.100 is the server, .103 is my local machine):
43 2.700104 192.168.115.103 192.168.115.100 NBNS 92 Name query NB INFORMATIX2<00>
44 2.700487 192.168.115.100 192.168.115.103 NBNS 98 Name query response, Requested name does not exist
45 2.720377 192.168.115.103 192.168.115.255 NBNS 92 Name query NB INFORMATIX2<00>
So I guess my server doesn't know the VM, despite having delivered an IP address to it.
What is wrong here?