1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/arping.md
Vitor Henrique 814e511bae
pages*: add missing mnemonics (part 1) (#12143)
* pages*: add missing mnemonics

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-09 20:04:08 +05:30

29 lines
739 B
Markdown

# arping
> Discover and probe hosts in a network using the ARP protocol.
> Useful for MAC address discovery.
> More information: <https://github.com/ThomasHabets/arping>.
- Ping a host by ARP request packets:
`arping {{host_ip}}`
- Ping a host on a specific interface:
`arping -I {{interface}} {{host_ip}}`
- Ping a host and [f]inish after the first reply:
`arping -f {{host_ip}}`
- Ping a host a specific number ([c]ount) of times:
`arping -c {{count}} {{host_ip}}`
- Broadcast ARP request packets to update neighbours' ARP caches ([U]nsolicited ARP mode):
`arping -U {{ip_to_broadcast}}`
- [D]etect duplicated IP addresses in the network by sending ARP requests with a 3 second timeout:
`arping -D -w {{3}} {{ip_to_check}}`