Lantronix 900-653-R manual Appendix D Alternative Ways to Assign an IP Address, AutoIP

Page 77

Appendix D: Alternative Ways to Assign 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 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, then 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.

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

xDirect User Guide

77

Image 77
Contents User Guide Copyright & Trademark WarrantyContacts DisclaimerUsing this Guide Table of ContentsInstallation of xDirect Using DeviceInstallerConfiguration Via Telnet or Serial Port Setup Mode Configuration Using Web ManagerSetup Mode Channel Configuration Setup Mode Server ConfigurationMonitor Mode Setup Mode Advanced SettingsFirmware Upgrades Appendix B Connections and Pinouts Appendix a Troubleshooting and Contact InfoAppendix E Binary to Hexadecimal Conversions Appendix F ComplianceSerial Tunneling Example List of FiguresList of Tables Chapter Summary Using this GuidePurpose and Audience Document Description Additional DocumentationApplications Key FeaturesIntroduction Introduction Protocol Support Additional FeaturesConfiguration Methods Product Label Product Information LabelInstalling the xDirect Installation of xDirectPackage Contents IP Address Required InformationHardware Address Installing DeviceInstaller Using DeviceInstallerTo install DeviceInstaller Assigning an IP AddressViewing the Current Configuration Accessing the xDirect Using DeviceInstallerTo view the units current settings XDirect Configuration in DeviceInstallerComments Supports Configurable PinsDevice Family TypeNext Step Assigning the IP Address Serial Port LoginAccessing xDirect Using DeviceInstaller Configuration Using Web ManagerConfiguration Using Web Manager Network Mode Network ConfigurationAutomatic IP Address Configuration To assign an IP address automaticallyEthernet Configuration Static IP Address ConfigurationSelect Use the following IP configuration To assign an IP address manuallyTo configure the xDirect device server settings Server ConfigurationCPU Performance Mode Monitor Mode @ BootupConfig Server Port Timeout msTo configure the host list Host List ConfigurationRetry Timeout Retry CounterTo configure the channel’s serial settings Channel 1 ConfigurationSerial Settings Baud Rate Enable PackingData Bits ParityAccept Incoming Connection Settings TCPTo configure a channel’s TCP settings Modem Mode Password RequiredModem Escape Sequence Pass ThroughTo configure a channel’s UDP settings Connection Settings UDPDevice Address Table Datagram TypeUse Broadcast Apply Defaults Apply SettingsAccessing Setup Mode Configuration Via Telnet or Serial Port Setup ModeTelnet Connection To establish a Telnet connectionPassword Press Enter for Setup Mode Serial Port Connection Exiting Setup ModeTwo options through which to exit setup mode Server Configuration Option Setup Mode Server ConfigurationBootP/DHCP/AutoIP options IP AddressNetmask Number of Bits for Host Part Set Gateway IP AddressSet DNS Server IP Address Standard IP Network NetmasksDhcp Name Change Telnet Configuration PasswordBaudrate Setup Mode Channel ConfigurationChannel 1 Option Interface Mode Options Interface ModeCommon Interface Mode Settings FlowPort Number Connect ModeFlow Control Options Reserved Port NumbersIncoming Connection Connect Mode OptionsConnect Mode Option Manual Connection Address Example ResponseActive Startup C0.0.0.0/0 Host List Option HostlistAutostart Automatic ConnectionTo enable the hostlist Modem ModeDatagram Type Directed UDPMessage Meaning Modem Mode Messages10 Modem Mode Commands Send the Escape Sequence +++ in Modem ModeModem Mode Function Command Show IP Address after RingAuto Increment Source Port Disconnect Mode DisConnModeRemote IP Address Remote Port12 Flush Mode Options Flush Mode Buffer Flushing11 Disconnect Mode Options Packing Interval Pack ControlTrailing Characters Send CharactersChannel Port Password DisConnTime Inactivity TimeoutSend Characters Telnet Terminal TypeExpert Settings Option Setup Mode Advanced SettingsARP Cache Timeout In Seconds TCP Keepalive Time In SecondsSecurity Settings Option Snmp Community Name Disable SnmpDisable Telnet Setup Disable Port 77FE Hex Disable Tftp Firmware UpdateDisable Web Server Disable Web SetupEnable Enhanced Password Default Settings OptionExpert Settings Defaults Channel 1 Configuration DefaultsSecurity Settings Defaults Setup Mode Advanced SettingsUsing Tftp Graphical User Interface Firmware UpgradesObtaining Firmware Reloading Firmware Firmware FilesTo recover firmware Using Tftp Command Line InterfaceFirmware Upgrades Entering Monitor Mode Using the Serial Port Monitor ModeEntering Monitor Mode Using the Network Port To enter Monitor Mode locallyMonitor Mode Commands Monitor Mode CommandsCommand Command Name Function G0, G1, ....,Ge, GfResponse Meaning Command Response CodesLEDs Appendix a Troubleshooting and Contact InfoStatus LED Table A-2 Status LEDRJ45 Ethernet LED Problems and Error MessagesSerial LEDs Using DeviceInstaller Serial Settings on page 29 or Europe, Middle East and Africa Technical SupportUnited States Serial Port Pinouts Appendix B Connections and PinoutsTable B-6 Ethernet RJ45 Connector Pin-Outs Ethernet Connector PinoutsPower Jack Mini USB-B Category Description Appendix C Technical SpecificationsTable C-1 xDirect Technical Specifications Appendix C Technical Specifications AutoIP Appendix D Alternative Ways to Assign an IP AddressTo assign a temporary IP address ARP and TelnetConverting Binary to Hexadecimal Appendix E Binary to Hexadecimal ConversionsConversion Table Scientific CalculatorAppendix E Binary to Hexadecimal Conversions Appendix F Compliance SafetyManufacturer’s Name & Address Electromagnetic EmissionsRoHS Notice Appendix F Compliance