Cannot ping Windows 2008 R2 by hostname

5,107

Judging by your comments that you aren't using DNS, your problem is NetBIOS name resolution.

NetBIOS over TCP/IP is disabled in Windows Server 2008 R2 by default, however it is the only way for XP to handle local name resolution without a DNS server. This problem does not exist for newer OSes on your network, because they use LLMNR/WS-Discovery, and not NetBIOS.

You can enable the NetBIOS responder in the WINS section of the IPv4 network settings: enter image description here

You also need to make sure that the Computer Browser service is started and that Windows Firewall is allowing inbound IPv4 NetBIOS traffic.

Share:
5,107

Related videos on Youtube

theSpyCry
Author by

theSpyCry

Updated on September 18, 2022

Comments

  • theSpyCry
    theSpyCry almost 2 years

    I cannot ping the Windows 2008 R2 server by hostname from Windows XP Home machines, but I can ping it from Windows 7 Ultimate machines. I already disabled ipv6. I need to access a shared folder: \server\a

    All computers are on the same local network, there is no DNS in use. Just every computer in the same Workgroup.

    Any ideas why?

    EDITED: I have heard that the problem could be that different systems chose different Master browsers.

    • MDMarra
      MDMarra over 11 years
      Can you ping it by IP address?
    • theSpyCry
      theSpyCry over 11 years
      yes i can ping it by IP adress
    • theSpyCry
      theSpyCry over 11 years
      perhaps another topic is, the server has a dynamic IP provided by local DHCP. As all computers should only access WebServices on server/Services.asmx I do not know if it would not be a problem
    • davidb
      davidb over 11 years
      If you can ping it via IP address. You should flushdns (ipconfig /flushdns) and see if it works now.
    • theSpyCry
      theSpyCry over 11 years
      no, cannot find the hostname. But it is on the LAN with no DNS server or anything.
    • David Schwartz
      David Schwartz over 11 years
      How is it supposed to work? By what mechanism are you expecting the machine to get the IP address from the hostname?
    • John Gardeniers
      John Gardeniers over 11 years
      Why do you have a server with DHCP assigned address and why don't you have DNS? Are you deliberately trying to make things harder for yourself?
    • theSpyCry
      theSpyCry over 11 years
      i can imagine that with no DNS server i cannot translate the hostname to an IP address. But it works e.g. on XP machines where all peers are equal. So i supposed it could work like this: a machine sends a broadcast and asks who has this hostname, then the right one responds.
    • theSpyCry
      theSpyCry over 11 years
      @DavidSchwartz isn't that NetBios ?
  • theSpyCry
    theSpyCry over 11 years
    I have enabled it but still no luck :/
  • MDMarra
    MDMarra over 11 years
    See my last edit. You're also going to need to make sure that the computer browser service is started and that Windows Firewall (if enabled) is configured to allow NetBIOS traffic.
  • theSpyCry
    theSpyCry over 11 years
    What do you recommend as the most elegant way of losing this problem? Should I make the computer a wins server or some other who would care of translating names to ip addresses? Or a domain controller? Or it is an overkill for this purpose
  • MDMarra
    MDMarra over 11 years
    Use DNS. WINS is a dying (dead) technology.