Identify all devices in a network using nmap and ARP scan

To identify which all devices are connected to your Router in Wireless network, we can use nmap command which internally uses ARP request/reply scan to show which all devices and their mac address and IP address are actively connected to our router.

 $ sudo nmap -PR -sn

Starting Nmap 7.01 ( ) at 2018-04-18 01:07 IST
Nmap scan report for
Host is up (0.0017s latency).
MAC Address:  (Tp-link Technologies)
Nmap scan report for
Host is up (0.0068s latency).
MAC Address:  (Samsung Electronics)
Nmap scan report for
Host is up.
Nmap done: 256 IP addresses (3 hosts up) scanned in 28.10 seconds

In our network we had 2 devices, 1 laptop and 1 Mobile connected to the router. So, nmap which was initiated from latop with IP address shows that we are connected to router with IP address and second device connected to this router is with IP address

You can also check How to get all the details of a device using IP address in Linux/Ubuntu

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Content Management System - CMS Core Kernel C Programs Development Environment Setup Errors & Failures File Systems git Go Language Programs Hardware Platforms Home HTML JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply