win xp ping

Loriella

Junior Member
May 7, 2004
10
0
0
I have Win XP home edition. My local area connection vi a broadcom card is ok. When I ping the local host from the command prompt sends and receives 4 packets ok. But if I ping and address like ping www.yahoo.com I get: Ping request could not find host www.yahoo.com. Please check the name and try again. Any help on how to trouble shoot. Internet Explorer is not working either, but I thought I would work at getting the ping working first.

Thanks for any help.
 

SpunkyJones

Diamond Member
Apr 1, 2004
5,090
1
81
When you say that you can ping a local host, do you mean another pc on your lan or are you pinging 127.0.0.1? How are you connected to the internet, through a router to a broadband connection? Need more details on your setup.
 

nanaki333

Diamond Member
Sep 14, 2002
3,772
13
81
well.. first thing, go to the command prompt and do an ipconfig to see if you're grabbing an IP from the router. actually, first make sure your network cables are plugged in to where they're supposed to be. if you are, do a ping on your gateway, which will be your router's IP. or if you're straight into your modem, ping whatever your ipconfig tells you is your gateway. if you can ping that fine. try ping address 4.2.2.1, that's verizon's DNS server that i always use to test if i have a DNS issue or not. if you can ping that but can't ping yahoo.com, then change your DNS server. use servers 4.2.2.1 primary and 4.2.2.2 secondary.
 

Loriella

Junior Member
May 7, 2004
10
0
0
Sorry about lack of details. I am working on a router and cable modem that are ok. I am actually unplugging from the winxp and into my 98 system to access this site. So line is good. I ran ipconfig on win 98 machine and received ip # subnet and default gateway: 192.168.1.1 So went on xp machine and ran ipconfig and only received ip# and subnet. no default gateway. So a put in specific ip number subnet and default gateway along with the dns server you recomended. I can ping local host 127.0.0.1 I can ping 4.2.2.1 But still can not ping yahoo.com. It tells me to recheck the name of the host.

when I run ipconfig now I receive

connection-specific DNS suffix (this is empty)
ip address.......169.254.59.132
subnet mask.......255255.0.0
default Gateway ....... 192.168.1.1

I find my connection running under local area connection Broadcom 440x 10.100

Thanks for your guidance on this.
 

Mnementh

Golden Member
Jul 16, 2003
1,063
0
0
Originally posted by: Loriella
Sorry about lack of details. I am working on a router and cable modem that are ok. I am actually unplugging from the winxp and into my 98 system to access this site. So line is good. I ran ipconfig on win 98 machine and received ip # subnet and default gateway: 192.168.1.1 So went on xp machine and ran ipconfig and only received ip# and subnet. no default gateway. So a put in specific ip number subnet and default gateway along with the dns server you recomended. I can ping local host 127.0.0.1 I can ping 4.2.2.1 But still can not ping yahoo.com. It tells me to recheck the name of the host.

when I run ipconfig now I receive

connection-specific DNS suffix (this is empty)
ip address.......169.254.59.132
subnet mask.......255255.0.0
default Gateway ....... 192.168.1.1

I find my connection running under local area connection Broadcom 440x 10.100

Thanks for your guidance on this.


That ip address is a private ip, I assume from what you've described that you don't have your router configured to give out IP addresses (DHCP). So going from the default gateway you have you need to put something similar to this in your network settings:
IP 192.168.1.200 (chose a high number as you're unlikely to have used it)
Subnet mask: same as your win98 machine
Gateway 192.168.1.1

Then in your advanced settings you need to add the DNS servers as mentioned earlier in the thread or you won't be able to connect to anything by name only by ip addresses

(of course the easy way around all of this is to configure your router to assign DHCP addresses then you don't have to mess around like this whenever you add another machine to the network, it's all done for you...)

That should solve your problems

Mnementh
 

Loriella

Junior Member
May 7, 2004
10
0
0
I have put in the following:

IP address: 192.138.1.200
Gateway: 192.168.1.1

DNS Server

4.2.2.1
4.2.2.2

ipconfig shows me the ip add, the subnet, the gateway

I can ping successfully 192.168.1.1 4.2.2.1 even 24.92.226.116 However when I enter ping yahoo.com I still receive Ping request could not find host yahoo.com Please check the name and try again.

Any other ideas. Once I put in the gateway I was able to ping the above numbers previous to that I could only ping the local host. I'm not sure why the xp system isn't automatically pulling what it needs. My 98 system is infact setup to automatically pull addresses and works fine.

Thank you so much for your time. I feel like I'm almost there.... so close yet so far......
 

Mnementh

Golden Member
Jul 16, 2003
1,063
0
0
Originally posted by: Loriella
I have put in the following:

IP address: 192.138.1.200
Gateway: 192.168.1.1

DNS Server

4.2.2.1
4.2.2.2

ipconfig shows me the ip add, the subnet, the gateway

I can ping successfully 192.168.1.1 4.2.2.1 even 24.92.226.116 However when I enter ping yahoo.com I still receive Ping request could not find host yahoo.com Please check the name and try again.

Any other ideas. Once I put in the gateway I was able to ping the above numbers previous to that I could only ping the local host. I'm not sure why the xp system isn't automatically pulling what it needs. My 98 system is infact setup to automatically pull addresses and works fine.

Thank you so much for your time. I feel like I'm almost there.... so close yet so far......

Do you have a personal firewall running on the XP system? Something like zonealarm or the like?

Unfortunately I'm at work so can't check if yahoo is up from here (I assume you've tried pinging a few other sites?)

It still sounds like you're not getting any DNS resolution, do you know your ISP's DNS server addresses? If so then put those in instead of the ones you have at the moment.

Also do you have access to make changes to the router? If so what make and model is it? Somebody might be able to give you some help checking and configuring that.

Mnementh
 

nanaki333

Diamond Member
Sep 14, 2002
3,772
13
81
you need to stay within the same subnet of your gateway. so your IP should be 192.168.1.200, not 192.138.1.200. check your win98 pc again for its subnet. see if the subnet is 255.255.255.0, if it is, change your xp machine to reflect that. so all in all your xp machine's IP configuration should look like this:

IP: 192.168.1.200
SUBNET: 255.255.255.0
GATEWAY: 192.168.1.1

DNS1: 4.2.2.1
DNS2: 4.2.2.2
 

Mnementh

Golden Member
Jul 16, 2003
1,063
0
0
Originally posted by: nanaki333
you need to stay within the same subnet of your gateway. so your IP should be 192.168.1.200, not 192.138.1.200. check your win98 pc again for its subnet. see if the subnet is 255.255.255.0, if it is, change your xp machine to reflect that. so all in all your xp machine's IP configuration should look like this:

IP: 192.168.1.200
SUBNET: 255.255.255.0
GATEWAY: 192.168.1.1

DNS1: 4.2.2.1
DNS2: 4.2.2.2

Oops I didn't notice that, hopefully it's a typo on Loriella's part

Still correct me if I'm wrong if she did have that IP she wouldn't be able to ping ip's either...

Mnementh
 

Loriella

Junior Member
May 7, 2004
10
0
0
Yes my typo..... sorry. It was IP # 192.168.1.200

I tried the ping -a acts as if I never put in the -a and successfully pings the site.

Is it possible there is a virus or corrupt file effecting the use of names?

again sorry about the typo....
 

nanaki333

Diamond Member
Sep 14, 2002
3,772
13
81
i know it's kinda dumb to ask, but have you tried rebooting your machine, or pinging any other sites that yahoo.com?
 

Loriella

Junior Member
May 7, 2004
10
0
0
Please, ask. No question is ever dumb. I have rebooted many times. I disabled and enabled the card. I have tried to ping other sites. Like boston.com I first tried opening internet explorer and that seemed to hang and then redirect the browser to www.incredifind.com and then fail. So I thought I would start with the card and the ping command before moving onto the ie app. I searched this site and others for similar issues. I am trying to runt he nav and it is giving me an internal error please uninstall and reinstall. Funny enough went I went to control panel add/remove the symantic program is not listed and in the ones that are some are missing file size. Maybe winxp needs to be reinstalled. Still i'm not sure how that would explain the dns issue.

Thank goodness for my 98. Seems solid. And thank you both for your time and insights it has been very helpful.
 

edblor

Diamond Member
Apr 23, 2000
7,921
0
76
If you are being redirected to another site, you may have a malware or a hijacked XP rig:Q

If that is NOT the case, if you can successfully ping a number and not an address, it is DNS related.

If you know a legitimate DNS server, use it?

Here are 2:

24.153.22.67
24.153.23.66

You can put these in manually, and still have XP pull an IP automatically!

G/L:)

Edblor
 

nanaki333

Diamond Member
Sep 14, 2002
3,772
13
81
yeah.. 4.2.2.1, 4.2.2.2 & 4.2.2.3 are all DNS servers. easiest ones to remember. :)

hmmm.. have you tried.. *gasp* formatting or an XP repair on it? try running spybot or adaware first or something.
 

Mnementh

Golden Member
Jul 16, 2003
1,063
0
0
Originally posted by: Loriella
Please, ask. No question is ever dumb. I have rebooted many times. I disabled and enabled the card. I have tried to ping other sites. Like boston.com I first tried opening internet explorer and that seemed to hang and then redirect the browser to www.incredifind.com and then fail. So I thought I would start with the card and the ping command before moving onto the ie app. I searched this site and others for similar issues. I am trying to runt he nav and it is giving me an internal error please uninstall and reinstall. Funny enough went I went to control panel add/remove the symantic program is not listed and in the ones that are some are missing file size. Maybe winxp needs to be reinstalled. Still i'm not sure how that would explain the dns issue.

Thank goodness for my 98. Seems solid. And thank you both for your time and insights it has been very helpful.

First of all shame on you for running NAV ;) biggest POS out there.

I'm starting to think the issue is with your XP installation tbh as your win98 machine works fine so we know the DNS servers in the router are working correctly. I would run Spybot and adaware to clean up any rogue spyware and go to www.trend.com or www.mcafee.com (ping it from your win98 machine to get the ip address and use that, I'm at work so can't do it for you sorry) and run an online AV scan.

The problem isn't with IE as you cannot ping anything by hostname so I wouldn't worry too much about that (although I would recommend you use opera or mozilla over IE anyday they're much better once you get used to them).

Mnementh
 

Loriella

Junior Member
May 7, 2004
10
0
0
UPDATE:

I have resolved the issue. I beleive my tcpip stack was corrupt. So I did the following

Run "regedit"
delte HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
Close Registry Editor
Goto ControlPanel Network Connections
Right click onto your NIC and select Properties
Cick onto Install
Highlight Protocol and click onto Add
Click onto Have Disk
Specify the path of your INF folder (Default C:\Windows\inf) and then click onto OK

I then rebooted and voila the the dhcp grabed the right ip numbers from my isp host!!!!!!

There is a fix out there also I found http://tntmax.com/Download/Software/WinsockXPFix.exe/view

This may work as well but I was unable to try because the notebook did not have a floppy port the pc did not have a cd burner but that fix may be a program for what I did manually.

I am running adaware and virus detection software.

Thank you all for helping me look in the right directions and refresh my understanding of ip .

I just wanted to post this reply incase anyone else was looking for this particular answer.
:D
 

wnied

Diamond Member
Oct 10, 1999
4,206
0
76
Ipconfig /release
Ipconfig /flushdns
Ipconfig /renew

Had this same problem on a client laptop awhile back. Those three commands did the trick.

Just thought I would share.
~wnied~