Created
June 26, 2020 11:52
-
-
Save rikka0w0/06094a78b20ca26f5b6e6655de5d3605 to your computer and use it in GitHub Desktop.
[Linux] Get neighbor's IPv6 Address by MAC address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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