How to identify IP Address’s of all devices in a network ?

Sometimes someone from within your network starts consuming lot of bandwidth and you just needed to identify how many devices are connected to your network / WiFi. You can easily do it by logging into your router admin panel but what if you don’t have permissions to access the router panel.

In the above scenario, “nmap” comes to our help. As we have seen in our previous posts “Identify all devices in a network using nmap and ARP scan” and “How to get all the details of a device using IP address in Linux/Ubuntu” we had used nmap to get lot of information.

Related :   Solved : E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

In this post we will just try to display IP address’s of all the devices in a network. If you are using latest Ubuntu versions like Ubuntu 18.04, you can install nmap as,

$ sudo snap install nmap

Check the IP address of your Desktop/Laptop using ifconfig command, and if your laptop/host IP address is , use with nmap or if your laptop/host IP address is , use with nmap

$ nmap -n -sP | grep report | awk '{print $5}'

As we can see above, our network currently has 6 devices connected with IP address’s as above.


Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )


Leave a Comment

Android Android Applications Android Build system Android Commands Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded