Digi TS 2/4, TS 4 Configuring the Ethernet Interface from the Command Line, About Dhcp and Rarp

Page 17

Configuring the Ethernet Interface from the Command Line

This section discusses how use the command line to configure an IP address, mask, and default gateway for Digi One/PortServer TS 2/4’s Ethernet interface.

Manual Configuration Procedure

1.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: set config ip=191.143.2.154

2.To configure a subnetmask, enter the following command: set config submask=mask

where mask is the subnet mask for this subnetwork Example: set config submask=255.255.255.0

3.To ensure that this address is permanent, turn DHCP off by entering the following command: set config dhcp=off

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

boot action=reset

Configuring an IP Address using DHCP and RARP

About DHCP and RARP

When the Digi One/PortServer TS 2/4 boots, it transmits a DHCP request and a RARP request. This continues until an address is assigned.

Procedure

To use RARP or DHCP follow these steps:

1.Set up an entry for an address on a DHCP or RARP server. If you intend to use RealPort, do the following:

Reserve a permanent IP address.

Record the IP address. You will need it when you configure the RealPort driver.

2.Power on the Digi One/PortServer TS 2/4.

The DHCP or RARP server assigns the Digi One/PortServer TS 2/4 an IP address.

Configuring the IP Address

2-5

Image 17
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page This Chapter IntroductionSetup Overview Supported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the Library Access Resource CD CardDownloading a Configuration File About Configuration MethodsLogging On As Root from the Command Line Configuration PrerequisitesAccessing the Command Line from a Telnet Session Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options Options for Configuring the IP Address and MaskStarting Point Configuring the Ethernet Interface with DPA-RemoteProcedure Configuring the IP Address Using Ping-ARP Configuring an IP Address using Dhcp and Rarp Configuring the Ethernet Interface from the Command LineManual Configuration Procedure Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort Configuring the RealPort Software What is RealPort?Configuration Options About RealPortConfiguring Ports Web Interface Example Configuring Ports for RealPort Command LineConfiguring Ports for Printers Configuration Considerations Configuring Printer Connections Command Line Configuring Ports for Printers Web InterfaceTips for telnet and rsh Printing Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Port Defaults Configuring Ports for Terminals Web InterfaceConfiguring Ports for Terminals Command Line About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Autoconnection About Autoconnection Configuring a Port for Autoconnection Web InterfaceConfiguring Autoconnection By Port Command Line Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Types of Routing What is RoutingIntroduction to Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using a PPP Link Configuring Static RoutesExample Route Using the Ethernet Interface Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management About Console Management Configuring Console Management Web InterfaceConfiguring Console Management Command Line Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Examples Configuring Network-Connected MastersConfiguring a Port-Connected Master Configuring Security Features Default Access Restrictions Controlling Access to Inbound PortsOptions for Removing Access Restriction Procedure for Changing a Port’s Access RequirementsDefault Access Controlling Access to Outbound PortsRestricting Access to Outbound Ports Method 1 AutoconnectionIssuing User Passwords Using a Public Key Configuring SSH Version 2 for Secure CommunicationPassword Protection 12-6 Configuring DNS About the Domain Name System Procedure for Using a Host File Configuration ProceduresProcedure for Using a Name Server 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Example Configuration Procedure Web InterfaceConfiguration Procedure Command Line 14-4 Configuring Users Common User Features About Configuring UsersConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineWhen To Use Remote Configuration Configuring Digi One/PortServer TS 2/4 from a Remote HostRules for Editing a Configuration file Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Configuration Terminal Server Configuration Without RealPortConfiguration Notes IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Procedures Symptom Digi One/PortServer TS 2/4 Does Not BootAssumptions Symptom Cannot Telnet to the Digi One/PortServer TS 2/4Running Digi One/PortServer TS 2/4 Customer Diagnostics Symptom Trouble Accessing a PortVerifying Tftp on a Unix System Troubleshooting Tftp ProblemsKey to Interpreting Digi One/PortServer TS 2/4 LEDs Kill -1inetdPID Pinging an IP Address Verifying the Digi One/PortServer TS 2/4 IP AddressChecking for Duplicate IP Addresses Verifying the Network Cabling AIX Verifying the RealPort Process Verifying the RealPort ProcessHP-UX Verifying the RealPort Process Linux Verifying the RealPort ProcessSolaris Verifying the RealPort Process Windows NT Verifying the RealPort ServiceWindows 2000 Verifying the RealPort Service Digi International Bren Road East Minnetonka, MN Digi Contact Information18-12