Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > R


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


rarpc — Reverse Address Resolution Protocol client


rarpc [-d] [-e|-s] [-n count] interface_name


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.

Options are:


Print debugging information.


Use ethernet encapsulation only.


Use SNAP encapsulation only.

-n count

Transmits count requests and waits for each one to time out before giving up.


Identifies the interface to request information about.

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.


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.



The rarpc client cannot be run at the same time a rarpd daemon is running on the same interface.


The rarpc client supports only ethernet, 100VG and FDDI network interfaces.


rarpc was developed by HP.



R. Finlayson, T. Mann, J.C. Mogul, M. Theimer, "Reverse Address Resolution Protocol", RFC 903.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.