Forums  

Go Back   Forums > Windows XP > Windows XP Basics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-07-2010, 11:35 PM
External
 
Join Date: Feb 2010
Posts: 1
Default Can ping IP Address but cant ping name

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?
Reply With Quote
  #2 (permalink)  
Old 02-08-2010, 09:25 AM
External
 
Join Date: Sep 2008
Posts: 35
Default Re: Can ping IP Address but cant ping name

"DaveHenson" wrote in message

>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!
Reply With Quote
  #3 (permalink)  
Old 02-08-2010, 10:04 AM
External
 
Join Date: Jan 2009
Posts: 94
Default Re: Can ping IP Address but cant ping name

On Feb 7, 10:35*pm, DaveHenson wrote:
> 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/d....mspx?mfr=true

source: microsoft > public > windowsxp > basics
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:05 PM.


Powered by iForumz© Version 1.1a

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0