8

Sorry about this, but all the similar stuff I have read does not solve my problem.

I have Windows 7 Professional on these two machines, and they are networked as public. The sharing is set to file sharing, discovery, etc. - all opened up. Windows Explorer is fine, and I can see the network great and the shared folders. I can go to a command prompt (as Administrator) and ping the other machine using the IP address.

I CANNOT ping it using its name. I want to do that to use Remote Desktop Connection. The workgroup names are the same, and I am a user and administrator on both machines with the same password.

I have tried with the Windows firewall down on both machines and the antivirus software down on both. I am using a Belkin router with WAN ping blocking but no LAN options. Both machines show just fine on the router.

Three days have passed, and I cannot crack this problem. Last year I used Windows XP, and it navigated by name perfectly. Is it Windows 7 Professional doing something differently?

Diagnostics results

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ping phoenix

Pinging phoenix.Belkin [198.105.251.24] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 198.105.251.24:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Windows\system32>ipconfig /all

    Windows IP Configuration

       Host Name . . . . . . . . . . . . : october7
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : Belkin

    Ethernet adapter Local Area Connection 2:

       Connection-specific DNS Suffix  . : Belkin
       Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
       Physical Address. . . . . . . . . : 6C-62-6D-69-B4-6B
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::a815:ffa0:1230:86fc%13(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.2.10(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Tuesday, July 23, 2013 5:08:44 PM
       Lease Expires . . . . . . . . . . : Friday, August 29, 2149 11:47:41 PM
       Default Gateway . . . . . . . . . : 192.168.2.1
       DHCP Server . . . . . . . . . . . : 192.168.2.1
       DHCPv6 IAID . . . . . . . . . . . : 292315757
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-48-BC-21-6C-62-6D-69-B4-6B

       DNS Servers . . . . . . . . . . . : 192.168.2.1
       NetBIOS over Tcpip. . . . . . . . : Enabled

    Tunnel adapter isatap.Belkin:

       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . : Belkin
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes

    Tunnel adapter Local Area Connection* 11:

       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:34e2:129c:b8ad:7db(Preferred)
       Link-local IPv6 Address . . . . . : fe80::34e2:129c:b8ad:7db%11(Preferred)
       Default Gateway . . . . . . . . . : ::
       NetBIOS over Tcpip. . . . . . . . : Disabled
6
  • Can you post ipconfig /all from both machines? You have a problem with name resolution.
    – john
    Jul 23, 2013 at 21:43
  • 1
    Also, possible duplicate of superuser.com/questions/119318/…
    – john
    Jul 23, 2013 at 21:58
  • I know that select all in command prompt copies the text - but it says it is too big to post as a comment here- How do I post it on here -thanks
    – Alan
    Jul 23, 2013 at 22:28
  • 1
    question 119318 resolves it by adding a hosts file which does not work with dynamic LAN addresses
    – Alan
    Jul 23, 2013 at 22:34
  • got formatting a bit better Jasper.... I have been googling for 2 days but apart from creating host files for static ip's etc, I have found nothing - and I have tried. This name resolution was a piece of cake in XP but so far impossible in 7. The windows explorer is terrific at the network but I CANNOT ping a name in windows 7 - no way.
    – Alan
    Jul 23, 2013 at 22:47

4 Answers 4

2

I've noticed name resolution is a hit or miss function on a peer-to-peer network with no central DNS server (on any version of Windows).

You may check to see if the zeroconf networking service is running which is supposed to resolve names and a host of other things.

I usually install the Bonjour service from Apple which works flawlessly for local name resolution on small networks.

7
  • No services on this windows 7 machine that start with a "Z"
    – Alan
    Jul 23, 2013 at 22:30
  • Yeah, do yourself a favor and install the bonjour service on each machine or enable Netbios over TCP/IP. I don't think its enabled by default (atleast its not on my 7 machine) and if you don't have a DNS server such as a router that provides this function then Name resolution won't work. name resolution worked on XP because Netbios over TCP/IP was enabled by default.
    – Scandalist
    Jul 23, 2013 at 22:44
  • I saw the options on the adapter and enabled tcp/ip on both machines - and it shows on the 'ipconfig /all' (above) as being enabled on both - and the subnet is the same and the WORKGROUP...and both rebooted.. I will have a look at the bonjour service but there must be a way for 7 to resolve network machine names..
    – Alan
    Jul 23, 2013 at 22:51
  • Found this about bonjour' Quite a while ago I came across what seems to be reliable info that Bonjour is an unnecessary service that also creates a hole in your firewall to potentially allow malware to invade a computer . Therefore, I have been recommending the info at the Raymond.cc Site as follows :'''''
    – Alan
    Jul 23, 2013 at 22:53
  • I should also remind you that Netbios as well as any service creates a hole in the firewall and a potential crevice for malware to sneak in to. The fact is, NetBIOS is being phased out as the primary way to resolve names on a local network. Like I said, DNS is always the Go-To for name resolution and if you don't have a server or router that handles this then you either need to get one or install a zero configuration service like bonjour. I am certain bonjour will deliver the goods you are looking for.
    – Scandalist
    Jul 23, 2013 at 22:57
0

I think this is taken care of by NetBIOS, which enables name discovery in the absence of an internal DNS server. I'm not sure whether your router would act as a DNS server, so NetBIOS over TCP/IP would need to be enabled and the PCs would need to be on the same subnet. Since they can ping each other it's safe to assume the latter is so.

You can enable NetBIOS over TCP/IP in the network adapter settings, by enabling the checkbox under the adapter properties.

Try nbtstat -c in the command line and see if your opposite node is visible.

2
  • Sorry about formatting.. Yes, I have changed the adapter settings so it is now specifically tcp/ip on both machines (rather than the default)and rebooted - no change. yes I can see the other machine in NBTSTAT -c and it has the name and IP -wow that feels like I am getting somewhere..
    – Alan
    Jul 23, 2013 at 22:24
  • But I still can't ping on computer names
    – Alan
    Jul 23, 2013 at 22:58
0

Here's another answer based on your ipconfig results....

Why can't I ping a PC on my home network?

You need to update your router so that it doesn't add the "Belkin" DNS suffix to your lookups (a configuration provided by DHCP options). As mentioned in the linked post "sometimes called Domain Name".

0

Check if "Internet Protocol Version 6 (TCP/IPv6)" in "Local Area Connection Properties" is enabled or not. If not, check the box to enable it and ping your remote host.

1
  • 1
    Hi Ranjit, welcome to Super User. Can you expand your answer a bit to elaborate as to why this works? It's not immediately apparent, as the original question doesn't mention anything IPv6-related.
    – bertieb
    Aug 5, 2015 at 11:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .