Using arp and telnet to assign an IP address to a CoBos device server

How do I assign an IP to a UDS, XPort-03/04 or other CoBos device server using arp and telnet?


Using a DOS or CMD prompt type the following to assign the example IP address, 192.168.1.10. Use a valid IP address for your network:

1) Type: arp -s 192.168.1.10 00-20-4a-xx-xx-xx -N nnn.nnn.nnn.nnn (replace xx with the hardware address on your device server and nnn with the IP address of your PC's active network interface)

2) Press enter

3) Type: telnet 192.168.1.10 1 and press enter (this will fail)

4) Type: telnet 192.168.1.10 9999 and press enter (you must press Enter within 5 seconds to enter configuration mode).

5) The following menu will appear and you will select Channel 0 and set up the IP, gateway and subnet.


*** basic parameters Hardware: Ethernet Autodetect IP addr 000.000.000.000, gateway 000.000.000.000, netmask 000.000.000.000 ***************** Security***************** Telnet setup is enabled TFTP download is enabled Port 77FEh is enabled Web Server is enabled Encryption is disabled Enhanced password is disabled ***************** Channel 1 ***************** Baudrate 9600, I/F Mode 4C, Flow 00 Port 10001 Remote IP Adr: --- none ---, Port 00000 Connect Mode: C0 Disconn Mode: 00 Flush Mode: 00 Change Setup : 0 Server configuration 1 Channel 1 configuration 6 Security 7 Factory defaults 8 Exit without save 9 Save and exit Your choice ? 0

6) Do not forget to choose option 9 for Save and exit to keep the configurations.

7) NOTE: If you make a mistake, hit Enter until you get back to the menu, choose 0 and retype the correct information.

8) For more information, see ARP and Telnet on page 77 of the UDS1100 User Guide:
http://www.lantronix.com/pdf/UDS1100_UG.pdf

9) For more information on choosing the number of host bits for the netmask, see Table 6-2 on page 39 of the UDS1100 User Guide and/or Lantronix Knowledge Base answer :

Link: Calculating host bits for CoBos subnet mask



[Originally Published On: 04/28/2003 03:12 PM]