summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man8/rarp.8
blob: 3cf398c8d683dc81a9395550f1ac1762a44e2914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.TH RARP 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
rarp \- manipulate the system RARP table
.SH SYNOPSIS
.B "rarp [\-V] [\-\-version] [\-h] [\-\-help]"
.br
.B "rarp \-a"
.br
.B "rarp [\-v] \-d hostname ..."
.br
.B "rarp [\-v] [\-t type] \-s hostname hw_addr"
.SH NOTE
.P
This program is obsolete.  From version 2.3, the Linux kernel 
no longer contains RARP support.  For a replacement RARP daemon, see
.I
ftp://ftp.dementia.org/pub/net\-tools
.SH DESCRIPTION
.B 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
.B rarp
program also allows a complete dump of the RARP table.
.SH OPTIONS
.TP
.B \-V
Display the version of RARP in use.
.TP
.B \-v
Tell the user what is going on by being verbose.
.TP
.B "\-t type"
When setting or reading the RARP table, this optional parameter tells
.B rarp
which class of entries it should check for.  The default value of
this parameter is
.B ether
(i.e. hardware code
.B 0x01
for
.B "IEEE 802.3 10Mbps Ethernet".
Other values might include network technologies such as
.B AX.25 (ax25)
and
.B NET/ROM (netrom).
.TP
.B "\-a"
.TP
.B "\-\-list"
Lists the entries in the RARP table.
.TP
.B "\-d hostname"
.TP
.B "\-\-delete hostname"
Remove all RARP entries for the specified host.
.TP
.B "\-s hostname hw_addr"
.TP
.B "\-\-set hostname hw_addr"
Create a RARP address mapping entry for host
.B hostname
with hardware address set to
.BR hw_addr .
The format of the hardware address is dependent on the hardware
class, but for most classes one can assume that the usual presentation
can be used.  For the Ethernet class, this is 6 bytes in hexadecimal,
separated by colons.
.SH WARNING
Some systems (notably older Suns) assume that the host replying to
a RARP query can also provide other remote boot services. Therefore 
never gratuitously add rarp entries unless you wish to meet the wrath
of the network administrator.
.SH FILES
.I /proc/net/rarp,
.SH SEE ALSO
.BR arp (8),
.BR route (8),
.BR ifconfig (8),
.BR netstat (8)
.SH AUTHORS
Ross D. Martin, <martin@trcsun3.eas.asu.edu>
.br
Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
.br
Phil Blundell, <Philip.Blundell@pobox.com>