Difference between revisions of "Nmap"
From DevOps Notebook
Line 5: | Line 5: | ||
== Find unused IP in subnet with nmap == | == Find unused IP in subnet with nmap == | ||
<pre> | <pre> | ||
− | $ nmap -v -sn -n | + | $ nmap -v -sn -n 10.5.12.0/24 |grep 'host down' |
</pre> | </pre> |
Latest revision as of 11:53, 10 March 2021
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'