![Lantronix C 7/01 User Manual Download Page 17](http://html1.mh-extra.com/html/lantronix/c-7-01/c-7-01_user-manual_675828017.webp)
Getting Started
Assigning the IP Address
3-7
ARP
ARP can be used from a Windows or Unix host to assign a temporary IP address to the
Device Server. The server sets its IP address from a directed ARP packet and uses it until
it is rebooted. This method only works if your Windows or Unix host are on the same side
of the router.
1
On a UNIX host, create an entry in the host’s ARP table using the intended IP
address and the hardware address of the Device Server, which is found on the
product label.
Figure 3-4: ARP on UNIX
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. Type ARP -A at the DOS 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 Device Server:
Figure 3-5: ARP on Windows
2
Now open a Telnet connection to port 1. The connection should fail quickly (3
seconds), but the Device Server will temporarily change its IP address to the one
designated in step 1.
Figure 3-6: Telnet to Port 1
3
Finally, open a Telnet connection to port 9999 and set all required parameters. Make
sure to enter the information quickly; otherwise you will be timed out and will need
to open a Telnet connection to port 1 again.
Figure 3-7: Telnet to Port 9999
Note:
This IP address is temporary and will revert to the default value when
the Device Server’s power is reset. You must log into the Device Server
and store the changes permanently.
arp -s 191.12.3.77 00:20:4a:xx:xx:xx
arp -s 191.12.3.77 00-20-4a-xx-xx-xx
telnet 191.12.3.77 1
telnet 191.12.3.77 9999