find computers on network using nmap

From WebHostingNeeds.com
Jump to: navigation, search

To get list of computers on your local netwrok, run

nmap -sP 192.168.2.1/24

/24 will scan IP from 1 to 255.

Example

[email protected]:~ $ nmap -sP 192.168.43.1/24

Starting Nmap 7.01 ( https://nmap.org ) at 2016-12-28 13:50 IST
Nmap scan report for 192.168.43.1
Host is up (0.0036s latency).
Nmap scan report for 192.168.43.6
Host is up (0.0042s latency).
Nmap scan report for 192.168.43.19
Host is up (0.11s latency).
Nmap scan report for 192.168.43.51
Host is up (0.00011s latency).
Nmap done: 256 IP addresses (4 hosts up) scanned in 19.38 seconds
[email protected]:~ $



nmap