NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO
The C_INIT(1M) built-in command, rarp, is used to set the IP address of the Ethernet interface ifname.
rarp does this by broadcasting a RARP request, waiting for a reply from the RARP server, and then executing ifconfig to set the interface IP address.
If the RARP server does not send a reply, the rarp command will re-send the RARP request. The loop parameter determines how many times the rarp command will re-send the RARP request. The interval between when the RARP request is first broadcast and the first attempt to re-send is three seconds. Each successive interval between resent RARP requests will be longer than the previous interval by a factor of two. If the RARP server does not send a reply before the limit set by the loop parameter is met, rarp returns an error. If no loop parameter is given, by default, rarp will re-send the RARP request ten times or until the RARP server sends a reply. If an error is returned, the following message is displayed on the target console:
no answer, retrying... no answer, retrying... no answer, retrying... ... no answer, giving up. C_INIT: rarp failed
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO