Arp and telnet, Arp and telnet -5 – Lantronix XPort User Manual

Page 67

Advertising
background image

IP Addresses

ARP and Telnet

If the unit has no IP address, you can use Address Resolution Protocol (ARP)
method from UNIX and Windows-based systems to assign a temporary IP
address.

To assign a temporary IP address:

1. On a UNIX or Windows-based host, create an entry in the host's ARP table

using the intended IP address and the hardware address of the unit (on the
product label on the bottom of the unit).

arp -s 191.12.3.77 00:20:4a:xx:xx:xx

Note:

For the ARP command to work on Windows 95, the ARP table

on the PC must have at least one IP address defined other than its
own.

2. If you are using Windows 95, type ARP -A at the DOS command prompt to

verify that there is at least one entry in the ARP table. If the local machine is
the only entry, ping another IP address on your network to build a new entry
in the ARP table; the IP address must be a host other than the machine on
which you are working. Once there is at least one additional entry in the ARP
table, use the following command to ARP an IP address to the unit:

arp -s 191.12.3.77 00-20-4a-xx-xx-xx

3. Open a Telnet connection to port 1. The connection will fail quickly, but the

unit will temporarily change its IP address to the one designated in this step.

telnet 191.12.3.77 1

4. Finally, open a Telnet connection to port 9999, and press Enter within five

seconds

to go into Setup Mode. If you wait longer than five seconds, the unit

reboots.

telnet 191.12.3.77 9999

Continue with

Using Setup Mode

on page

4-1.

Note:

The IP address you just set is temporary and will revert to the

default value when the unit’s power is reset unless you configure the unit
and store the changes permanently.

XPort™ User Guide

9-5

Advertising