question

AleMadama-9897 avatar image
0 Votes"
AleMadama-9897 asked AleMadama-9897 commented

unable to delete "unreachable" entries from arp cache

Hi all,
I'm struggling with this Windows 10 issue.

My main problem is that I have to clear local dns as I can't resolve correctly one name of a PC.

if I ping myPC I get a wrong IP

I found that the arp cache still keep this wrong (old) IP, using this command:

 netsh interface ipv4 show neighbors

then I tried:

 arp -d

 netsh interface ipv4 delete neighbors "interface name"

both command get me a successfull feedback but I still see the old/wrong IP in the table


more, after the above cmds, I see that only the "unreachable" entries remains in the table, cleared the other...

how can I force the removing everything?, also the "unreachable" entries?

thanks


windows-10-network
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is a quick note to let you know that I am currently performing research on this issue and will get back to you as soon as possible. I appreciate your patience.
If you have any updates during this process, please feel free to let me know.

0 Votes 0 ·
SunnyQi-MSFT avatar image
0 Votes"
SunnyQi-MSFT answered

Hi,

Thanks for posting in Q&A platform.

Please try to run this command in PowerShell with administrator privilege to see if the specific ARP entry can be deleted.

netsh interface ipv4 delete neighbor "interface name" 10.1.1.1 aa-bb-cc-dd-ee-ff store=persistent

Based on provided information, my understanding is the hostname of a PC cannot be resolved correctly. If the issue still existed, please run the following command in a CMD window to see if the hostname can be resolved to a correct IP by DNS server:

ipconfig /flushdns

nslookup /hostname of PC

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AleMadama-9897 avatar image
0 Votes"
AleMadama-9897 answered AleMadama-9897 commented

Hi Sunny, thanks for your suggestions.

I find the wrong IP address in both WiFi and Ethernet interfaces, like below:

 Interface 16: WiFi
 Internet Address                              Physical Address   Type
 --------------------------------------------  -----------------  -----------
 ...
 192.168.178.122                               Unreachable        Unreachable
 ...
    
 Interface 18: Ethernet
 Internet Address                              Physical Address   Type
 --------------------------------------------  -----------------  -----------
 ...
 192.168.178.122                               00-00-00-00-00-00  Unreachable
 ...

When I run (without subinterfaces, as I haven't):

 netsh interface ipv4 delete neighbor "WiFi" 192.168.178.122 store=persistent

I get:

 Element not found.

for both interfaces


If I run:

 nslookup myPCname

I get:

 Server:  fritz.box
 Address:  192.168.178.1
    
 Name:    myPCname.fritz.box
 Addresses:  192.168.178.122
           192.168.178.50

then it resolves, as first, the wrong IP address (the second one is the right one)

I don't know what else to do any longer...








· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for your feedback.

Do we have a chance to delete the incorrect A record in DNS server (fritz.box)?

Best Regards,
Sunny

0 Votes 0 ·

apologies for delay in replying
no, unfortunately I can't modify A record in my router...

I'm still in the same situation as before... no luck

0 Votes 0 ·