Low Orbit Flux Logo 2 F

Linux Command - arping

The arping command in Linux is used to send ARP requests to a host on the local network to determine if it’s alive. It’s similar to ping, but instead of using ICMP, it uses the ARP protocol and works only within the local subnet (Layer 2).



arping 192.168.1.1

3 ARP packets on eth0:



arping -I eth0 -c 3 192.168.1.100

Common options:



-c 5	 # Number of ARP requests to send
-I eth0	 # Interface to use (e.g., eth0, wlan0)
-f	# Stop after the first reply is received
-q	# Quiet mode (only summary output)
-D	# Duplicate address detection mode (used in DHCP scenarios)
-A	# Use ARP reply instead of request
-U	# Send unsolicited ARP request (used for updating caches)

Install on Ubuntu/Debian/Mint:



sudo apt install iputils-arping