nmap -sP 192.168.0.0/24

gives mac and name