I use IP Scanners all the time. Angry IP and IP Scanner Pro are great GUI applications for Windows, OS X, and Linux. But what if you’re only option is a linux command line? NMAP is here to the rescue!
If you want to scan an IP range for MAC and IP Addresses that are up, here is the command:
sudo nmap -sP 10.0.0.0/24
bboyd@media:~$ sudo nmap -sP 10.0.0.0/24
[sudo] password for bboyd:
Starting Nmap 7.01 ( https://nmap.org ) at 2017-02-25 09:56 EST
Nmap scan report for 10.0.0.1
Host is up (0.00038s latency).
MAC Address: 78:CA:39:FD:82:1E (Apple)
Nmap scan report for 10.0.0.4
Host is up (0.00046s latency).
MAC Address: 84:D4:7E:C5:F1:0C (Aruba Networks)
Nmap scan report for 10.0.0.8
Host is up (0.00034s latency).
MAC Address: 00:18:7D:38:0E:A2 (Armorlink shanghai)