Can ping IP Address but cant ping name

D

DaveHenson

I have below line mapping in \etc\hosts. a restart of PC was finished
after adding the below line. Below line is not the last line of hosts.

192.168.1.10 SVR-23



I can ping 192.168.1.10.
But i cannot ping SVR-23.

Any advise?
 
O

Olórin

DaveHenson said:
I have below line mapping in \etc\hosts. a restart of PC was finished
after adding the below line. Below line is not the last line of hosts.

192.168.1.10 SVR-23



I can ping 192.168.1.10.
But i cannot ping SVR-23.

Any advise?

First thought, run an "ipconfig /flushdns" on the pinging machine then open
a different command prompt box and try pinging again.

What is SVR-23's IP address? That is, what does it *actually* say it is now.
What response do you get when you try the ping by name? Are both machines
definitely on the network, firewall off (or definitely allowing pings
through)? Try an "nslookup 192.168.1.10" on the pinging machine, see what
name you get (if any). Check for only one entry for this machine in your
hosts file.

Not an expert by any means, just listing some of the things I'd try with my
meagre knowledge!
 
J

Jose

I have below line mapping in \etc\hosts. a restart of PC was finished
after adding the below line. Below line is not the last line of hosts.

192.168.1.10    SVR-23

I can ping 192.168.1.10.
But i cannot ping SVR-23.

Any advise?

Do a reverse name resolution ping of the IP address and see what it
thinks about it and use that for the host name instead of SVR-23.
Something like:

ping -a 192.168.1.10

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ping.mspx?mfr=true
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top