Setting the ip address with bootp, To set the ip address with bootp on a hp/ux system – Digi MIL-4711H User Manual

Page 7

Advertising
background image

Install Guide

Model: MIL-4711H

7

6. Verify that the RARP daemon is running:

ps-ax | grep RARP (for BSD UNIX) or

ps-ef | grep RARP (for System V UNIX)

Otherwise, start the RARP daemon by typing:

/usr/etc/rarpd-a or /etc/rarpd-a

If successful, the SYS LED flashes five times per second until the 4711H resolves
its IP address. Then it flashes once per second after address resolution.

Note:

The IP address in this case is stored in RAM. Hence, if the MIL-4711H is powered off, the
address will be lost and when the unit is powered on, the MIL-4711H will RARP again.

S e t t i n g t h e I P A dd r e s s w i t h B O OT P

BOOTP allows a diskless client machine to discover its own IP address. Unlike
RARP, BOOTP is IP/UPD based and it can pass through routers.

To set the IP Address with BOOTP on a Sun system:

1. Verify that you have BOOTP (usually located in the /usr/etc directory).

2. Use a text editor to open the /etc/hosts file.

3. Add the host name and address, and then save the file. For example, for a

MIL-4711H called

alpha

with an IP address

192.185.2.3

, add this line:

192.185.2.3 alpha

4. Edit BOOTP in the /etc directory containing the hostname of the MIL-4711H,

hardware type, hardware address, and the IP address. Format the entry:

<hostname of MIL-4711H>:ht=1:ha=<hardware address>:ip=<ip address>

For example, an entry named

alpha

, with a hardware address of

0040c8010203

and an IP address of

199.86.12.183

:

alpha:ht=1:ha=0040c8010203:ip=199.86.12.183:

5. Start the BOOTP daemon by typing the command /usr/etc/BOOTPd. The

MIL-4711H will broadcast BOOTP packets and will obtain a response from the
server and will use the IP address specified in /etc/BOOTP file.

To s e t t h e I P A dd r e s s w i t h B O OT P o n a H P / U X s y s t e m :

1. Login as root on the system and start SAM, the System Administration Tool,

by entering sam at the command line.

Advertising