Technical article 104887

What is rarpd? How can I configure and run rarpd?

OpenServer 5.0.0

Written · Last revised

Problem

I have a network host such as a diskless workstation, a Digiboard Port Server, or an HP Port Server, that does not have an assigned IP-address when booted. This network host requires rarpd to be running on the server to which it is networked.

What is rarpd?  How do I start the rarpd daemon?  What files
do I need to modify to start rarpd?

Solution

rarpd - DARPA Reverse Address Resolution Protocol daemon

Unlike arp, which assumes that every network host knows the mapping between its own hardware address (MAC address) and protocol address (IP address), rarpd requires that each server maintain a database of mappings from hardware address to protocol addresses and respond to requests from client hosts.

For rarpd to be started, TCP/IP must be installed on the system and the files /etc/hosts and /etc/ethers must be modified with proper IP-address, host-name and MAC address.

As an example, if a host device with a MAC address of 8:0:20:0:fc:6f is assigned a name of "foo" and an IP address of 132.147.144.246, then the ethers and hosts files should contain the following entries:

Example of /etc/ethers:
#      @(#)ethers       4.1 Lachman System V STREAMS TCP source
#      SCCS IDENTIFICATION
#
# sample ethers file
#
8:0:20:0:fc:6f  foo
Example of /etc/hosts:
#      @(#)hosts        1.2 Lachman System V STREAMS TCP source
#      SCCS IDENTIFICATION
127.0.0.1       localhost
132.147.144.246 foo  foo.com

Notice that the host name "foo" is listed in both ethers and hosts.

The TCP/IP daemon, rarpd, is located in /etc and is started when
the system is brought up in multiuser state.  Normally the lines
in /etc/rc2.d/S85tcp that initiate rarpd are commented out.  The
rarpd daemon will not start until the lines below are uncommented
by removing the all the #'s from the appropriate lines.

If you have SCO UNIX Version 4.0, 4.1 or 4.2, these three lines will be found in /etc/rc2.d/S85tcp:

#       if [ -x /etc/rarpd -a -f /etc/ethers ]; then
#               /etc/rarpd -a ; echo "rarpd \c"
#       fi

If you have SCO OpenServer Release 5.0, these four lines will be found in /etc/rc2.d/S85tcp:

#       if [ -x /etc/rarpd -a -f /etc/ethers ]; then
#               /etc/rarpd -a &
#               echo "rarpd \c"
#       fi

See also

man rarpd(ADM), ethers(SFF), hosts(SFF), ifconfig(ADMN); A memo from the Network Working Group "RFC903" (June 1984).

From the Xinuos technical article database, record 104887. Reproduced with permission. The original is at www.sco.com/ta/104887, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.