Arun’s Weblog

Feel power of linux Ubuntu

Posts Tagged ‘nmap’

Find live computers in a network

Posted by arun161087 on September 13, 2008

In case of linux to find live computers in a network we use NMAP network scanner tool.

so in this case first you have to install the nmap .

# sudo apt-get install nmap

if your network is having ip like this 192.168.0.254 – 255

then use this command

# nmap -sP 192.168.0.1-255

nmap will look whether any of the hosts between 192.168.0.1 and 192.168.0.254 is online…..

and you will see the output like this..

output—

arun@arun-laptop:~$ nmap -sP 192.168.31.0-255

Starting Nmap 4.53 ( http://insecure.org ) at 2008-09-13 22:06 IST
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using –system-dns or specify valid servers with –dns_servers
Host 192.168.31.39 appears to be up.
Host 192.168.31.45 appears to be up.
Host 192.168.31.48 appears to be up.
Host 192.168.31.49 appears to be up.
Host 192.168.31.50 appears to be up.
Host 192.168.31.58 appears to be up.
Host 192.168.31.65 appears to be up.
Host 192.168.31.97 appears to be up.
Host 192.168.31.165 appears to be up.
Host 192.168.31.236 appears to be up.
Host 192.168.31.237 appears to be up.
Host 192.168.31.238 appears to be up.
Host 192.168.31.239 appears to be up.
Host 192.168.31.240 appears to be up.
Host 192.168.31.241 appears to be up.
Host 192.168.31.254 appears to be up.
Nmap done: 256 IP addresses (16 hosts up) scanned in 12.288 seconds

Posted in Hack, Troubleshoot, Ubuntu Linux | Tagged: | Leave a Comment »