arp-scan

arp-scan is a command-line tool used for discovering and identifying devices on a local network using the ARP (Address Resolution Protocol).

Usage

arp-scan [options] <target>
# Scan the local network (common CIDR block)
arp-scan 192.168.1.0/24
 
# Automatically detect and scan the local subnet
arp-scan --localnet # `--localnet` uses the interface's IP address and netmask to determine the correct range.
 
# Specify a particular network interface
arp-scan --interface=eth0 192.168.0.0/24