2 use arp to assign an ip address, 3 use dhcp to assign an ip address, Use arp to assign an ip address – Liebert EM User Manual

Page 16: Use dhcp to assign an ip address

Advertising
background image

Assign an IP Address

10

3.2

Use ARP to Assign an IP Address

This method may be preferable if you are not using a Microsoft host.

To use the ARP command:
1. Open a command prompt. In Windows, one way to do this is:

• Click on the Start button, then on Run.
• In the Run window, enter cmd in the Open box, then click OK.

2. At the command prompt (C:\>), enter:

arp -s [IP address] [MAC address]

where:

[IP address] is the IP address you are assigning—for example, 192.168.1.20

Note: The IP address must be unique on the network—not assigned to any other device.

[MAC address] is the device’s MAC address—for example, 00-08-67-FF-ED-BB.

Note: The MAC address is found on a sticker on the bottom of the device.

For example:

arp -s 192.168.1.20 00-08-67-FF-ED-BB

3. To verify the device can be recognized, enter the following at the command prompt (C:\>):

ping [IP address]

where:

[IP address] is the same IP address entered in Step 2.

For example:

ping 192.168.1.20

If the IP address was successfully assigned, the display will show replies from the device and sta-

tistics. If not, the message Request timed out appears, and statistics for packets received is 0

(zero).

4. Exit from the command prompt and proceed to the next section.

3.3

Use DHCP to Assign an IP Address

If the IP address acquisition on the device is set to DHCP—for details about the IP Address Acquisi-

tion box, see 5.7.1 - Network Connectivity—the device will put out a request to a DHCP server to

be assigned an IP address. This request is a broadcast message that is sent to all nodes on the net-

work and, if necessary, is forwarded by routers to a DHCP server. The DHCP server responds by

sending the device a new IP address and a lease period.
You must have a DHCP server to use this type of IP address assignment. Many routers have built-in

DHCP servers. See your DHCP server’s manual for more information on how the server assigns

IP addresses and lease periods.

NOTE
These steps must be done on the same network segment where the OpenComms EM is connected.

NOTE
Use this method if your network uses DHCP, or Dynamic Host Configuration Protocol.

Advertising