Ping Computer Name Request Resolves to Wrong IP Address

cbridgman
cbridgman used Ask the Experts™
on
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.



Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Top Expert 2011

Commented:
start>run>cmd

ipconfig /flushdns
ipconfig /registerdns

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

Author

Commented:
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?

Author

Commented:
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.
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Commented:
Some thing to do with the settings done for the user access list. Try running those commands as administrators.

Author

Commented:
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.

Commented:
<< 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.

Author

Commented:
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.

Author

Commented:
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?
One more piece of info:

I looked at the properties of TCP/IPv4 on each computer. It is different on COMPA than on COMPB or COMPC.

On COMPB and COMPC, it is set to obtain DNS server address automatically. On COMPA, it uses actual addresses for the preferred and alternate DNS servers. I don't know why that is the case. COMPA is a brand new Windows 7 computer and I never told it to use specific addresses.

I am going to change it and see what happens.

Author

Commented:
That actually did the trick. I can now ping by computer name from COMPA and the ping resolves to the correct IP

Author

Commented:
I accepted my own solution because I discovered my own answer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial