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 daemonUnlike 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 fooExample 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.comNotice 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"
# fiIf 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).