Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: windows 7 ping cannot find host but ip address works

27 Aug 2014   #1
ron7000

Windows 7 x64, ultimate/pro/home, SLES x86 & ia64
 
 
windows 7 ping cannot find host but ip address works

this worked for me previously but i started from scratch and now it doesn't.
I have a single pc running windows 7 with a lan cable from it to a synology diskstation NAS.
my win7 pc is 192.168.0.10 and my nas box server name is 'data' with ip 192.168.0.20.

the other day within windows i was able to do \\data in an address bar and saw my file shares. I redid the NAS box today to make sure i understand how everything works, now doing \\data does not work from the win7 pc.

in a command prompt i type 'ping data' and it says could not find host.
but if i do ping 192.168.0.20 it pings successfully, and if i do \\192.168.0.20 in an address bar it shows my file shares and everything works fine

on the windows 7 pc, what causes this and how do i fix?
thanks.


My System SpecsSystem Spec
.
27 Aug 2014   #2
Tookeri

Windows 7 Pro 32
 
 

Check Network discovery in Control Panel - Network and sharing center - Advanced sharing settings
My System SpecsSystem Spec
27 Aug 2014   #3
JDobbsy1987

Windows 8.1 Pro x64
 
 

When you say you "redid the NAS box" did you basically flatten it and start over again?

When you set it back up again did you definitely call it Data?
If you go to the Synology Control Panel and select Network, is the Server Name "Data"?

windows 7 ping cannot find host but ip address works-2014-08-27-21_50_49-synology-diskstation-jdsvr01.png

The other thing to try is a flushdns
Click Start >> Type CMD >> Press Enter (or select CMD.exe form the search result)
In the black command window type:
Code:
ipconfig /flushdns
Now try pinging the name again

If that does't work try the following command in the command window you opened above
Code:
ping -a 192.168.0.20
What name (if any) does it reply with?

Example below shows mine is called JDSVR01:
windows 7 ping cannot find host but ip address works-2014-08-27-21_55_03-command-prompt.png

Regards,
Jamie


My System SpecsSystem Spec
.

28 Aug 2014   #4
ron7000

Windows 7 x64, ultimate/pro/home, SLES x86 & ia64
 
 

just checked and network discovery is off.
i try to turn it on, click save and no errors. I go back in to advanced sharing and it's off.
what causes this?

on the win7 pc, the firewall is all off.
i did flatten the nas box, took all original drives out and put in one new spare drive so someone could test drive it. i had server name specified as "rondata" originally, this time around i called it "data". I had the ip set as 192.168.0.50 but i did not have anything set for default gateway. i'm using one win7 pc, a cheap 8 port d-link switch, and the one nas box.
My System SpecsSystem Spec
28 Aug 2014   #5
ron7000

Windows 7 x64, ultimate/pro/home, SLES x86 & ia64
 
 

ok fixed network discovery, the upnp device host service was disabled so i enabled that along with restoring default settings on firewall. now network discovery is on for both public and private. I went back in and turned all firewalls off. rebooted. still no luck.
My System SpecsSystem Spec
28 Aug 2014   #6
JDobbsy1987

Windows 8.1 Pro x64
 
 

Did you try the 2 commands i posted above?
My System SpecsSystem Spec
28 Aug 2014   #7
Tookeri

Windows 7 Pro 32
 
 

Only turn on discovery for private. There are separate settings for public.
And you'd want the windows firewall to be on unless you have another firewall installed.
My System SpecsSystem Spec
28 Aug 2014   #8
ron7000

Windows 7 x64, ultimate/pro/home, SLES x86 & ia64
 
 

and ping -a 192.168.0.50 ==> pinging DATA [192.168.0.50] with 32 bytes.... successfull.

try ping DATA ==> could not find host.


my active network is public, and it says Unidentified network. I tried ping data.home and ping data.public, no luck.
My System SpecsSystem Spec
28 Aug 2014   #9
JDobbsy1987

Windows 8.1 Pro x64
 
 

So it does resolve the name when you do a ping -a...

Did you try the flushdns command before doing the ping?
If not give that a go.

Do you have the default gateway set correctly?
windows 7 ping cannot find host but ip address works-2014-08-28-14_56_03-jdsvr03-899-983-957-teamviewer.png

Regards,
Jamie


My System SpecsSystem Spec
28 Aug 2014   #10
ron7000

Windows 7 x64, ultimate/pro/home, SLES x86 & ia64
 
 

these 2 things fixed it.

Windows 7 can't access UNC path - Spiceworks
UNC Drive Mapping Failures: Network name cannot be found - Rick Strahl's Web Log


first i deleted the network adapter and all hidden devices under it. most hidden devices could not be uninstalled. I rebooted, the network adapter reinstalled automatically. my ping data still did not work. then i modified the registry entry below, and then noticed my network adapter was set to dhcp so i then set my pc back to static 192.168.0.40.
now i can do ping data and it resolves the ip and works. so not sure if uninstalling network adapter and reinstalling, and setting my ip address back to static, would have fixed it. But my providerorder had some other thing first.

HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
ProviderOrder =
LanmanWorkstation,RDPNP,webclient
My System SpecsSystem Spec
Reply

 windows 7 ping cannot find host but ip address works




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Can ping ip address but not google.com
I am working on a friend's vists 32 bit machine. I realize that if I can ping an IP, but not the we address, it is most likely a DNS issue. I have done sfc /scannow ipconfig /flushdns and tried using googles's public servers. Still can only get to google by ip. What else can I try, short of...
General Discussion
How can I ping my Virtual OS from the host and from another network
Hello I have three virtual OS (windows 2003)installed on my server (window 2008), I can ping it from within the network but I cannot reach it from outside the network. However, I can reach the host and any other physical pc from outside the network. I also installed VMware 5.0 on my laptop...
Virtualization
Client cannot ping router through host (ICS) - No other problems...
Hi, This one is really baffling me now... I have windows 7 ultimate x64 on host and client for ICS. Host is a laptop with a WIFI card and an Ethernet Card. (Sharing its WIFI through the ethernet card to the PC) Client is a PC with only a Ethernet Card.
Network & Sharing
ping; Destination host unreachable
hi all, i have my xbox and my router all on the same router, my subnet is the same and they are on the same network :), im trying to media share from my windows 7 to my xbox 360, when i ping my xbox ip i get this: C:\Users\Tippee>ping 192.168.11.8 Pinging 192.168.11.8 with 32 bytes of data:...
Network & Sharing
WIN7 host can't ping WindowsXP VM
Hi guys, I have a vm on my Windows Virtual PC, it's a WINXP. I can't ping this vm from my host pc. Anyone can help me? Tnx
Virtualization
Client can't ping host
This is my 2. day with Windows 7. I'm having difficulties sharing an internet connection. There's a one-way connection only, apparently. Host: Windows 7 build 7100 (192.168.0.1). Client: Debian (192.168.0.2). Host and client is connected via cross-over cable. Host features a second network...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App