NAME [Toc] [Back]
rarpc - Reverse Address Resolution Protocol client
SYNOPSIS [Toc] [Back]
rarpc [-d] [-e|-s] [-n count] interface_name
DESCRIPTION [Toc] [Back]
rarpc, the Reverse Address Resolution Protocol client, implements the
client portion of the Reverse Address Resolution Protocol (see SEE
ALSO). It sends RARP requests for the specified interface's hardware
address and waits for the response from the RARP server. rarpc can be
used during boot-time initialization to find the IP address of an
interface. To do so, set the IP_ADDRESS[i] variable of interface i
with IP_ADDRESS[i]=RARP in /etc/rc.config.d/netconf.
-d Print debugging information.
-e Use ethernet encapsulation only.
-s Use SNAP encapsulation only.
-n count Transmits count requests and waits for each one
to time out before giving up.
interface_name Identifies the interface to request information
If a response is received, it prints the IP address to its standard
output. This information can be used to configure the interface as
seen in /sbin/init.d/net.
If a response is not received, the client will retransmit after 2
seconds, and then after 4 seconds. After that, retransmissions occur
every 8 seconds.
RETURN VALUE [Toc] [Back]
Exit status is 1 if the command fails or no RARP response is received.
Exit status is 0 and the IP address is printed to standard output if a
response is received.
LIMITATIONS [Toc] [Back]
1. The rarpc client cannot be run at the same time a rarpd daemon is
running on the same interface.
2. The rarpc client supports only ethernet, 100VG and FDDI network
AUTHOR [Toc] [Back]
rarpc was developed by HP.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
SEE ALSO [Toc] [Back]
R. Finlayson, T. Mann, J.C. Mogul, M. Theimer, "Reverse Address
Resolution Protocol", RFC 903.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]