UNPKG

over-the-wire

Version:

Network inspection library for Node

29 lines (23 loc) 1.04 kB
Arping ====== This application resolves a target MAC address using its IPv4 address, by sending an ARP request and analyzing the ARP response. It's an implementation of the arping utility (https://en.wikipedia.org/wiki/Arping) but with less options. Its basic input is the target IP address and the interface name/IP to send the ARP request from. Using the utility ----------------- Basic usage: Arping [-hl] [-c count] [-w timeout] [-s mac_sddr] [-S ip_addr] -i interface -T ip_addr Options: -h : Displays this help message and exits -l : Print the list of interfaces and exists -c count : Send 'count' requests -i interface : Use the specified interface. Can be interface name (e.g eth0) or interface IPv4 address -s mac_addr : Set source MAC address -S ip_addr : Set source IP address -T ip_addr : Set target IP address -w timeout : How long to wait for a reply (in seconds) Limitations ----------- - Works with IPv4 only - Doesn't have all the options of the original arping utility