How to use nmap to discover dead hosts

A general use of nmap is to discover live hosts from a network, range or list. But what if you want to discover dead hosts. Suppose you have made some changes in network equipment and need to find if all IPs are reachable.

Let’s say you have a list of IP addresses in a file called iplist.txt. To do a host discovery, you just need to run the following command:

nmap -n -R -sP -iL iplist.txt

This command will show down hosts too, not just the alive ones.

Anunțuri

Lasă un răspuns

Completează mai jos detaliile tale sau dă clic pe un icon pentru a te autentifica:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s

%d blogeri au apreciat asta: