Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got 4 Windows machines (3 x Win7, 1 x WinXP) and various other devices on my home network, using a Linksys WRT54 wireless router. I don't have a domain server, and I have had issues with some of the machines not being able to resolve the hostname of other machines.

How does that work when one doesn't have a DNS server? I've set them all up with the same workgroup name but a ping fails with "Ping request could not find host...".

How might I find the cause for this issue? Are there specific things on Windows Firewall that would prevent it from working?

share|improve this question

2 Answers 2

Windows machines use their own techniques for resolving the IP of other hosts, most commonly broadcasts or multicasts to advertise it is available on the network.

For example, Windows XP uses NetBIOS Name Service to advertise and resolve, using broadcast packets. Starting with Vista, multicast-based LLMNR is also available, while Mac OS X and Linux use a very similar mDNS, although NetBIOS remains the most widely supported.

If you want to be sure to be able to contact the other hosts, you could always edit the hosts file for resolution. That way is only an option if you have static IPs.

  • Verify what is happening on the network with Wireshark, though it might be a bit to advanced for you. With Wireshark you can see the network traffic flowing over your NIC.
  • Try shutting down your firewall temporarily, then try to ping the other hosts.
  • Verify that NetBIOS is working.
share|improve this answer
    
For NETBIOS search types (which are not all broadcast), see support.microsoft.com/kb/119493 –  Ben Voigt Jan 29 at 20:01

Remember to make sure that you are logged in as administrator, and that the file is not set to read-only before you try to edit the hosts file, or else it won't allow you to save it afterwards. You might also need to edit the permissions on the file itself. On 7, the easiest way to edit the hosts file is to take ownership of it under administrator. That will allow you to edit and save the file.

share|improve this answer
1  
I think this answer would be a good comment on the previous answer from Robert, but it's not really an answer to the question on its own. –  Shannon Wagner Oct 17 '12 at 17:44
    
In addition, while taking ownership may be "easy", changing the permissions is a bad idea. Just open Notepad (or your favorite alternate text editor) using "Run as administrator", and then you won't have a problem. –  Ben Voigt Jan 29 at 19:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.