arp-scan -lDetects the local interface and subnet for discovery (-l).
Automatically requests mapping for active hosts on the connected local network segment.
Discovers every device on the local network segment by sending ARP requests — finds hosts that ignore ping and identifies vendors by MAC.
sudo apt install arp-scanarp-scan -lDetects the local interface and subnet for discovery (-l).
Automatically requests mapping for active hosts on the connected local network segment.
arp-scan --localnetVerbose alias for local network scanning (--localnet).
Convenient way to scan the locally attached subnet using system configuration.
arp-scan 192.168.1.1Sends ARP requests to a single IP address.
Used to determine if a specific host is online and what its MAC address is.
arp-scan 192.168.1.0/24Scans an entire CIDR subnet block.
Identifies all active devices within the specified network range.
arp-scan 10.0.0.1 10.0.0.2 10.0.0.3Scans a space-delimited list of IP addresses.
Allows targeting a specific set of hosts without scanning the whole subnet.
arp-scan 172.16.0.0:255.255.0.0Defines target network using IP:Netmask format.
Alternative notation for specifying network ranges to scan.
arp-scan 192.168.1.10-192.168.1.50Scans an inclusive range of IP addresses.
Useful for scanning a sub-segment of a larger network block.
arp-scan -f hosts.txtReads targets from a file (-f).
Enables batch scanning of large or complex lists of IP addresses.
arp-scan 10.0.0.0/24:10.0.1.0/24Scans multiple CIDR ranges.
Accepts multiple arguments to scan distinct subnets in one pass.
arp-scan -I eth0 -lForces usage of a specific network interface (-I).
Required when the system has multiple interfaces or for non-default routes.
arp-scan --interface=wlan0 192.168.0.0/24Specifies a wireless interface using the long flag.
Ensures ARP requests are sent over the correct wifi adapter.
arp-scan -r 5 -lIncreases retry count to 5 (-r) for reliability.
Helps when scanning over lossy wifi or congested networks.
arp-scan --retry=1 192.168.1.0/24Reduces retries to 1 for speed.
Suitable for reliable wired networks where packet loss is negligible.
arp-scan -t 2000 -lSets per-host timeout to 2000ms (-t).
Gives devices ample time to respond, useful for slow or busy hosts.
arp-scan --timeout=200 10.0.0.0/8Sets a short 200ms timeout for speed.
Ideal for high-speed scanning of responsive local networks.
arp-scan -i 100 -lEnforces a 100ms packet interval delay (-i).
Slows down the scan to reduce network load or avoid detection.
arp-scan --interval=1000 192.168.1.0/24Sets a 1-second delay between packets.
Stealthy mode that minimizes the chance of triggering traffic alarms.
arp-scan -B 2 -lSets backoff factor to 2 (-B).
Doubles the wait time after each dropped packet to adaptively handle congestion.
arp-scan -q -lRuns in quiet mode (-q).
Suppresses non-essential headers and metadata for cleaner output.
arp-scan --plain -lOutputs plain data (IP and MAC) only (--plain).
Simplifies output parsing for scripts by removing formatting.
arp-scan -N -lDisplays unaligned columns (-N).
Removing alignment spaces makes it easier to cut/awk specific fields.
arp-scan -n -lNumeric only mode (-n).
Disables DNS resolution to speed up the scan and prevent DNS traffic.
arp-scan -v -lEnables verbose output (-v).
Shows details about packet construction and the scanning process.
arp-scan -vv -lEnables extra verbose output (-vv).
Provides deep debugging information about ARP packet fields.
arp-scan -e -lDisplays Round Trip Time (-e).
Measures latency to each host, helping identify network performance issues.
arp-scan -x -lDisplays packet data in hex (-x).
Useful for analyzing non-standard data in ARP payloads.
arp-scan -s 10.0.0.50 192.168.1.0/24Spoofs the source IP address (-s).
Makes ARP requests appear to originate from another IP on the subnet.
arp-scan --arpspa=10.0.0.99 -lSets ARP Source Protocol Address (SPA) explicitly.
Advanced spoofing control for testing ARP handling.
arp-scan -S 00:11:22:33:44:55 -lSpoofs the source MAC address (-S).
Masquerades the sender's physical identity.
arp-scan --arpsha=DE:AD:BE:EF:CA:FE 192.168.1.1Sets ARP Source Hardware Address (SHA) explicitly.
Advanced control for crafting specific ARP payloads.
arp-scan -T 01:00:5e:00:00:01 192.168.1.0/24Sets the Target MAC address in the Ethernet frame (-T).
Rarely used, but allows directing unicast ARP requests.
arp-scan --destaddr=FF:FF:FF:FF:FF:FF -lSets the destination MAC address explicitly.
Can be used to test how devices handle broadcast vs unicast ARPs.
arp-scan -Q 10 -lAdds an 802.1Q VLAN tag (-Q).
Required when scanning tagged VLAN trunks directly.
arp-scan --vlan=20 192.168.50.0/24Scans a specific VLAN ID.
Allows mapping hosts segregated on different virtual LANs.
arp-scan -A -lUses ARP packet padding (-A).
Fills the frame to meet minimum Ethernet length standards.
arp-scan --padding=32 -lAdds 32 bytes of padding to the payload.
Can be used to test how devices handle oversized ARP packets.
arp-scan --snap -lForces 802.2 LLC/SNAP encapsulation (--snap).
Uses legacy framing format to test compatibility or specific detection.
arp-scan -O /usr/share/arp-scan/ieee-oui.txt -lSpecifies a custom OUI file (-O).
Enables manufacturer resolution using a specific database.
arp-scan --ouifile=./custom-oui.txt 192.168.1.0/24Uses a local custom file for OUI resolution.
Useful when working with private or unlisted manufacturer codes.
arp-scan -B 1.5 -r 3 -t 500 -lOptimized adaptive scan settings (-B -r -t).
Combines backoff, retry, and timeout for a balanced approach.
arp-scan -s 0.0.0.0 -lSets source IP to 0.0.0.0 (Duplicate Address Detection).
Can provoke replies from some stacks that ignore other ARPs.
arp-scan -S 00:00:00:00:00:00 -lUses a null MAC source address.
Tests switch security controls and port security configurations.
arp-scan -l -s 192.168.1.1Impersonates the gateway IP address (-s).
Can bypass some client-side filters that accept ARP only from the gateway.
arp-scan --destaddr=01:00:0c:cc:cc:cc -lSends to Cisco CDP/VTP multicast address.
Used to identify Cisco network equipment listening on this address.
arp-scan -l --arpsha=00:50:56:XX:XX:XXUses a VMware OUI source.
Tests if the network permits or blocks virtualization specific OUI ranges.
Example
arp-scan -l --arpsha=00:50:56:00:00:01arp-scan -l -e --plain --ignoredupsProduces a clean asset list with metrics.
Ideal for generating inventory reports with latency data.
arp-scan -l --limit=1024Limits max hosts to scan (--limit).
Caps the scan size to prevent overwhelming the application or network.
arp-scan -l -q > active_hosts.txtRedirects quiet output to a file.
Saves the list of discovered active hosts for scripting and automation.
arp-scan -Q 100 -s 10.100.0.1 10.100.0.0/24Attempts to map a specific VLAN.
Spoofs the gateway IP for that VLAN to elicit responses from hosts.
arp-scan -l --pcapsave=trace.pcapSaves output to PCAP (alias).
Convenient method for capturing scan traffic for Wireshark.
An active and passive ARP reconnaissance tool for finding live hosts on wireless or switched networks, especially those without DHCP.
Pings many hosts in parallel and reports which are alive — a faster, script-friendly alternative to looping over ping.
The standard network scanner: discovers hosts, open ports, running services and versions, operating systems, and runs NSE scripts for deeper checks.
A suite for man-in-the-middle attacks on LANs: ARP poisoning, sniffing and content filtering, for authorised testing.