ARPING(8)

๐Ÿฆ‹ ARPING(8) โ€” the iputils girlies' guide ๐Ÿ’…

okay so bestie, this is the manual page for arping, living happily in the iputils package. it sends ARP REQUESTs to a neighbour host and honestly? it's giving network-detective main character energy. let's get into it โœจ


๐ŸŽ€ NAME ๐ŸŽ€

arping โ€” send ARP REQUEST to a neighbour host ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

arping [-AbDfhqUV] [-c count] [-w deadline] [-i interval] [-s source]
       [-I interface] {destination}

like, that's the whole vibe. every flag is a little accessory and you're gonna want to know which one to wear ๐Ÿ’–


โœจ DESCRIPTION โœจ

so what does it actually do? it pings destination on device interface using ARP packets, with source as the source address. no cap, that's it. ๐Ÿ”ฅ

lowkey important: arping supports IPv4 addresses only. for IPv6 you gotta go see ndisc6(8) โ€” different girl, different manual. ๐Ÿ’…


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

  • -A โ€” literally the same as -U, except it uses ARP REPLY packets instead of ARP REQUEST. same energy, different packet ๐Ÿ’Œ
  • -b โ€” send only MAC level broadcasts. normally arping starts out sending broadcast and then switches to unicast once a reply comes back โ€” -b says "nope, broadcast forever, I don't trust the switch-up" ๐Ÿ“ก
  • -c count โ€” stop after sending count ARP REQUEST packets. but with the deadline option, it instead waits for count ARP REPLY packets, or until the timeout expires. two moods, same flag ๐ŸŽ€
  • -D โ€” Duplicate address detection mode (DAD). see RFC2131, 4.4.1. returns 0 if DAD succeeded, i.e. no replies are received. yes bestie, no replies is the win here โ€” iconic reverse logic ๐ŸŒˆ
  • -f โ€” finish after the first reply confirming that target is alive. hit it and quit it โœŒ๏ธ
  • -I interface โ€” name of the network device where to send ARP REQUEST packets. tell it which interface to slide into ๐Ÿ’œ
  • -h โ€” print help page and exit. the "help me help you" option ๐Ÿซถ
  • -q โ€” quiet output. nothing is displayed. not a single crumb. silence, but make it fashion ๐Ÿคซ
  • -s source โ€” IP source address to use in ARP packets. if this option is absent, the source address is:
    • in DAD mode (with option -D) set to 0.0.0.0 ๐Ÿ•ณ๏ธ
    • in Unsolicited ARP mode (with options -U or -A) set to destination ๐ŸŽฏ
    • otherwise, it is calculated from routing tables ๐Ÿ“Š
  • -U โ€” Unsolicited ARP mode to update neighbours' ARP caches. no replies are expected. it's giving "I'm just talking, nobody has to answer" ๐Ÿ—ฃ๏ธ
  • -V โ€” print version of the program and exit. the "who even are you" option ๐Ÿ‘€
  • -w deadline โ€” specify a timeout, in seconds, before arping exits regardless of how many packets have been sent or received. if any replies are received, exit with status 0, otherwise status 1. when combined with the count option, exit with status 0 if count replies are received before the deadline expiration, otherwise status 1. it's a hard-launch deadline, bestie โฐ
  • -i interval โ€” specify an interval, in seconds, between packets. pacing is self-care ๐Ÿง˜โ€โ™€๏ธ

๐Ÿ” SEE ALSO ๐Ÿ”

ndisc6(8), ping(8), clockdiff(8), tracepath(8). the whole friend group fr fr ๐Ÿ’–


๐Ÿ’€ AUTHOR ๐Ÿ’€

arping was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>. thank you king ๐Ÿ‘‘


๐Ÿšจ SECURITY ๐Ÿšจ

okay this part is serious, no jokes. arping requires CAP_NET_RAW capability to be executed. it is not recommended to be used as set-uid root, because it allows user to modify ARP caches of neighbour hosts. like, that's a real yikes โ€” do not do that ๐Ÿ™ˆ

๐ŸŒŸ AVAILABILITY ๐ŸŒŸ

arping is part of iputils package. home sweet home ๐Ÿก


and that's the whole page, bestie โ€” go forth and ARP responsibly ๐Ÿ’…โœจ

sign-off: this lil doc is from iputils 20250605, dated 20250605, and it's filed under ARPING(8). mwah ๐ŸŽ€

๐Ÿ“ฆ where this page comes from