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

Page 9

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

Image 9
Contents MIL-4511H Micro Modules used with the MIL 4511H MIL 4511H Packag e ContentsDescription of Dip Switches Description of HardwareDescription of the LEDs Installation Procedure Installation of Micro ModulesDB 9 Serial Por t MIL4511 Model Installation of the Rubber FeetStacking Multiple Hubs Installation of the Interconnect CablePor t Redundancy Cascading HubsAssigning an IP Address Alpha Setting the IP Address with TelnetArp -s ether alpha 040c80012B Arpbypass set alpha 0x00.0x40.0xc8.0x00.0x01.0x2BSetting the IP Address with Bootp Setting the IP Address with Rarp0040c802abcdalpha Usr/etc/rarpd-a or /etc/rarpd-aTo set the IP Address with Bootp on a HP/UX system Hostname of MIL-4511Hht=1ha=hardware addressip=ip addressAlphaht=1ha=0040c8010203ip=199.86.12.183 Ping hostname Verifying the IP Address is Set ProperlyAlpha is alive Ping ip-addressLegal Five-Year Limited Warranty