...

Text file src/github.com/mdlayher/arp/cmd/arpc/README.md

Documentation: github.com/mdlayher/arp/cmd/arpc

     1arpc
     2=====
     3
     4Command `arpc` provides a simple ARP client which can be used to retrieve
     5hardware addresses of other machines in a LAN using their IPv4 addresses.
     6
     7Usage
     8-----
     9
    10```
    11$ ./arpc -h
    12Usage 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
    18Request hardware address for IPv4 address:
    19
    20```
    21$ ./arpc -i eth0 -ip 192.168.1.1
    22192.168.1.1 -> 00:12:7f:eb:6b:40
    23```

View as plain text