Article 6K9J4 list all hosts and ips with in subnet

list all hosts and ips with in subnet

by
sag2662
from LinuxQuestions.org on (#6K9J4)
Hi all,

I wanted to list all hosts that are in network for ex: (192.168.100.24/24). I tried using nmap scan but it only lists the hosts which are up.Can we somehow lists all the hosts that are up and down.

I used the below

Code:nmap -sn 192.168.100.24/24 -oG output
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments