Lantronix 900-653-R manual ARP and Telnet, To assign a temporary IP address

Page 78

Appendix D: Alternative Ways to Assign an IP Address

BOOTP

Similar to DHCP, but for smaller networks. Automatically assigns the IP address for a specific duration of time.

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 (Unix)

arp -s 191.12.3.77 00-20-4a-xx-xx-xx (Windows)

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 -Aat 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 fails quickly, but the unit temporarily changes its IP address to the one designated in this step.

telnet 191.12.3.77 1

4.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

Note: The IP address you just set is temporary and reverts to the default value when the unit’s power is reset, unless you configure the unit with a static IP address and store the changes permanently.

xDirect User Guide

78

Image 78
Contents User Guide Contacts WarrantyCopyright & Trademark DisclaimerInstallation of xDirect Table of ContentsUsing this Guide Using DeviceInstallerConfiguration Using Web Manager Configuration Via Telnet or Serial Port Setup ModeSetup Mode Server Configuration Setup Mode Channel ConfigurationSetup Mode Advanced Settings Firmware UpgradesMonitor Mode Appendix E Binary to Hexadecimal Conversions Appendix a Troubleshooting and Contact InfoAppendix B Connections and Pinouts Appendix F ComplianceList of Figures Serial Tunneling ExampleList of Tables Using this Guide Purpose and AudienceChapter Summary Additional Documentation Document DescriptionKey Features IntroductionApplications Introduction Additional Features Configuration MethodsProtocol Support Product Information Label Product LabelInstallation of xDirect Package ContentsInstalling the xDirect Required Information Hardware AddressIP Address To install DeviceInstaller Using DeviceInstallerInstalling DeviceInstaller Assigning an IP AddressTo view the units current settings Accessing the xDirect Using DeviceInstallerViewing the Current Configuration XDirect Configuration in DeviceInstallerDevice Family Supports Configurable PinsComments TypeAssigning the IP Address Serial Port Login Next StepConfiguration Using Web Manager Accessing xDirect Using DeviceInstallerConfiguration Using Web Manager Automatic IP Address Configuration Network ConfigurationNetwork Mode To assign an IP address automaticallySelect Use the following IP configuration Static IP Address ConfigurationEthernet Configuration To assign an IP address manuallyServer Configuration To configure the xDirect device server settingsConfig Server Port Monitor Mode @ BootupCPU Performance Mode Timeout msRetry Timeout Host List ConfigurationTo configure the host list Retry CounterChannel 1 Configuration Serial SettingsTo configure the channel’s serial settings Data Bits Enable PackingBaud Rate ParityConnection Settings TCP To configure a channel’s TCP settingsAccept Incoming Modem Escape Sequence Password RequiredModem Mode Pass ThroughConnection Settings UDP To configure a channel’s UDP settingsDatagram Type Use BroadcastDevice Address Table Apply Settings Apply DefaultsTelnet Connection Configuration Via Telnet or Serial Port Setup ModeAccessing Setup Mode To establish a Telnet connectionPassword Press Enter for Setup Mode Exiting Setup Mode Two options through which to exit setup modeSerial Port Connection BootP/DHCP/AutoIP options Setup Mode Server ConfigurationServer Configuration Option IP AddressSet DNS Server IP Address Set Gateway IP AddressNetmask Number of Bits for Host Part Standard IP Network NetmasksChange Telnet Configuration Password Dhcp NameSetup Mode Channel Configuration Channel 1 OptionBaudrate Common Interface Mode Settings Interface ModeInterface Mode Options FlowFlow Control Options Connect ModePort Number Reserved Port NumbersConnect Mode Options Connect Mode OptionIncoming Connection Response Active StartupManual Connection Address Example Autostart Automatic Host List Option HostlistC0.0.0.0/0 ConnectionDatagram Type Modem ModeTo enable the hostlist Directed UDPModem Mode Messages Message MeaningModem Mode Function Command Send the Escape Sequence +++ in Modem Mode10 Modem Mode Commands Show IP Address after RingRemote IP Address Disconnect Mode DisConnModeAuto Increment Source Port Remote PortFlush Mode Buffer Flushing 11 Disconnect Mode Options12 Flush Mode Options Trailing Characters Pack ControlPacking Interval Send CharactersSend Characters DisConnTime Inactivity TimeoutChannel Port Password Telnet Terminal TypeARP Cache Timeout In Seconds Setup Mode Advanced SettingsExpert Settings Option TCP Keepalive Time In SecondsSecurity Settings Option Disable Snmp Disable Telnet SetupSnmp Community Name Disable Web Server Disable Tftp Firmware UpdateDisable Port 77FE Hex Disable Web SetupDefault Settings Option Enable Enhanced PasswordSecurity Settings Defaults Channel 1 Configuration DefaultsExpert Settings Defaults Setup Mode Advanced SettingsObtaining Firmware Reloading Firmware Firmware UpgradesUsing Tftp Graphical User Interface Firmware FilesUsing Tftp Command Line Interface To recover firmwareFirmware Upgrades Entering Monitor Mode Using the Network Port Monitor ModeEntering Monitor Mode Using the Serial Port To enter Monitor Mode locallyCommand Command Name Function Monitor Mode CommandsMonitor Mode Commands G0, G1, ....,Ge, GfCommand Response Codes Response MeaningStatus LED Appendix a Troubleshooting and Contact InfoLEDs Table A-2 Status LEDProblems and Error Messages Serial LEDsRJ45 Ethernet LED Using DeviceInstaller Serial Settings on page 29 or Technical Support United StatesEurope, Middle East and Africa Appendix B Connections and Pinouts Serial Port PinoutsEthernet Connector Pinouts Table B-6 Ethernet RJ45 Connector Pin-OutsPower Jack Mini USB-B Appendix C Technical Specifications Table C-1 xDirect Technical SpecificationsCategory Description Appendix C Technical Specifications Appendix D Alternative Ways to Assign an IP Address AutoIPARP and Telnet To assign a temporary IP addressConversion Table Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Scientific CalculatorAppendix E Binary to Hexadecimal Conversions Manufacturer’s Name & Address SafetyAppendix F Compliance Electromagnetic EmissionsAppendix F Compliance RoHS Notice