Digi W manual Configuring the Ethernet Interface from the Command Line

Page 21

4.Ping the Digi device using the IP address just assigned. The following is an example:

ping 143.191.2.1

The ping will probably time out before there is a response from the Digi device.

5. Wait a few seconds and then ping the Digi device again.

The Digi device replies to the ping, indicating that the IP address has been configured.

Configuring the Ethernet Interface from the Command Line

This section discusses how to use the command line to configure an IP address, mask, and default gateway for the device server’s Ethernet interface.

Manual Configuration Procedure

1.To ensure that the IP address you configure is permanent, turn DHCP off by entering the following command:

set config dhcp=off

2.To configure an IP address for the Ethernet interface, enter the following command:

set config ip=ip-address

where ip-addressis the IP address for the Ethernet interface

Example to Set IP Address

set config ip=191.143.2.154

3. To configure a subnet mask, enter the following command:

set config submask=mask

where mask is the subnet mask for this subnetwork

Example to Set Subnet Mask

set config submask=255.255.255.0

4. To configure a default gateway, enter the following command:

set config gateway=ip-address

where ip-addressis the IP address of the default gateway

Example to Set Gateway Mask

set config gateway=191.143.2.46

5. Reboot the Digi device at the prompt using the following command:

boot action=reset

Manual Configuration Example

In this example set config commands configure the Ethernet interface and the boot command reboot the Digi device, which is required for the address change to take affect.

set config ip=192.150.150.10 submask=255.255.255.0 dhcp=off

set config gateway=192.150.150.11

Chapter 5 Configuring the IP Address

21

Image 21
Contents Digi TS W Family 9000329B Configuring the IP Address Chapter Configuring WirelessN t e n t s Chapter IntroductionConfiguring the Serial Ports Setting Up RealPortChapter Configuring PPP Chapter Configuring AutoconnectionConfiguring Security Features Configuring IP RoutingConfiguring DNS Configuring the Digi Device for IAIndustrial AutomationConfiguring Snmp Configuring UsersReference and Certifications Configuring Power Over the Serial PortsContents T r o d u c t i o n Setup OverviewSupported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites N f i g u r i n g W i r e l e s s Configuration ConsiderationsSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless N f i g u r i n g t h e I P a d d r e s s Options for Configuring the IP Address and MaskConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp About RealPort T t i n g U p R e a l P o r tSetting Up RealPort Configuring the Serial Port Settings with the Web Interface Options for Configuring the Serial PortsConfiguring the Serial Port Settings from the Command Line N f i g u r i n g P P P Configuring Inbound PPP ConnectionsConfiguring Outbound PPP Connections Command Line Configuring Inbound PPP Connections ExampleProcedure Sample Use the following table for additional configurations Configuring PPP D e m E m u l a t i o n Modem Emulation Digi One TS and PortServer TS 2/4 MEI onlyCommon User Scenarios Serial Device Digi Device Server Modem Emulation Cable SignalsApplication AT Com Digi Device Server Response Mand Originating, Answering, and Disconnecting CallsServer. P represents a one second pause Code Modem Emulation AT Command Set Function ResultATP Function ResultATXn Accepted but ignored There is no Nvram support currently AT+MS Ascii Registers Function Range Units Saved DefaultRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Commands for Configuring Autoconnection by Port or by User Configuring a Port for Autoconnection Web InterfaceConfiguring a User for Autoconnection Web Interface N f i g u r i n g a u t o c o n n e c t i o nConfiguring UDP Multicast Configuring TCP Socket CommunicationClick Serial Ports Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection N f i g u r i n g I P R o u t i n g Configuring Static RoutesConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing Controlling Access to the Configuration Controlling Access to Inbound PortsN f i g u r i n g S e c u r i t y F e a t u r e s Controlling Access to the Command Line Controlling Access to Outbound PortsIssuing User Passwords Configuring SSH Version 2 for Secure CommunicationDevice Required Hardware Firmware Http Controlling Access to ServicesSnmp SSH Configuring Security Features Configuring the User-Defined Protocol Configuring ModbusConfiguring the Digi Device for IA Industrial Automation About the Domain Name System N f i g u r i n g D N SConfiguration Procedures About Snmp and the Device Server Agent N f i g u r i n g S N M PMIB Configuration Procedure Web InterfaceCommon User Features About Configuring UsersFeature Description Set user Field N f i g u r i n g U s e r sConfiguring a User Web Interface Commands for Configuring a UserClick New User Upgrading the Firmware Copying the Configuration to and from a Remote HostResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Configuring RI Power Serial Power FeatureConfiguring DTR Power DTR on DTR OFF Serial Power TableConfiguring Power Over the Serial Ports F e r e n c e a n d C e r t i f i c a t i o n s Interpreting the LEDsColor State Indicates RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Environmental CertificationsDigi Contact Information Digi Contacts Reference and Certifications