Created
December 24, 2023 14:27
-
-
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
This file contains 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
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