Skip to content

Instantly share code, notes, and snippets.

@well-it-wasnt-me
Created December 24, 2023 14:27
Show Gist options
  • Save well-it-wasnt-me/2f8d33640e67c9c593e1fbd7d33eac88 to your computer and use it in GitHub Desktop.
Save well-it-wasnt-me/2f8d33640e67c9c593e1fbd7d33eac88 to your computer and use it in GitHub Desktop.
Script to check which IP are duplicated in a network you are connected
sudo arping -D -I INTERFACE_NAME -c 2 IP_TO_CHECK
echo $? # If 0, means NO duplicated...Hurray !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment