RARP service allows the target system to obtain its IP address over the Ethernet from the boot server.
If /tftpboot exists at boot time, a system running the Solaris operating environment starts the RARP daemon as part of normal system initialization.
The RARP daemon should run on a boot server whose IP network is the same as that of the target. See the TCP/IP and Data Communications Administration Guide and in.rarpd(1M) for details.
Check /etc/nsswitch.conf on the boot server for lines starting with ethers:
$ grep ^ethers /etc/nsswitch.conf |
If the output starts with |
Then |
---|---|
ethers: nis For example: ethers: nis [NOTFOUND=return] files |
Proceed to Step 2. |
ethers: files For example: ethers: files nis [NOTFOUND=return] |
Proceed to Step 3. |
Something other than the preceding choices |
Ask your NIS administrator for help. |
Verify
whether the target is listed in the map ethers.byname
:
$ ypmatch target_hostname ethers |
If the output is |
Then |
---|---|
target_Ethernet_address target_hostname |
Proceed to Step 4. |
Can't match key target_hostname in map ethers.byname. Reason: no such key in map. |
Verify the target Ethernet address, and then proceed to Step 3. |
Add the following line to /etc/ethers on the boot server:
target_Ethernet_address target_hostname
Start the RARP daemon on the boot server:
$ su Password: superuser_password # /usr/sbin/in.rarpd -a |