The Computer Oracle

what's IPv6 analogue for IPv4 `arp -an` and "arp who-has"?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Book End

--

Chapters
00:00 What'S Ipv6 Analogue For Ipv4 `Arp -An` And &Quot;Arp Who-Has&Quot;?
00:38 Accepted Answer Score 10
01:05 Answer 2 Score 18
01:15 Answer 3 Score 0
01:28 Thank you

--

Full question
https://superuser.com/questions/621593/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#networking #lan #ipv6 #arp

#avk47



ANSWER 1

Score 18


ip -6 neigh show 

Above command is to check arp table for ipv6




ACCEPTED ANSWER

Score 10


Neighbor Discovery Protocol (NDP) is the IPv6 equivalent of the Address Resolution Protocol (ARP), and on the Unix flavors I'm most familiar with (mostly BSDs) the ndp(8) command is the IPv6 equivalent of the arp(8) command.

The command-line options for ndp are often the same as for arp, so ndp -an does exactly what you'd expect.




ANSWER 3

Score 0


On Windows the equivalent command is

netsh interface ipv6 show neighbors

or in Powershell

Get-NetNeighbour