jana
asked on
Why ping by PC-name results a different IP address from the address manually set
We have two (2) Windows 10 Pro computers. Both have Hyper-V VMs installed and in use (very low usage maybe 1 or 2 a week). Both have their IP set manually in "Use the following IP address". Finally, there is communication between the 2 computers in file sharing and RDP.
The problem we are facing is that when Computer-1 Ping Computer-2, Computer-2 display a total different IP. Yet when Computer-2 Ping Computer-1, it display the correct IP.
Please advice on how to identify cause and how to fix.
Thank you in advance.
The problem we are facing is that when Computer-1 Ping Computer-2, Computer-2 display a total different IP. Yet when Computer-2 Ping Computer-1, it display the correct IP.
Please advice on how to identify cause and how to fix.
Thank you in advance.
Check the DNS server, evidently that name (A) record has a different IP.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
"when Computer-1 Ping Computer-2, Computer-2 display a total different IP"
How many NIC cards does Computer-2 have? Is it using wireless as well?
How many NIC cards does Computer-2 have? Is it using wireless as well?
ASKER
Jorge,
Jeremy,
ITSysTech,
Note:
Also, since when doing Ping by name to Computer-2 gave me that "false" IP, I tested something: I turned off Computer-2 and ping again Computer-2 by its pc-name and it gave results. I ping the actual manually set IP and no results. So this means that is something in Computer-1?
Please advice.
- How do I Check the DNS server, evidently that name (A) record has a different IP?
Jeremy,
- ran ipconfig /all on both.
- there is only the one IP configured per computer.
- the IP on both computers are from Hyper-V Virtual Ethernet Adapter created when Hyper-V was installed.
- ran arp -a on both computers and look for the "false" IP address (when pinging computer 2 by name) and it's there.
- compared the MAC address for the "false" IP pinged to the physical address found for the physical NIC they are different - no match
ITSysTech,
- Computer-2 has one NIC (but remember it has Hyper-V which creates virtual NICS, if we can say it like this).
Note:
- By "false" IP I mean the IP displayed when doing a Ping by pc-name Computer-1 to Computer-2.
- Ran arp -a on both computers and the "false" ip is presente and both has the same physical address and type which is "dynamic".
Also, since when doing Ping by name to Computer-2 gave me that "false" IP, I tested something: I turned off Computer-2 and ping again Computer-2 by its pc-name and it gave results. I ping the actual manually set IP and no results. So this means that is something in Computer-1?
Please advice.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You gave me an idea, ping Computer-2 from a mobile device. Turns out that the "false" IP belongs to a Smart Tv we have next office 'LGSmartTV'. We connected to the routers apps and confirmed its 'LGSmartTV'. So when we ping Computer-2, it displays 'LGSmartTV' IP.
So its #2 'There's an erroneous A record in DNS pointing to the "false" IP'
Weill try your suggestions and get back to u.
So its #2 'There's an erroneous A record in DNS pointing to the "false" IP'
Weill try your suggestions and get back to u.
ASKER
Note we don't have a server. the WLAN is a 4 computer small network where 2 are on at this point and also connected to the WLAN are 3 mobile devices.
If you don't have a server then the problem is most likely the smart tv has the same hostname as computer-2. Can you change the hostname of the smart TV or the computer?
ASKER
Don;t think the smart tv has the Computer-2 host name, the smart tv name comes up as 'LGSmartTV' in both the routers software (192.168.0.1) and in IP scanner apps in the all the mobile devices we have connected to the wifi.
Note,
It's definitely is the smart tv. Just turned it off and ping Computer-2 again and it display "Destination host unreachable".
What else can we do? Something is mixing up theses 2 devices IP.
Note,
It's definitely is the smart tv. Just turned it off and ping Computer-2 again and it display "Destination host unreachable".
What else can we do? Something is mixing up theses 2 devices IP.
ASKER
Can we flush or clear cache of the router (which is a cable-modem)?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Will do...
ASKER
Didn't work.
I have done as recommended and even changed the IP of the smart TV and its name. But when ping Computer-2 shows the same "false" ip but it with "Destination host unreachable" as if not exist the IP.
But why it display when ping:
ex.
Pinging Computer-2 ["false IP"] with 32 bytes of data:
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
what is going on? So strange!
I have done as recommended and even changed the IP of the smart TV and its name. But when ping Computer-2 shows the same "false" ip but it with "Destination host unreachable" as if not exist the IP.
But why it display when ping:
ex.
Pinging Computer-2 ["false IP"] with 32 bytes of data:
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
Reply from "false IP": Destination host unreachable.
what is going on? So strange!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you found the issue. :)
ASKER
Chose our entry as solution because it solve the problem.
Awarded Jeremy because it was super troubleshooting steps!
Thanx!
Awarded Jeremy because it was super troubleshooting steps!
Thanx!