Discover IP addresses on the local network

linux-penguinLinux has an application called nmap, that allows you to scan the local network for workstations with IP addresses.  This works on Ubuntu, but probably on any Debian system.


Download and install

Start by opening a Terminal sessions, and run the following command to install nmap:

sudo apt-get install nmap

 

ifconfig

Now you can use ifconfig to find out the address of the local network that you want to scan.

ifconfig

eth0 inet addr: 192.168.1.52 Bcast: 192.168.1.255 Mask 255.255.255.0

 

nmap

Now you can run the correct nmap task.

nmap -sn 192.168.1.0/24

 You will now get a listing of all currently attached devices, with their respective IP addresses.

 

Thanks for visiting.