Nmap

From DevOps Notebook

Scan network for used ip address in a range

$ nmap -sP -PR 10.5.12.0/24

Find unused IP in subnet with nmap

$ nmap -v -sn -n 10.5.12.0/24 |grep 'host down'