Move /var/svc/log to /var/log/svc
[unleashed/lotheac.git] / share / man / man8 / in.rarpd.8
blob7c159cce9b8af40a0fdff158e91efffb9c33301a
1 '\" te
2 .\"  Copyright 1989 AT&T Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IN.RARPD 8 "Aug 20, 2004"
7 .SH NAME
8 in.rarpd, rarpd \- DARPA Reverse Address Resolution Protocol server
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/in.rarpd\fR [\fB-d\fR] \fB-a\fR
13 .fi
15 .LP
16 .nf
17 \fB/usr/sbin/in.rarpd\fR [\fB-d\fR] \fIdevice\fR \fIunit\fR
18 .fi
20 .SH DESCRIPTION
21 .sp
22 .LP
23 \fBin.rarpd\fR starts a daemon that responds to Reverse Address Resolution
24 Protocol (RARP) requests. The daemon forks a copy of itself that runs in
25 background. It must be run as root.
26 .sp
27 .LP
28 RARP is used by machines at boot time to discover their Internet Protocol (IP)
29 address. The booting machine provides its Ethernet address in a \fBRARP\fR
30 request message. Using the \fBethers\fR and \fBhosts\fR databases,
31 \fBin.rarpd\fR maps this Ethernet address into the corresponding \fBIP\fR
32 address which it returns to the booting machine in an \fBRARP\fR reply message.
33 The booting machine must be listed in both databases for \fBin.rarpd\fR to
34 locate its \fBIP\fR address. \fBin.rarpd\fR issues no reply when it fails to
35 locate an \fBIP\fR address.
36 .sp
37 .LP
38 \fBin.rarpd\fR uses the \fBSTREAMS-based\fR Data Link Provider Interface (DLPI)
39 message set to communicate directly with the datalink device driver.
40 .SH OPTIONS
41 .sp
42 .LP
43 The following options are supported:
44 .sp
45 .ne 2
46 .na
47 \fB\fB-a\fR\fR
48 .ad
49 .RS 6n
50 Get the list of available network interfaces from \fBIP\fR using the
51 \fBSIOCGIFADDR\fR ioctl and start a \fBRARP\fR daemon process on each interface
52 returned.
53 .RE
55 .sp
56 .ne 2
57 .na
58 \fB\fB-d\fR\fR
59 .ad
60 .RS 6n
61 Print assorted debugging messages while executing.
62 .RE
64 .SH EXAMPLES
65 .LP
66 \fBExample 1 \fRStarting An \fBin.rarpd\fR Daemon For Each Network Interface
67 Name Returned From \fB/dev/ip:\fR
68 .sp
69 .LP
70 The following command starts an \fBin.rarpd\fR for each network interface name
71 returned from \fB/dev/ip:\fR
73 .sp
74 .in +2
75 .nf
76 example# /usr/sbin/in.rarpd \fB-a\fR
77 .fi
78 .in -2
79 .sp
81 .LP
82 \fBExample 2 \fRStarting An \fBin.rarpd\fR Daemon On The Device \fB/dev/le\fR
83 With The Device Instance Number  \fB0\fR
84 .sp
85 .LP
86 The following command starts one \fBin.rarpd\fR on the device \fB/dev/le\fR
87 with the device instance number \fB0\fR.
89 .sp
90 .in +2
91 .nf
92 example# /usr/sbin/in.rarpd le 0
93 .fi
94 .in -2
95 .sp
97 .SH FILES
98 .sp
99 .ne 2
101 \fB\fB/etc/ethers\fR\fR
103 .RS 15n
104 File or other source, as specified by \fBnsswitch.conf\fR(4).
108 .ne 2
110 \fB\fB/etc/hosts\fR\fR
112 .RS 15n
113 File or other source, as specified by \fBnsswitch.conf\fR(4).
117 .ne 2
119 \fB\fB/tftpboot\fR\fR
121 .RS 15n
126 .ne 2
128 \fB\fB/dev/ip\fR\fR
130 .RS 15n
135 .ne 2
137 \fB\fB/dev/arp\fR\fR
139 .RS 15n
143 .SH SEE ALSO
146 \fBsvcs\fR(1), \fBboot\fR(8), \fBifconfig\fR(8), \fBsvcadm\fR(8),
147 \fBethers\fR(4), \fBhosts\fR(4), \fBnetconfig\fR(4),
148 \fBnsswitch.conf\fR(4), \fBattributes\fR(5), \fBsmf\fR(5), \fBdlpi\fR(7P)
151 Finlayson, R., Mann, T., Mogul, J., and Theimer, M., \fIRFC 903, A Reverse
152 Address Resolution Protocol\fR, Network Information Center, SRI International,
153 June 1984.
154 .SH NOTES
157 The \fBin.rarpd\fR service is managed by the service management facility,
158 \fBsmf\fR(5), under the service identifier:
160 .in +2
162 svc:/network/rarp
164 .in -2
169 Administrative actions on this service, such as enabling, disabling, or
170 requesting restart, can be performed using \fBsvcadm\fR(8). The service's
171 status can be queried using the \fBsvcs\fR(1) command.