Debian Codegraph @

cmd/arpc/README.md

raw
1 arpc
2 =====
3
4 Command `arpc` provides a simple ARP client which can be used to retrieve
5 hardware addresses of other machines in a LAN using their IPv4 addresses.
6
7 Usage
8 -----
9
10 ```
11 $ ./arpc -h
12 Usage of ./arpc:
13 -d=1s: timeout for ARP request
14 -i="eth0": network interface to use for ARP request
15 -ip="": IPv4 address destination for ARP request
16 ```
17
18 Request hardware address for IPv4 address:
19
20 ```
21 $ ./arpc -i eth0 -ip 192.168.1.1
22 192.168.1.1 -> 00:12:7f:eb:6b:40
23 ```