Link to home
Start Free TrialLog in
Avatar of cbridgman
cbridgmanFlag for United States of America

asked on

Ping Computer Name Request Resolves to Wrong IP Address

I have 3 windows computers in my home network (UVERSE). They are connected to the network with ethernet cables. Each has its own computer name (e.g., COMPA, COMPB, and COMPC) and all belong to the same workgroup (HOMEWG). All 3 PCs use AVIRA Antivirus and COMODO Firewall. COMPA AND COMPB run Windows 7 64-bit and COMPC runs Windows Vista 64-bit.

When I ping COMPC from COMPA (ping COMPC), the first line returned says "pinging COMPC.gateway.2wire.net (92.242.144.10). When I ping COMPC from COMPB, the first line returned says "pinging COMPC.gateway.2wire.net (192.168.1.100).

192.168.1.100 is the correct IP address for COMPA.

Why does COMPA report the wrong IP address? I don't even know where that address comes from.



Avatar of johnb6767
johnb6767
Flag of United States of America image

start>run>cmd

ipconfig /flushdns
ipconfig /registerdns

Do that on all 3. See if they ping properly now.....

Avatar of cbridgman

ASKER

those commands ran properly on the vista machine but the registerdns command ended on both windows 7 PCs with "the requested operation requires elevation". Any ideas?
I tried again with those commands on the Windows 7 machines but ran the command prompt "as administrator" by right clicking on it to open it. Both the flushdns and registerdns ran successfully on all 3 pcs but I still get the same result. COMPA still reports "pinging COMPC.gateway.2wire.net (92.242.144.10), which is the wrong IP address.
Some thing to do with the settings done for the user access list. Try running those commands as administrators.
Asidu, I did run them as administrator. I right clicked on the command prompt shortcut and chose "Run as Administrator". When I did that I was able to run both flushdns and registerdns on all 3 PCs but that did not fix the problem.
<< on all 3 pcs but I still get the same result. COMPA still reports "pinging COMPC.gateway.2wire.net (92.242.144.10), which is the wrong IP address>>

What is your COMPC address?

Can you test pinging by using the IP address and note the observation.
The IP address of COMPC, according to IPCONFIG, is 192.168.1.100. When I ping COMPC by name or IP Address from COMPB, the ping returns replies. When I ping COMPC by IP Address from COMPA, the ping returns replies. When I ping COMPC by name from COMPA, however, the ping returns "request timed out" and it lists the wrong IP address.
More information that may help to find an answer:

COMPA can ping COMPB and COMPC by IP Address
COMPA cannot ping COMPA or COMPB by name. When it tries to do so, the ping resolves to IP Address 92.242.144.10 for both.
COMPB and COMPC can ping all computers on my network by name or by IP.

It is strange that when I ping a computer by name from COMPA it always resolves to the same 92.242.144.10 IP address regardless of which computer I try to ping.

So the question is, where does that IP address come from?
ASKER CERTIFIED SOLUTION
Avatar of cbridgman
cbridgman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That actually did the trick. I can now ping by computer name from COMPA and the ping resolves to the correct IP
I accepted my own solution because I discovered my own answer