RARP(8)

๐Ÿ“ฆ
version 2.10 ยท 2 versions
  • 2.10 ยท alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.60+git20181103.0eebece ยท ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

Okay bestie, this is RARP(8) from the Linux System Administrator's Manual ๐Ÿ’…โœจ Let's get into it.

โœจ NAME โœจ

rarp - manipulate the system RARP table ๐ŸŽ€

๐Ÿงš SYNOPSIS ๐Ÿงš

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

๐Ÿšจ NOTE ๐Ÿšจ

Okay this one is important: this program is obsolete ๐Ÿ’€ From version 2.3, the Linux kernel no longer has RARP support at all. If you need a replacement RARP daemon, check out ftp://ftp.dementia.org/pub/net-tools ๐Ÿ™ˆ

๐Ÿ’– DESCRIPTION ๐Ÿ’–

Okay so rarp is the tool that messes with the kernel's RARP table, and it's giving main character energy ๐Ÿ‘‘ The main things you can do are clear out an address mapping entry or manually set one up. It also lets you dump the whole RARP table, which is lowkey super useful for debugging ๐Ÿ”

๐ŸŒธ OPTIONS ๐ŸŒธ

  • -V โ€” Shows you which version of RARP you're running ๐Ÿฆ‹
  • -v โ€” Makes it verbose, so it tells you everything that's happening. Chatty but in a good way ๐Ÿ—ฃ๏ธ
  • -t type โ€” When you're setting or reading the RARP table, this optional parameter tells rarp which class of entries to check. The default is ether (i.e. hardware code 0x01 for IEEE 802.3 10Mbps Ethernet. Other options include network technologies like AX.25 (ax25) and NET/ROM (netrom) ๐ŸŒˆ
  • -a, --list โ€” Lists the entries in the RARP table ๐Ÿ“‹
  • -d hostname, --delete hostname โ€” Removes all RARP entries for the specified host ๐Ÿ—‘๏ธ
  • -s hostname hw_addr, --set hostname hw_addr โ€” Creates a RARP address mapping entry for the host hostname with its hardware address set to hw_addr. The format of the hardware address depends on the hardware class, but for most classes you can assume the usual presentation works. For the Ethernet class, that means 6 bytes in hexadecimal, separated by colons ๐Ÿ“

๐Ÿ™ˆ WARNING ๐Ÿ™ˆ

Some systems (notably older Suns) assume that the host replying to a RARP query can also provide other remote boot services. So please, never gratuitously add rarp entries unless you want to meet the wrath of the network administrator ๐Ÿ˜ญ๐Ÿ”ฅ

๐Ÿ—‚๏ธ FILES ๐Ÿ—‚๏ธ

  • /proc/net/rarp,

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

arp(8), route(8), ifconfig(8), netstat(8) ๐Ÿ’œ

๐Ÿ‘ฉโ€๐Ÿ’ป AUTHORS ๐Ÿ‘ฉโ€๐Ÿ’ป

  • Ross D. Martin, <martin@trcsun3.eas.asu.edu> ๐Ÿซถ
  • Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> ๐Ÿซถ
  • Phil Blundell, <Philip.Blundell@pobox.com> ๐Ÿซถ

Bye bestie! That's the whole thing from net-tools, dated 2008-10-03, RARP(8) ๐ŸŒˆ๐Ÿ’