Ping IP is ok, but can not ping by name

  • Thread starter Thread starter Xiaotao, Lu
  • Start date Start date
X

Xiaotao, Lu

I can see a computer in the net place->workgroup, but when I double click
the icon, Windows said the computer is not accessible. I ping the computer
by IP, it's OK, but display error message 'could not find host' when ping by
name.
 
The DNS server is not working, your computer is not storing
DNS look-ups so when you put a domain name URL, it has to
look on the web for the IP from the DNS.

Tell your ISP.


| I can see a computer in the net place->workgroup, but when
I double click
| the icon, Windows said the computer is not accessible. I
ping the computer
| by IP, it's OK, but display error message 'could not find
host' when ping by
| name.
|
|
 
The computer i want to ping is in my local network, do i need a DNS server?
and I can ping other PCs in my network.
Thanks
 
Hi,
Thank you, I can ping the PC now by name.
Could you tell why I can ping others PCs by name even they are not listed in
the hosts file except this PC?
And sometimes i can see the workgroup in the net place, sometimes can not,
but i found the pc in workgroup when search by the computer name.

Best Regards,

Xiaotao
 
from the wonderful said:
Hi,
Thank you, I can ping the PC now by name.
Could you tell why I can ping others PCs by name even they are not listed in
the hosts file except this PC?

Someone on the network has to be responsible for assigning IP addresses
and managing the names/IP address translation. On most networks there is
a DHCP server (often a router/switch, sometimes a server PC) that does
that job. If the errant PC is not getting it's IP address from the DHCP
server the same way as the others are, then maybe the IP address has not
been cached (against a host name) properly.

You could try (from a CMD window) ipconfig /all for a couple of PCs and
see if they have the same settings (obviously the IP address should be
different, but the rest should match). You could also try ipconfig
/renew on the 'errant' PC (that's the one that you can't see) and see if
that fixes the problem. Sometimes it seems to come down to 'who rebooted
last', especially if a PC stays up while the DHCP server/router gets
reset.

You should not =have= to list a PC in the Hosts file, although that's a
good quick fix if nothing else seems to work.
 
Xiaotao:

Overview of the problem:

Peer-to-peer LAN does not have a DNS server nor a WINS server.
Computers in LAN cannot browse to computer A via My Network Places.
Computers cannot ping A by name, but can ping others by name.
Computer B with a hosts name entry can ping A by name.

What could cause that?
Firewall on computer A blocking NetBIOS ports.

Resolution:
Disconnect computer A from Internet unless behind a router.
Disable all f/ws on computer A.
If that does not work, uninstall all f/ws on computer A.
 
Back
Top