Linux "rarp" Command Line Options and Examples
manipulate the system RARP table

Rarp manipulates the kernel's RARP table in various ways. The primary options are clearing an address mapping entry and manually setting up one. For debugging purposes, the rarp program also allows a complete dump of the RARP table.


rarp [-V] [--version] [-h] [--help]
rarp -a
rarp [-v] -d hostname ...
rarp [-v] [-t type] -s hostname hw_addr

Command Line Options:

Display the version of RARP in use.
rarp -V ...
Tell the user what is going on by being verbose.
rarp -v ...
When setting or reading the RARP table, this optional parameter tells rarp which class of entries itshould check for. The default value of this parameter is ether (i.e. hardware code 0x01 for IEEE 802.310Mbps Ethernet . Other values might include network technologies such as AX.25 (ax25) and NET/ROM(netrom).
rarp -t ...
Lists the entries in the RARP table.
rarp --list ...
Remove all RARP entries for the specified host.
rarp --delete ...
hostname hw_addr
rarp -s ...
Create a RARP address mapping entry for host hostname with hardware address set to hw_addr. The formatof the hardware address is dependent on the hardware class, but for most classes one can assume thatthe usual presentation can be used. For the Ethernet class, this is 6 bytes in hexadecimal, separatedby colons.WARNINGSome systems (notably older Suns) assume that the host replying to a RARP query can also provide other remoteboot services. Therefore never gratuitously add rarp entries unless you wish to meet the wrath of the networkadministrator.FILES/proc/net/rarp,
rarp --set ...