Lantronix XPress DR+ manual Appendix C Alternative Methods of Assigning an IP Address, AutoIP

Page 106

Appendix C: Alternative Methods of Assigning an IP Address

Earlier chapters describe how to assign a static IP address using DeviceInstaller, Web- Manager, and Setup Mode (through a Telnet or serial connection). This section covers other methods for assigning an IP address over the network.

DHCP

The unit ships with a default IP address of 0.0.0.0, which automatically enables DHCP. If a DHCP server exists on the network, it provides the unit with an

IP address, gateway address, and subnet mask when the unit boots up.

You can use the DeviceInstaller software (if applicable) to search the network for the DHCP-assigned IP address and add it to the list of devices retrieved.

Note: This DHCP address does not appear in the unit’s Setup Mode or in Web Manager. You can determine your unit’s DHCP-assigned IP address in Monitor Mode. When you enter Monitor Mode from the serial port with network connection enabled and issue the NC (Network Communication) command, you see the unit’s IP configuration.

AutoIP

The unit ships with a default IP address of 0.0.0.0, which automatically enables

Auto IP within the unit. AutoIP is an alternative to DHCP that allows hosts to obtain an IP address automatically in smaller networks that may not have a DHCP server. A range of IP addresses (from 169.254.0.1 to 169.254.255.1) has been explicitly reserved for AutoIP-enabled devices. Do not use this range of Auto IP addresses over the Internet.

‹If your unit cannot find a DHCP server, and you have not manually assigned an IP address to it, the unit automatically selects an address from the AutoIP reserved range. Then, your unit sends out a (ARP) request to other nodes on the same network to see whether the selected address is being used.

‹If the selected address is not in use, the unit uses it for local subnet communication.

‹If another device is using the selected IP address, the unit selects another address from the AutoIP range and reboots. After reboot, the unit sends out another ARP request to see if the selected address is in use, and so on.

AutoIP does not replace DHCP. The unit continues to look for a DHCP server on the network. If it finds a DHCP server, the unit switches to the DHCP server-provided address and reboots.

Note: If a DHCP server is found, but it denies the request for an IP address, the unit does not attach to the network, but waits and retries.

XPress DR+ User Guide

106

Image 106
Contents XPress DR+ User Guide Technical Support Sales Offices Lantronix Corporate HeadquartersDate Rev Comments Contents Configuration Using Web Manager Using DeviceInstallerContents Setup Mode Server Configuration Configuration Using Telnet or Serial Port Setup ModeSetup Mode Channel Configuration Setup Mode Advanced Settings Expert Settings Option 5Troubleshooting and Technical Support Firmware UpgradesMonitor Mode Appendix D Binary to Hexadecimal Conversions 108Appendix F Warranty 115 Index 116 FiguresTables Summary of Chapters Using This GuidePurpose and Audience Chapter DescriptionUsing This Guide Additional DocumentationIntroduction Product DescriptionIntroduction XPress DR+ FrontIndustrial Automation Protocols Network Protocols Serial TunnelingXPress DR+ Application Examples Example of Serial TunnelingIP Address Addresses and Port NumbersHardware Address Port NumbersConfiguration Methods Lantronix Web Manager. See Configuration Using Web ManagerWhats in the Box? Installation and HardwarePhysically Connecting the XPress DR+ What Must the User Provide?Installation and Hardware XPress DR+ Front PanelSerial Interface Front of XPress DR+Serial Screw Terminal Pinout for RS422 4-Wire Screw Terminal Serial ConnectorsRJ45 Serial Connector Pinouts Serial Screw Terminal Pinout for RS485 2-WirePin RS-232 to Serial RJ45 Cable P/N DTE, 9-Pin XPress DR+ Female Serial RJ45Typical RJ45 Connector Ethernet Interface SignalsEthernet Interface Reset Switch Power RequirementsMulti-Drop Ethernet Connections RXD Activity LED TXD Activity LED Ethernet Link LED LEDsEthernet Activity LED Status Meaning DimensionsXPress DR+ LED Functions Wall Mount Bracket Product Information LabelApplication Examples XPress DR+WSerial Tunneling Network Serial Tunneling Infrastructure Ad Hoc NetworkXPress DR+W Physically Connecting the XPress DR+W Ad Hoc XPress DR+W ConnectionTypical XPress DR+W Configuration Front Panel DescriptionRequired Information for Initial Configuration XPress DR+W LED FunctionsWlan Settings Installing the XPress DR+W for Initial ConfigurationServer Configuration Option IP Address Subnet Mask GatewaySet Gateway IP Address Network Mode XPress DR+W onlyBootP/DHCP/AutoIP options Options BitNetmask Number of Bits for Host Part Wlan Configuration OptionChange Telnet Configuration Password Change Dhcp Device NameNetwork Name Ssid TopologyAdhoc Network Channel Hex Key Type Encryption KeyPassphrase WPA WPA2/802.11i Fixed or Automatic Data RateNext Steps Transmission Data RateTo install DeviceInstaller Using DeviceInstallerInstalling DeviceInstaller Assigning an IP AddressUsing DeviceInstaller Accessing the XPress DR+ Using DeviceInstallerViewing the Current Configuration To view the units current settingsSetting Description Supports Http Setup Supports ConfigurablePins Supports Dynamic IPAccessing XPress DR+ Using DeviceInstaller Configuration Using Web ManagerConfiguration Using Web Manager Network Configuration Lantronix Web ManagerAutoIP Automatic IP Address ConfigurationTo assign an IP address automatically Dhcp Host NameDefault Gateway Server ConfigurationStatic IP Address Configuration To assign an IP address manuallyTo configure the units device server settings Server ConfigurationAdvanced To configure the units host list Host List Configuration0x77FE Server Port MTU Size Retry Settings Channel ConfigurationSerial Settings To configure the channel’s serial settingsPort Settings ChannelFlush Input Buffer Serial to Network Pack ControlFlush Output Buffer Network to Serial Connection Settings TCP To configure a channel’s TCP settingsEndpoint Configuration Connect Mode Passive ConnectionConnect Mode Active Connection Connect ProtocolTo configure a channel’s UDP settings Connection Settings UDPDisconnect Mode Common OptionsDatagram Mode Datagram TypeWlan Configuration XPress DR+W only Device Address TableTo configure the XPress DR+W’s Wlan settings Wlan Settings Ad Hoc Network TypeNetwork Type Wireless Network ConfigurationNetwork Name Ssid ChannelWEP Options Wireless Network SecurityWPA Options Advanced Settings Applying SettingsApplying Factory Defaults WPA2/802.11i OptionsConfiguration Using Telnet or Serial Port Setup Mode Accessing Setup ModeSerial Port Connection Configuration Using Telnet or Serial Port Setup ModeTo establish a Telnet connection Exiting Setup Mode To exit setup modeSetup Mode Server Configuration Setup Mode Server Configuration Dhcp Name Channel 1 Option 1 and Channel 2 Option Setup Mode Channel ConfigurationBaudrate Mode Option Interface ModeSetup Mode Channel Configuration Common I/F Mode Setting Binary HexFlow Control Option Hex FlowPort Number Port Numbers Reserved forConnect Mode Connect Mode OptionResponse Incoming ConnectionActive Startup Connection Autostart AutomaticHostlist Datagram Type Modem ModeTo enable the hostlist Directed UDPMessage Meaning Modem Mode Function Command Modem Mode CommandsAuto Increment Source Port Send the Escape Sequence +++ in Modem ModeRemote IP Address Remote Port Disconnect Mode OptionDisconnect Mode Options DisConnModePack Control Flush Mode Buffer FlushingOption Trailing Characters DisConnTime Inactivity TimeoutPacking Interval Send CharactersSend Characters Channel Port PasswordWlan Settings XPress DR+W Only Telnet Terminal TypeTopology 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 ARP Cache timeout in seconds Setup Mode Advanced SettingsExpert Settings Option Disable Monitor Mode at bootupSetup Mode Advanced Settings Security Settings OptionEnable alternate MAC Http Port NumberDisable Tftp Firmware Upgrade Disable SnmpDisable Telnet Setup Disable Port 77FE HexDefault Settings Option Wlan Settings XPress DR+W only Expert SettingsSecurity Settings Topology AdHoc Network NameObtaining Firmware Reloading Firmware Firmware UpgradesUsing Tftp Graphical User Interface ROM FileFirmware Upgrades Using Tftp Command Line InterfaceTo recover firmware Firmware Upgrades Entering Monitor Mode Using the Network Port Monitor ModeEntering Monitor Mode Using the Serial Port Monitor Mode CommandsMonitor Mode Commands Monitor ModeCommand Command Name Function G0, G1, ....,Ge, GfCommand Response Codes Response MeaningProblem/Message Reason Solution Troubleshooting and Technical SupportProblems and Error Messages Problems and Error MessagesTroubleshooting and Technical Support XPress DR+ User Guide 101 Technical Support Technical Support Europe, Middle East, and AfricaAppendix a Technical Specifications XPress DR+ and XPress DR+W SpecificationsXPress DR+W Wireless Specifications Appendix a Technical SpecificationsCategory Ieee 802.11b/g Lantronix P/N Description Appendix B Lantronix Cables and AdaptersApplications Appendix C Alternative Methods of Assigning an IP Address AutoIPAppendix C Alternative Methods of Assigning an IP Address ARP and TelnetTo assign a temporary IP address Conversion Table Appendix D Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Scientific CalculatorAppendix D Binary to Hexadecimal Conversions Electromagnetic Emissions and Immunity XPress DR+ Appendix E Compliance InformationDeclaration of Conformity Emissions ImmunityRadio Appendix E Compliance InformationElectromagnetic Emissions and Immunity XPress DR+W USA Federal Communications Commission FCC Notice XPress DR+W Regulatory InformationCanada Industry Canada Notice Antenna Notice Europe R&TTE Directive 99/5/EC, Wireless NoticeExposure of Humans to RF Fields Australia & New Zealand Wireless Notice Appendix F Warranty Index