Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
Created June 26, 2020 11:52
Show Gist options
  • Save rikka0w0/06094a78b20ca26f5b6e6655de5d3605 to your computer and use it in GitHub Desktop.
Save rikka0w0/06094a78b20ca26f5b6e6655de5d3605 to your computer and use it in GitHub Desktop.
[Linux] Get neighbor's IPv6 Address by MAC address
# Replace MACADDRESS with the Mac address of your target:
/sbin/ip neighbor | grep MACADDRESS | grep -v -e "192.168" -e "fe80" | cut -d' ' -f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment