Using ARP
arp -vn
Using NMAP on Linux (please install first) - (###see here)
export netadd=192.168.X.0 # This network address is an example
sudo nmap -sP ${netadd}/24 | egrep -v 'Host is up' | sed ':a;N;$!ba;s/\nMAC Address: / - /g' | sed 's/Nmap scan report for //g'
|