Created
October 26, 2014 03:29
-
-
Save jglenn9k/e4ce8bb9d5cd7f8d0650 to your computer and use it in GitHub Desktop.
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
for i in $(seq 1 253); do x=$(arping -c 3 10.200.61.$i | awk '{ if ($0 ~ "^Unicast reply") { print $4" "$5 } }' | sort -u); [ "$x" ] && echo $x || echo 10.200.61.$i FREE; done > freeips.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check arp for unused IPs.