arpsend(8)
β¨ arpsend(8) β the Containers-era glow-up β¨
okay bestie, sit down, hydrate, and let me tell you about arpsend from the Containers manual section. she's a networking girlie and she's here to yell at your local network π
πΈ NAME πΈ
arpsend β literally just send ARP requests. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
arpsend -D -e target_ip [ -e target_ip ...] [-c count] [-w timeout]
interface
arpsend -U -i source_ip [-c count] [-w timeout] interface
π DESCRIPTION π
so the utility arpsend sends ARP packets out on device interface, and its whole main character purpose is to detect or update neighbours' ARP caches with a given IP. that's it. that's the job. she does it flawlessly π«Ά
π COMMANDS π
run the utility with one of the following commands, bestie (pick one, not both, it's giving decisive):
-Dβ sends a broadcast ARP request to detect neighbours withtarget_ip. you have to specifytarget_ip(that's the-eoption, keep reading π).-Uβ sends a broadcast ARP request to update neighbours' ARP caches withsource_ip. you have to specifysource_ip(that's the-ioption, iykyk).
β¨ OPTIONS β¨
-ccountβ how many packets to send. default is infinity π yes fr, she will just keep going forever unless you tell her to chill.-wintervalβ the interval between packets, in seconds. default is 1 second.-isource_ip_addressβ sets the source IP address field in the ARP packet.-etarget_ip_addressβ sets the target IP address field in the ARP packet. note that you can specify the-eoption multiple times to detect many IP addresses in one utility call. she's multitalented, obsessed π
π EXIT STATUS π
arpsend returns 0 upon successful execution. if something goes wrong, it returns an appropriate error code. (and bestie, things do go wrong sometimes, so here's the chart:)
- 1 β
EXC_USAGEβ usage error π - 2 β
EXC_SYSTEMβ system error π - 3 β
EXC_RECVβ ARP reply was received (not me getting a reply when I wasn't expecting one π)
π EXAMPLES π
to send a request on interface eth0 to detect any neighbour computers with IP 192.168.10.200:
arpsend -D -e 192.168.10.200 eth0
to send a request on interface eth0 to update neighbours' ARP caches with IP 192.168.10.200:
arpsend -U -i 192.168.10.200 eth0
π NOTES π
the interface you use has to be arpable and must not be loopback. like,/sbin/ip link show interfaceshould show neitherNOARPnorLOOPBACKflags in the interface parameters. if it does, she's not the one, bestie π«
π§ SEE ALSO π§
π LICENSE π
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.
and that's the whole page, gorgeous β she's arpsend(8) from the OpenVZ source, dated 18 Mar 2012, and yes the footer matches the header because she's consistent like that π slay, go ping your neighbours, periodt π¦
π¦ where this page comes from
- ubuntu jammy: vzctl 4.9.4-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms