rarpd(8c)rarpd(8c)Name
rarpd - reverse address resolution protocol (RARP) daemon
Syntax
/usr/etc/rarpd [ interface ] [ -v ] [ -n ] [ -f filename ]
Description
The daemon maps the Ethernet address of a machine to the machine's Internet Protocol (IP) address.
When is invoked, it reads the file (by default) and waits to process a RARP request. The file is checked every ten minutes for any
changes. If the file has been modified, reads it again. You can disable this feature with the option. You can force a scan of the file by
sending the daemon a SIGHUP signal. See for more information on SIGHUP.
The format of the file is described in You can specify a file other than with the option. The interface is the network interface on which
the daemon should listen. The command shows the correct interface or interfaces for your system. The daemon uses the first interface it
finds, if you do not specify an interface. See the reference page for more information.
Because the daemon has been implemented with the Ethernet Packet Filter (see you must configure your kernel with the packet filter option
in order for to function properly. The packet filter detects RARP broadcast packets and passes them to for processing. The filter priority
for rarpd is set to 28.
All messages from the daemon are directed to
Options
interface Specifies the system's network interface.
-v Causes to operate in verbose mode. This option logs details of RARP to The instance of a RARP request and its response are
also logged.
-n Disables checking of the file. By default, checks the file once every ten minutes, and, if the file was modified, rereads
the file. If you specify the option scans the file once at startup time.
-f filename Reads an alternate Ethernet address file.
Restrictions
The ignores all ARP requests sent encapsulated within a RARP packet. You should make all ARP request using the command.
The machine for which an IP address is being requested must be present in the server's file.
Diagnostics
The following message is logged to if the Packet Filter is not configured in your kernel:
Packet Filter is not configured in /vmunix
The following messages are printed to your screen if the Packet Filter is not configured in your kernel:
rarpd: cannot find symbol Pfilt_read in /vmunix
option PACKETFILTER does not appear to be configured in
your kernel.
Files
Database that maps Ethernet addresses to hostnames
See Alsoethers(3n), packetfilter(4), ethers(5), hosts(5), arp(8c), ifconfig(8c), syslog(8c)
The Packet Filter: An Efficient Mechanism for User-Level Network Code
rarpd(8c)
Check Out this Related Man Page
in.rarpd(1M) System Administration Commands in.rarpd(1M)NAME
in.rarpd, rarpd - DARPA Reverse Address Resolution Protocol server
SYNOPSIS
/usr/sbin/in.rarpd [-d] -a
/usr/sbin/in.rarpd [-d] device unit
DESCRIPTION
in.rarpd starts a daemon that responds to Reverse Address Resolution Protocol (RARP) requests. The daemon forks a copy of itself that runs
in background. It must be run as root.
RARP is used by machines at boot time to discover their Internet Protocol (IP) address. The booting machine provides its Ethernet address
in a RARP request message. Using the ethers and hosts databases, in.rarpd maps this Ethernet address into the corresponding IP address
which it returns to the booting machine in an RARP reply message. The booting machine must be listed in both databases for in.rarpd to
locate its IP address. in.rarpd issues no reply when it fails to locate an IP address.
in.rarpd uses the STREAMS-based Data Link Provider Interface (DLPI) message set to communicate directly with the datalink device driver.
OPTIONS
The following options are supported:
-a Get the list of available network interfaces from IP using the SIOCGIFADDR ioctl and start a RARP daemon process on each interface
returned.
-d Print assorted debugging messages while executing.
EXAMPLES
Example 1: Starting An in.rarpd Daemon For Each Network Interface Name Returned From /dev/ip:
The following command starts an in.rarpd for each network interface name returned from /dev/ip:
example# /usr/sbin/in.rarpd -a
Example 2: Starting An in.rarpd Daemon On The Device /dev/le With The Device Instance Number 0
The following command starts one in.rarpd on the device /dev/le with the device instance number 0.
example# /usr/sbin/in.rarpd le 0
FILES
/etc/ethers File or other source, as specified by nsswitch.conf(4).
/etc/hosts File or other source, as specified by nsswitch.conf(4).
/tftpboot
/dev/ip
/dev/arp
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbsu |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), boot(1M), ifconfig(1M), svcadm(1M), ethers(4), hosts(4), netconfig(4), nsswitch.conf(4),attributes(5), smf(5), dlpi(7P)
Finlayson, R., Mann, T., Mogul, J., and Theimer, M., RFC 903, A Reverse Address Resolution Protocol, Network Information Center, SRI Inter-
national, June 1984.
NOTES
The in.rarpd service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/rarp
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 20 Aug 2004 in.rarpd(1M)