Digi MIL-4511H manual Setting the IP Address with RARP, 0040c802abcdalpha

Models: MIL-4511H

1 12
Download 12 pages 43.12 Kb
Page 9
Image 9
Setting the IP Address with RARP

Install Guide

Setting the IP Address with RARP

RARP provides a way for devices on the network to query a server for their IP address at start-up. This only works if the 4511H is on the same subnet as the host running the RARP daemon. however, it will RARP if its address is set to 0.0.0.0.

To set the IP Address with RARP:

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

2.Find the hardware address of the MIL-4511H (on the bottom of the unit).

3.Add the address to the /etc/ethers file, or the NIS master ethers database. For example, if a device named alpha has an address of 0040C802ABCD, then add:

00:40:c8:02:ab:cd:alpha

4.Add the IP address and the host name to the /etc/hosts file. For example, a device named alpha with an address 192.185.2.3, add the following line:

192.185.2.3 alpha

Note: For hosts using NIS and ethers databases, rebuild the databases at this time. Change to the YP directory and type make at the command prompt. Then continue this procedure:

5.Power on the MIL-4511H.

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 4511H 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-4511H is powered off, the address will be lost and when the unit is powered on, the MIL-4511H will RARP again.

Setting the IP Address with BOOTP

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.

Model: MIL-4511H

9

Page 9
Image 9
Digi MIL-4511H manual Setting the IP Address with RARP, 0040c802abcdalpha, usr/etc/rarpd-a or /etc/rarpd-a