marping
Author: Tomas Simonaitis
marping (Multi-ARp-PING) is a (tiny) command line utility for *nix operating systems used to discover systems in local network and gather their MAC addresses. Discovery is performed by sending ARP (address resolution protocol) requests ("who-has [ip] tell..") and listening to coming answers. However, unlike similar utilities, it's destined to perform rather massive scans very fast. Output to stdout is in "MAC<space>IP" format (by default not found addresses aren't listed).
Examples:
Some code/ideas based on arping (Thomas Habets)