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 Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL 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 User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question