1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Can ping by ip address, but not by name.

Discussion in 'Networking' started by JMK1956, Apr 28, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. JMK1956

    JMK1956 Thread Starter

    Joined:
    Jul 24, 2004
    Messages:
    49
    My home network of 4 PC's (let's call them Main,1,2,3) are wired to a 4-port switch\ADSL router. All firewalls (none have 3rd-party, all are only Windows) are off. All are on the same workgroup. All are running Windows XP Pro with SP2, all updated. Should I mention that all have "use simple file sharing" disabled?

    1,2 and 3 can ping each other by name and by ip address, and they can ping Main by ip address only; when they ping Main by its name, then the message "Ping request could not find host main. Please check the name and try again" is returned.

    Main can ping 1,2 and 3 by ip address only: when Main pings them with their computer names, then that same message "Ping request could not find host main. Please check the name and try again" is given.

    When I go to (on Main) Start--My Network Places--Entire Network--Microsoft Windows Network--Mshome, nothing appears.

    Any advice would be appreciated.
     
  2. dmgaddy

    dmgaddy

    Joined:
    Apr 8, 2008
    Messages:
    28
    For all 4 computers go to Start --> Run --> type CMD click OK
    at the command line type: ipconfig /all >c:\%COMPUTERNAME%.txt

    This will write your IP configuration to a text file. Post the results of those 4 files back here and we will be better able to help diagnose your environment.

    Also, check c:\Windows\system32\drivers\etc\hosts (You'll need to open in Notepad) on computers 1,2 and 3 to verify there are no entries for MAIN in there.
     
  3. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    One thing to look at in the IP information are the DNS server entries.
     
  4. Wanderer2

    Wanderer2

    Joined:
    Jan 28, 2008
    Messages:
    1,428
    Local lan doesn't use internet based dns for local name resolution.

    Common solution is to make a hosts file with the ip and names then populate all etc folder on all the pcs. This information is cached upon bootup for instant access.

    Not seeing computers in the workgroup is usually the result of netbios being disabled in tcp/ip wins tab. Should be set to default.
     
  5. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Right now we are way before being able to browse to computers. They can't even all be pinged yet by name. Need to get that working before browsing is going to help.

    Hopefully the IPCONFIG /ALL information can be provided for both a working and the problem computer.
     
  6. Wanderer2

    Wanderer2

    Joined:
    Jan 28, 2008
    Messages:
    1,428
    They all ping each other just fine. Just not by name which means its only a name resolution issue.

    "1,2 and 3 can ping each other by name and by ip address, and they can ping Main by ip address only"
     
  7. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Exactly. That is the problem. "They can't even all be pinged yet by name. Need to get that working before browsing is going to help"

    Just noticed a bit of a typo. It should be - They can't even all be pinged yet by name. Need to get that working before browsing is going to work.
     
  8. TerryNet

    TerryNet Moderator

    Joined:
    Mar 23, 2005
    Messages:
    77,495
    First Name:
    Terry
    Likely a NetBIOS issue on Main. For the problem PC please show ...

    Start, Run, CMD, OK to open a command prompt:
    (For Vista type CMD in the Search box after Start)

    Type the following commands:

    nbtstat -n

    IPCONFIG /ALL

    Right click in the command window and choose Select All, then hit Enter.
    Paste the results in a message here.

    If necessary use a text file and removable media to copy the results to a computer with internet access.
     
  9. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    It might be useful to also show the IP information from one of the working computers as well. Having this kind of comparison can often help point to a solution.
     
  10. JMK1956

    JMK1956 Thread Starter

    Joined:
    Jul 24, 2004
    Messages:
    49
    Thanks to everyone for your replies!

    Dmgaddy, Main does not appear in the hosts files on 1,2 and 3. Here's the text files, as requested.

    TerryNet, I'll post your request in a moment.
     

    Attached Files:

  11. JMK1956

    JMK1956 Thread Starter

    Joined:
    Jul 24, 2004
    Messages:
    49
    TerryNet, this is what I get:



    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Ritchie Blackmore>nbtstat -n
    Failed to access NetBT driver -- NetBT may not be loaded

    C:\Documents and Settings\Ritchie Blackmore>ipconfig /all

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : main
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Unknown
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : VIA Rhine II Fast Ethernet Adapter
    Physical Address. . . . . . . . . : 00-19-21-20-14-8B
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 10.0.0.103
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.0.0.2
    DHCP Server . . . . . . . . . . . : 10.0.0.2
    DNS Servers . . . . . . . . . . . : 10.0.0.2
    NetBIOS over Tcpip. . . . . . . . : Disabled
    Lease Obtained. . . . . . . . . . : 28 April, 2008 18:23:12
    Lease Expires . . . . . . . . . . : 29 April, 2008 18:23:12

    C:\Documents and Settings\Ritchie Blackmore>
     
  12. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Since it is not the default setting, you might change NetBIOS over Tcpip. . . . . . . . : Disabled to Enabled.]
    What is the setting on the other computers for this?
     
  13. TerryNet

    TerryNet Moderator

    Joined:
    Mar 23, 2005
    Messages:
    77,495
    First Name:
    Terry
    The other 3 are OK; see the text files (ipconfig /all) in post #10.
     
  14. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    None of the other three text files in post #10 show the NetBIOS setting. Hence the request for it.

    JMK1956 ,

    What happens if you enable it on the problem computer?
     
  15. Courtneyc

    Courtneyc

    Joined:
    Dec 6, 2003
    Messages:
    1,935
    Actually, if you don't have a WINS server on your network, and you want to use Network Neighborhood, you must enable NetBIOS over TCP/IP. Network Neighborhood (My Network Places) is populated by either an Active Directory domain controller, or a NetBIOS call (broadcasts to a master browser).

    Courtney
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/707988

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice