HPlogo HP-UX Reference > R

rarpc(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

rarpc — Reverse Address Resolution Protocol client

SYNOPSIS

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

DESCRIPTION

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:

-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 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.

RETURN VALUE

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

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 interfaces.

AUTHOR

rarpc was developed by HP.

SEE ALSO

rarpd(1M).

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