NMAP Getting MAC addresses of network pc's

Hi Guys!!! I have a quick question in relation to nmap. Is it possible to view the Mac Addresses of other pc’s on my network? I can do it through my routers interface but it’s tedious .

Kolin.

If you’re using nmap, MAC addresses are only available if you’re on the same network segment as the target. Newer versions of nmap will only show the MAC address to you if you’re running as root.

i.e.

**sudo** nmap -sP -n 192.168.0.0/24

You don’t need to use any specific option. If you run nmap as root (e.g. with sudo like above), it already gives MAC addresses, if it can (you need to be on same subnet of your targets).

Hope that helps,

Pyrezz