Lantronix XPress DR+ ARP and Telnet, Appendix C Alternative Methods of Assigning an IP Address

Page 107

Appendix C: Alternative Methods of Assigning an IP Address

You can disable AutoIP by setting the unit’s IP address to 0.0.1.0. This setting enables DHCP but disables AutoIP.

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

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

XPress DR+ User Guide

107

Image 107
Contents XPress DR+ User Guide Date Rev Comments Lantronix Corporate HeadquartersTechnical Support Sales Offices Contents Contents Using DeviceInstallerConfiguration Using Web Manager Setup Mode Channel Configuration Configuration Using Telnet or Serial Port Setup ModeSetup Mode Server Configuration Expert Settings Option 5 Setup Mode Advanced SettingsAppendix D Binary to Hexadecimal Conversions 108 Firmware UpgradesMonitor Mode Troubleshooting and Technical SupportFigures Appendix F Warranty 115 Index 116Tables Chapter Description Using This GuidePurpose and Audience Summary of ChaptersAdditional Documentation Using This GuideProduct Description IntroductionXPress DR+ Front IntroductionNetwork Protocols Serial Tunneling Industrial Automation ProtocolsExample of Serial Tunneling XPress DR+ Application ExamplesPort Numbers Addresses and Port NumbersHardware Address IP AddressLantronix Web Manager. See Configuration Using Web Manager Configuration MethodsWhat Must the User Provide? Installation and HardwarePhysically Connecting the XPress DR+ Whats in the Box?XPress DR+ Front Panel Installation and HardwareFront of XPress DR+ Serial InterfaceSerial Screw Terminal Pinout for RS485 2-Wire Screw Terminal Serial ConnectorsRJ45 Serial Connector Pinouts Serial Screw Terminal Pinout for RS422 4-WireDTE, 9-Pin XPress DR+ Female Serial RJ45 Pin RS-232 to Serial RJ45 Cable P/NEthernet Interface Ethernet Interface SignalsTypical RJ45 Connector Multi-Drop Ethernet Connections Power RequirementsReset Switch Ethernet Activity LED LEDsRXD Activity LED TXD Activity LED Ethernet Link LED XPress DR+ LED Functions DimensionsStatus Meaning Product Information Label Wall Mount BracketSerial Tunneling Network XPress DR+WApplication Examples XPress DR+W Ad Hoc NetworkSerial Tunneling Infrastructure Ad Hoc XPress DR+W Connection Physically Connecting the XPress DR+WFront Panel Description Typical XPress DR+W ConfigurationXPress DR+W LED Functions Required Information for Initial ConfigurationIP Address Subnet Mask Gateway Installing the XPress DR+W for Initial ConfigurationServer Configuration Option Wlan SettingsOptions Bit Network Mode XPress DR+W onlyBootP/DHCP/AutoIP options Set Gateway IP AddressChange Dhcp Device Name Wlan Configuration OptionChange Telnet Configuration Password Netmask Number of Bits for Host PartAdhoc Network Channel TopologyNetwork Name Ssid Passphrase Key Type Encryption KeyHex WPA Fixed or Automatic Data Rate WPA2/802.11iTransmission Data Rate Next StepsAssigning an IP Address Using DeviceInstallerInstalling DeviceInstaller To install DeviceInstallerTo view the units current settings Accessing the XPress DR+ Using DeviceInstallerViewing the Current Configuration Using DeviceInstallerSetting Description Supports Dynamic IP Supports ConfigurablePins Supports Http SetupConfiguration Using Web Manager Configuration Using Web ManagerAccessing XPress DR+ Using DeviceInstaller Lantronix Web Manager Network ConfigurationDhcp Host Name Automatic IP Address ConfigurationTo assign an IP address automatically AutoIPTo assign an IP address manually Server ConfigurationStatic IP Address Configuration Default GatewayAdvanced Server ConfigurationTo configure the units device server settings 0x77FE Server Port MTU Size Host List ConfigurationTo configure the units host list To configure the channel’s serial settings Channel ConfigurationSerial Settings Retry SettingsChannel Port SettingsFlush Output Buffer Network to Serial Pack ControlFlush Input Buffer Serial to Network To configure a channel’s TCP settings Connection Settings TCPConnect Protocol Connect Mode Passive ConnectionConnect Mode Active Connection Endpoint ConfigurationCommon Options Connection Settings UDPDisconnect Mode To configure a channel’s UDP settingsDatagram Type Datagram ModeDevice Address Table Wlan Configuration XPress DR+W onlyWlan Settings Ad Hoc Network Type To configure the XPress DR+W’s Wlan settingsChannel Wireless Network ConfigurationNetwork Name Ssid Network TypeWPA Options Wireless Network SecurityWEP Options WPA2/802.11i Options Applying SettingsApplying Factory Defaults Advanced SettingsAccessing Setup Mode Configuration Using Telnet or Serial Port Setup ModeTo establish a Telnet connection Configuration Using Telnet or Serial Port Setup ModeSerial Port Connection To exit setup mode Exiting Setup ModeSetup Mode Server Configuration Setup Mode Server Configuration Dhcp Name Baudrate Setup Mode Channel ConfigurationChannel 1 Option 1 and Channel 2 Option Common I/F Mode Setting Binary Hex Interface ModeSetup Mode Channel Configuration Mode OptionPort Numbers Reserved for FlowPort Number Flow Control Option HexConnect Mode Option Connect ModeActive Startup Incoming ConnectionResponse Hostlist Autostart AutomaticConnection Directed UDP Modem ModeTo enable the hostlist Datagram TypeMessage Meaning Modem Mode Commands Modem Mode Function CommandRemote IP Address Send the Escape Sequence +++ in Modem ModeAuto Increment Source Port DisConnMode Disconnect Mode OptionDisconnect Mode Options Remote PortOption Flush Mode Buffer FlushingPack Control Send Characters DisConnTime Inactivity TimeoutPacking Interval Trailing CharactersTelnet Terminal Type Channel Port PasswordWlan Settings XPress DR+W Only Send CharactersTopology 0=Infrastructure, 1=Adhoc 0 ? WEP WEP64 or 13 WEP128 bytes and limits the number of key TX Data rate 0=fixed, 1=auto fallback 1 ? Enable Power Management Disable Monitor Mode at bootup Setup Mode Advanced SettingsExpert Settings Option ARP Cache timeout in secondsHttp Port Number Security Settings OptionEnable alternate MAC Setup Mode Advanced SettingsDisable Port 77FE Hex Disable SnmpDisable Telnet Setup Disable Tftp Firmware UpgradeDefault Settings Option Topology AdHoc Network Name Expert SettingsSecurity Settings Wlan Settings XPress DR+W onlyROM File Firmware UpgradesUsing Tftp Graphical User Interface Obtaining Firmware Reloading FirmwareTo recover firmware Using Tftp Command Line InterfaceFirmware Upgrades Firmware Upgrades Monitor Mode Commands Monitor ModeEntering Monitor Mode Using the Serial Port Entering Monitor Mode Using the Network PortG0, G1, ....,Ge, Gf Monitor ModeCommand Command Name Function Monitor Mode CommandsResponse Meaning Command Response CodesProblems and Error Messages Troubleshooting and Technical SupportProblems and Error Messages Problem/Message Reason SolutionTroubleshooting and Technical Support XPress DR+ User Guide 101 Technical Support Europe, Middle East, and Africa Technical SupportXPress DR+ and XPress DR+W Specifications Appendix a Technical Specifications Category Ieee 802.11b/g Appendix a Technical Specifications XPress DR+W Wireless Specifications Applications Appendix B Lantronix Cables and AdaptersLantronix P/N Description AutoIP Appendix C Alternative Methods of Assigning an IP AddressTo assign a temporary IP address ARP and TelnetAppendix C Alternative Methods of Assigning an IP Address Scientific Calculator Appendix D Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Conversion TableAppendix D Binary to Hexadecimal Conversions Emissions Immunity Appendix E Compliance InformationDeclaration of Conformity Electromagnetic Emissions and Immunity XPress DR+Electromagnetic Emissions and Immunity XPress DR+W Appendix E Compliance InformationRadio Canada Industry Canada Notice XPress DR+W Regulatory InformationUSA Federal Communications Commission FCC Notice Exposure of Humans to RF Fields Europe R&TTE Directive 99/5/EC, Wireless NoticeAntenna Notice Australia & New Zealand Wireless Notice Appendix F Warranty Index