DIGIPORT - Configuración
DIGIPORT - Configuración
DIGIPORT - Configuración
92000307_B
The Digi logo is a trademark of Digi International.
All other brand and product names are trademarks of their respective holders.
© Digi International Inc., 1998, 2000, 2001, 2002. All Rights Reserved
http://www.digi.com
Information in this document is subject to change without notice and does not represent a
commitment on the part of Digi International.
Digi provides this document “as is”, without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of fitness or merchantability for a particular
purpose. Digi may make improvements and/or changes in this manual or in the product(s) and/or the
program(s) described in this manual at any time.
This product could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes may be incorporated in new editions of the
publication.
Contents
Chapter 1 Introduction
Setup Overview.................................................................................................... 1-2
About This Guide................................................................................................. 1-3
About Entering Commands on the Command Line............................................. 1-3
Supported Devices ............................................................................................... 1-3
Other Documents in the Library .......................................................................... 1-4
About Configuration Methods ............................................................................. 1-5
Configuration Prerequisites.................................................................................. 1-6
i
Chapter 6 Configuring Ports for Modems
Tips on Configuring A Modem............................................................................ 6-2
Configuring Ports for Modems: Web Interface ................................................... 6-3
Configuring Ports for Incoming Modem Connections: Command Line ............. 6-3
Configuring Ports for Outgoing/Bi-Directional Connections: Command Line... 6-4
ii
Resetting the Configuration to Defaults............................................................. 14-6
iii
iv
Chapter 1 Introduction
In This Chapter
This chapter provides a brief introduction on setting up your Digi device. It discusses the following
topics:
• Setup Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
• About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
• About Entering Commands on the Command Line . . . . . . . . . . . . . . . . . . . . . . 1-3
• Supported Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
• Other Documents in the Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
• About Configuration Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
• Configuration Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Introduction 1-1
Setup Overview
This section provides an overview of the setup process.
Step A: Plan
Before beginning setup, consider the following:
• How to assign an IP address to the Digi device’s Ethernet interface, which can be accomplished
in a number of ways. See "Configuring the IP Address" on page 2-1.
• How to configure serial ports. A key consideration is whether to use RealPort. Other consider-
ations include the type of peripheral that will connect to the port and the peripheral’s cabling
requirements. See "Configuring Ports for RealPort" on page 3-1 and the online RealPort driver
documentation and Cable Guide, both of which are on the Access Resource CD.
• The various ways that your Digi device can be configured. See "About Configuration Methods"
on page 1-5 and "Configuration Prerequisites" on page 1-6 for more information.
Audience
This manual is intended for the person responsible for configuring and administering PortServer TS
8/16. It assumes that this person has experience configuring network devices and is familiar with
networking concepts.
Scope
This manual provides step-by-step instructions for configuring and administering PortServer TS
8/16’s main features. It does not address how to configure every option, provide complete
information on commands, or discuss hardware installation. These topics are covered in other
documents in the PortServer TS 8/16 library.
Supported Devices
This manual provides information on the following Digi devices:
• PortServer TS 8
• PortServer TS 16
Introduction 1-3
Other Documents in the Library
Here is a list of the other documents in the library:
Access Resource CD Card
This card provides information on the contents of the Access Resource CD. It includes the CD
mounting instructions required to access the CD on many Unix systems.
PortServer TS 8/16 Setup Card
This card, which comes in the PortServer TS 8/16 package, provides a brief overview on the setup
process.
Digi One/PortServer TS Command Reference
This online manual, available on the Access Resource CD, provides complete information on
commands.
RealPort Setup Guides
These online manuals provide information on setting up servers for RealPort software.
Digi Port Authority - Remote Device Monitor Setup Guide
This online manual provides information on installing and using Digi Port Authority - Remote
software.
Introduction 1-5
Configuration Prerequisites
Accessing the Command Line from a Locally-Connected Terminal
Use this procedure to access the command line and the configuration from a terminal connected to
one of the PortServer TS 8/16’s serial ports.
1. To Telnet to the PortServer TS 8/16, enter the following command from a command prompt on
another networked device, such as a server:
telnet ip-address
where ip-address is the PortServer TS 8/16’s IP address
Example: telnet 192.3.23.5
2. Log in as the root user. The default password is dbps.
1. Access the PortServer TS 8/16 from a web browser by specifying the PortServer TS 8/16’s IP
address in the URL window.
2. Log on as root. The default password is dbps.
In This Chapter
This chapter discusses how to configure PortServer TS 8/16’s IP address and other features
associated with its Ethernet interface. It discusses the following topics:
• Options for Configuring the IP Address and Mask . . . . . . . . . . . . . . . . . . . . . . 2-2
• Configuring the Ethernet Interface with DPA-Remote . . . . . . . . . . . . . . . . . . . 2-3
• Configuring the IP Address Using Ping-ARP . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
• Configuring the Ethernet Interface from the Command Line . . . . . . . . . . . . . . 2-5
• Configuring an IP Address using DHCP and RARP. . . . . . . . . . . . . . . . . . . . . 2-5
Starting Point
This procedure assumes the following:
• That your Digi device supports this feature. See "Devices That Support DPA-Remote and Ping-
ARP for IP Address Configuration" on page 2-2.
• That your Digi device is connected to the Ethernet network
• That the Digi device has DHCP client turned on. This is the default setting, so it will be on
unless it was turned off.
• That you do not have a DHCP server to serve IP address. If you do, use the DHCP procedure.
See "Configuring an IP Address using DHCP and RARP" on page 2-5.
• That you have installed DPA-Remote version 2.01.11or later. For information on installing DPA-
Remote, see the Digi Port Authority Remote Device Monitor Setup Guide, which is on the
Access Resource CD.
Procedure
1. Run DPA-Remote.
2. If DPA-Remote is not set for ADDP, choose ADDP as the Discovery Protocol.
3. Choose Discover.
A list of Digi devices appears. Systems with IP addresses of 0.0.0.0 need IP addresses.
4. Select a device from the list and then choose Configure.
5. Supply an IP address, subnet mask and default gateway and then choose OK.
DPA-Remote configures the IP address, subnet mask and default gateway.
Starting Point
This procedure assumes the following:
• That your Digi device supports this feature. See "Devices That Support DPA-Remote and Ping-
ARP for IP Address Configuration" on page 2-2.
• That your Digi device is connected to the Ethernet network
Procedure
1. Record the MAC address of the Digi device. It’s on the back of the unit.
2. Access a server on the same subnet as the Digi device.
3. Manually update the server’s ARP table using the Digi device’s MAC address and the IP address
you want assigned to the Digi device. The following is an example of how this is done on a Win-
dows NT 4.0 system:
arp -s 143.191.2.1 00-40-9d-22-23-60
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.
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 PortServer TS 8/16.
The DHCP or RARP server assigns the PortServer TS 8/16 an IP address.
In This Chapter
This chapter describes how to configure PortServer TS 8/16 for RealPort connections. It discusses
the following topics:
• About RealPort. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
• Configuring Ports: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
• Configuring Ports for RealPort: Command Line . . . . . . . . . . . . . . . . . . . . . . . . 3-4
• Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
What is RealPort?
RealPort is a feature that allows network-based host systems to use the ports of the PortServer TS
8/16 as though they were the host system’s own ports, appearing and behaving as local ports to the
network-based host.
RealPort Advantages
RealPort provides the following advantages:
• It expands the number of ports available to the host system.
• It enables PortServer TS 8/16 ports to be treated as if they were directly connected to the host,
which means they use all standard operating system interfaces that control baud rate, parity, stop
bits, and flow control.
• It enables host administrators to do most of the required configuration on the host, the system
with which the administrator is most familiar.
• It dramatically reduces host CPU overhead because multiple terminal or printer sessions are
multiplexed over the same TCP/IP connection.
Configuration Options
You can configure PortServer TS 8/16 for RealPort from the command line or using the web
interface. For information on using the web interface, see "Configuring Ports: Web Interface" on
page 3-3.
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, select Configure > RealPort.
A screen similar to the following appears.
Procedure
Use this procedure to use the command line to configure PortServer TS 8/16 for RealPort.
This procedure assumes that you have signed on as root and have or will
• Install RealPort software on each RealPort host. See the appropriate RealPort documentation for
more information.
• Properly cabled PortServer TS 8/16 ports and devices.
• Set up the devices connected to PortServer TS 8/16 ports
Example
In this example, all ports are configured for RealPort.
set tcp realport=771
set ports range=* dev=rp
In This Chapter
This chapter describes how to configure PortServer TS 8/16 ports for printer connections. It
discusses the following topics:
• Configuration Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
• Configuring Ports for Printers: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
• Configuring Printer Connections: Command Line . . . . . . . . . . . . . . . . . . . . . . 4-3
• Configuring a Port for Direct-Access Printing. . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Using RealPort
RealPort, a feature that allows network-based host systems to use the ports of the PortServer TS
8/16 as though they were the host system’s own ports, is an easy and efficient way for printers to use
PortServer TS 8/16 ports. For information on this option, see "Configuring Ports for RealPort" on
page 3-1.
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, choose Configure > Ports.
4. To configure a port, do the following:
a. Choose the port from the port column.
b. Ensure that the Device Type is Printer.
c. Make other changes to the configuration as required. Use the online help for information.
d. If you want to apply this configuration to multiple ports, choose Clone, select the ports for
this configuration, and then choose Continue.
e. Choose Submit.
5. To return to the main Ports menu, choose Ports from the menu again.
Related Information
See the set ports, set line, and set flow commands in the Digi One/PortServer TS Command
Reference.
Procedure
This procedure assumes the following:
• That you are logged in as root
• That you know printer attributes, such as baud rate and parity
Example
In this example, port 2 is configured for a printer that uses hardware flow control.
set ports range=2 dev=prn
Method 1 Configuration
There is no special configuration required to set up a port for this type of direct access. Simply
configure the port for a printer. See "Configuring Printer Connections: Command Line" on page 4-3
for more information.
Method 2 Configuration
To configure an alternate IP address, do the following:
• Configure the port for a printer. See Configuring Printer Connections: Command Line on page
4-3 for more information.
• Supply a set altip command that specifies the following:
set altip group=port-number ip=ip-address
where
— port-number is the number of a PortServer TS 8/16 port
— ip-address is the IP address of the PortServer TS 8/16
In This Chapter
This chapter describes how to configure PortServer TS 8/16 ports for terminal and computer
connections. It discusses the following topics:
• Configuring Ports for Terminals: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . 6-2
• Configuring Ports for Terminals: Command Line . . . . . . . . . . . . . . . . . . . . . . . 6-2
• About Computer Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, choose Configure > Ports.
4. To configure a port, do the following:
a. Choose the port from the port column.
b. Ensure that the Device type is set to Terminal.
c. Make changes to the configuration as required. Use the online help for information.
d. If you want to apply this configuration to multiple ports, choose Clone, select the ports for
this configuration, and then choose Continue.
e. Choose Submit.
5. To return to the main Ports menu, choose Ports from the Menu again.
Port Defaults
Here is the default configuration for PortServer TS 8/16 ports:
• VT-100 emulation
• 9600 baud
• 8-bit characters
• 1 stop bit
• No parity
• Software flow control
Related Information
• For information on the set line, set ports, and set flow commands, see the Digi One/PortServer
TS Command Reference.
• For information on configuring terminal ports for autoconnections, see, "Configuring Autocon-
nection" on page 7-1.
Procedure
This procedure assumes the following:
• That you are logged in as root
• That you know the attributes, such as baud rate and parity, of the terminal that will be connected
to this port
Example
In this example, port 1 and 2 are configured for connection to terminals using hardware flow control.
The connection uses default for character size (8 bits), parity (no parity), and stop bits (1).
set ports range=1-2 sess=3 dev=term termtype=wy60
set line range=1-2 baud=19200
set flow range=1-2 ixon=off ixoff=off rts=on cts=on
Starting Point
This section assumes that
• You are logged in as root
• You know the attributes, such as baud rate and parity, of the PC that will be connected to this
port
In This Chapter
This chapter describes how to configure PortServer TS 8/16 ports for modem connections. It
discusses the following topics:
• Tips on Configuring A Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
• Configuring Ports for Modems: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
• Configuring Ports for Incoming Modem Connections: Command Line . . . . . . 5-3
• Configuring Ports for Outgoing/Bi-Directional Connections: Command Line 5-4
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, choose Configure > Ports.
4. To configure a port, do the following:
a. Choose the port from the port column.
b. Configure the correct device type. Choose Modem in for inbound modem connections,
Modem out for outbound connections, and Modem for bidirectional connections.
c. Make other changes to the configuration as required. Use the online help for information.
d. If you want to apply this configuration to multiple ports, choose Clone, select the ports for
this configuration, and then choose Continue.
e. Choose Submit.
5. To return to the main Ports menu, choose Ports from the menu again.
Related Information
• If you intend to run PPP traffic over this modem connection, see "Configuring PPP" on page 8-
1.
• For more information on setting the port’s flow control attributes see the set flow command in
the Digi One/PortServer TS Command Reference.
• For information on setting up the port for autoconnection, see "Configuring Autoconnection" on
page 7-1 of this manual and the set ports command in the Digi One/PortServer TS Command
Reference.
• For information on setting serial line operating parameters such as character size, the number of
stop bits, and parity, see the set line command in the Digi One/PortServer TS Command Refer-
ence.
Procedure
This procedure assumes that you
• Know the operating parameters required by the modem. If you do not, see the modem documen-
tation.
• Have or will correctly cable the connection between the PortServer TS 8/16 serial ports and
modems. See the Digi One/PortServer Cable Guide for more information.
• Have logged in as root
Related Information
• For more information on setting the port’s flow control attributes see the set flow command in
the Digi One/PortServer TS Command Reference.
• For information on setting serial line operating parameters such as character size, the number of
stop bits, and parity, see the set line command in the Digi One/PortServer TS Command Refer-
ence.
• For more information on configuring dialer and login scripts, see the set script command in the
Digi One/PortServer TS Command Reference.
Procedure
1. Supply a set ports command that specifies the following:
set ports range=range dev=dev
where range is a serial port or range of serial ports and dev is one of the following:
• dev=mout for outgoing-only connections
• dev=mio for bidirectional connections
Note: Use a group number (on the group field), if you intend to create a hunt group of ports
that can access a pool of modems. Make sure this group number is greater than 65.
Example: set ports range=2 dev=mio
2. Supply a set line command that specifies the following:
set line range=range baud=bps
where range is a serial port or range of ports and bps is the line speed of the connection
Example: set line range=2 baud=115200
3. Supply a set flow command that defines the flow control scheme required by the modem.
Example
In this example, ports 1 and 2 are configured for bidirectional modems.
set ports range=1-2 dev=mio
set line range=1-2 baud=115200
set flow range=1-2 ixon=off ixoff=off rts=on cts=on
In This Chapter
This chapter discusses how to configure PPP connections. It covers the following topics:
• Configuring PPP Connections: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
• Configuring Inbound PPP Connections: Command Line . . . . . . . . . . . . . . . . . 8-3
• Configuring Outbound PPP Connections: Command Line . . . . . . . . . . . . . . . . 8-5
1. Access the web interface by placing the IP address of the Digi device in the URL window of a
browser.
2. Log in as the root user. The default password is dbps.
3. Navigate to the PPP configuration screen, by choosing PPP from the Configure menu.
A screen similar to the following appears.
4. Use the web interface and the online help to complete configuration tasks.
Procedure
1. To configure the port for a modem, enter the following command:
set ports range=range dev=device
where range is the port or ports and device is one of the following:
• min for inbound only modem connections
• mio for bidirectional modem connections.
See the set ports command in the Digi One/PortServer TS Command Reference for more infor-
mation.
Example: set ports range=3 device=min
2. To configure flow control for the ports, enter the following command:
set flow range=range flow-control=scheme
where range is the port or ports and flow-control=scheme is the flow control required for this
connection. Typically, for modem connections RTS and CTS are on.
Example: set flow range=3 ixon=off ixoff=off rts=on cts=on
See the set flow command in the Digi One/PortServer TS Command Reference for more infor-
mation.
3. To configure the baud rate for this connection, enter the following command:
set line range=range baud=bps
where range is the port or ports to configure and bps is the line speed in bits-per-second. Typi-
cally, you can set this to 115000 bps for modem connections.
Example: set line range=3 baud=115000
4. To create an inbound PPP user, enter the following command:
set user name=name protocol=ppp netservice=on defaultaccess=netservice
where name is a name to assign the PPP user
Example:
set user name=pppin protocol=ppp netservice=on defaultaccess=netservice
5. To configure an IP address for the remote PPP user, enter the following command:
set user name=name ipaddr=ip-address
where
• name is the user’s name
• ip-address is one of the following: (a) A standard IP address in dotted decimal format. (b)
0.0.0.0, which means the remote user will supply the IP address. (c) ippool, which means that
the user will be assigned an IP address from an IP address pool. See the set ippool command
in the Digi One/PortServer TS Command Reference.
E x a m p le : set user name=pppin ipaddr=ippool
6. If you used the IP address pool option in the previous step, specify the following subnetwork
mask using the following command: (a mask of 255.255.255.255 is required)
set user ipmask=255.255.255.255
Procedure
1. To configure the port for a modem, enter the following command:
set ports range=range dev=device
where range is the port or ports and device is one of the following:
• mout for outbound only modem connections
• mio for bidirectional modem connections.
See the set ports command in the Digi One/PortServer TS Command Reference for more infor-
mation.
Example: set ports range=3 device=mout
2. To configure flow control for the ports, enter the following command:
set flow range=range flow-control=scheme
where range is the port or ports and flow-control=scheme is the flow control required for this
connection. Typically, for modem connections RTS and CTS are on.
Example: set flow range=3 ixon=off ixoff=off rts=on cts=on
See the set flow command in the Digi One/PortServer TS Command Reference for more infor-
mation.
3. To configure baud rate for this connection to the modem, enter the following command:
set line range=range baud=bps
where range is the port or ports to configure and bps is the line speed in bits-per-second. Typi-
cally, you can set this to 115000 bps for modem connections.
Example: set line range=3 baud=115000
4. If you do not want to use the Digi-supplied dialer script (genmdm) and login script (loginscript),
which work for most applications, use the set script command to create your own scripts.
See the set script command in the Digi One/PortServer TS Command Reference for more infor-
mation.
5. If you do not want to use the Digi-supplied outbound device (gendialer), which works for most
applications, enter the following command:
set device name=name ports=ports dialer=name
where
• name=name is the name for this device
• ports are the ports to associate with this device
• dialer=name is the name of a dialer script, either the Digi-supplied script or a user-created
one
6. To create a PPP user, enter the following command:
set user name=name protocol=ppp
where name is the name of the PPP user
E x a m p le
set user name=pppout protocol=ppp
7. To configure this user for outbound connections, enter the following command:
Example
This example shows a very simple outbound PPP configuration. Here are some points on this
configuration:
• The port is set up for outbound connections (dev=mout).
• Hardware flow control is used.
• Default device and scripts are used
set ports range=3 device=mout
set flow range=3 ixon=off ixoff=off rts=on cts=on
set line range=3 baud=115000
set user name=pppout protocol=ppp
set user name=pppout dialout=on outgoing=on device=gendialer
set user name=pppout localipadr=0.0.0.0
set user name=pppout n1=4452624
In This Chapter
This chapter describes how to configure IP routing. It discusses the following topics:
• Introduction to Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
• About RIP Routing Updates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
• Configuring Static Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
• Configuring Dynamic Routes Using RIP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
• Configuring Proxy ARP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
What is Routing
Routing is the method, employed by IP software, of choosing a path over which to send packets
between systems on different physical networks. When PortServer TS 8/16 is configured as a router,
it performs this service.
Types of Routing
PortServer TS 8/16 can be configured to perform the following types of routing:
• Static routing. When you use static routing, you manually configure routes to other networks for
PortServer TS 8/16. Static routing works fine for small, stable networks. Maintaining static
routes is difficult on larger networks and on networks that experience a lot of changes.
• Dynamic routing. When you use dynamic routing, routes are not manually configured but are
automatically established and maintained using information provided by routing information
protocol (RIP). Route maintenance is obviously easier using RIP, but RIP has some shortcom-
ings that are discussed later in this chapter. PortServer TS 8/16 supports the RIP 1 standard.
• Proxy ARP, which is a technique in which a router answers ARP requests intended for another
system. Typically, you use proxy ARP to move packets between physical networks that use the
same IP network address. By pretending to be the other system, the PortServer TS 8/16 accepts
responsibility for forwarding packets to that system. Proxy ARP makes routing decisions based
on either static routes or on routing information provided by RIP.
RIP Example
In the example that follows, Router R1 “advertises” (using RIP) that it can reach Net 1 in one hop.
When Router R2 receives this advertisement, it then knows that since it is on a common network
with R1 that it can reach Net 1 in two hops. It advertises this fact to other routers in the network,
who use this information to calculate their own routes to Net 1.
Net 1
R1
Net 2
R2
Net 3
R3
Net 4
Related Information
See the set route command in the Digi One/PortServer TS Command Reference.
Procedure
To configure a static route over a PPP link, enter the following command:
set route net= addr mask=mask metric=hops wanname=interface gateway=gateway
where
• addr is either the IP address of a system to be reached over this route or the network address of
the subnet that is to be reached on this route
• mask is the mask to use for interpreting the IP address.
• metric is the number of hop to the destination
• interface is either ether if this route is over the Ethernet interface or the name of a user if the
route is over a PPP link
• gateway is the IP address of the device that is the next hop to the destination
Related Information
See the set forwarding command in the Digi One/PortServer TS Command Reference.
Starting Point
This procedure assumes that you have sign on as root and have or will configure modems, modem
scripts, devices, and filters for routes that use serial lines.
Procedure
1. Configure the links over which routed packets and RIP updates will be sent.
• To enable routing over the LAN to which PortServer TS 8/16 is attached, no routing-specific
configuration is required.
• To enable routing over PPP, links be sure to use the netrouting field on the set user command
to configure how PortServer TS 8/16 handles RIP updates. You can configure the link so that
PortServer TS 8/16 does any of the following with RIP updates:
— Both sends and receives them (netrouting=both)
— Sends them only (netrouting=send)
— Receives them only (netrouting=receive)
— Neither sends nor receives them (netrouting=off)
2. Configure the PortServer TS 8/16 for dynamic routing with a set forwarding command that spec-
ifies state=active.
You may also want to turn on the poisonreverse and splithorizon fields to prevent the RIP slow
convergence problem discussed on page 9-3. See the discussion on the set forwarding command
provided in the Digi One/PortServer TS Command Reference for more information.
Example: Dynamic Routes
In this example, which shows only those commands and command fields pertinent to routing,
PortServer TS 8/16 is configured for dynamic routing using RIP. But to prevent RIP updates from
being sent across the PPP link, the set user command that defines the link specifies netrouting=off.
192.150.75.0
Router
187.100.46.9
Digi Device
PPP
Related Information
See the set forwarding command in the Digi One/PortServer TS Command Reference.
Starting Point
This procedure assumes that you have signed on as root and have or will configure modems, modem
scripts, devices, and filters for routes that use serial lines.
Procedure
1. Configure the links over which packets will be routed using a set user command. This command
must specify (on the ipaddr field) a specific IP address for the remote system using the Proxy
ARP service.
2. Configure PortServer TS 8/16 for Proxy ARP by supplying a set forwarding command that spec-
ifies the following:
• state=passive
• proxyarp=on
Example
In this example, PortServer TS 8/16 provides Proxy ARP services to a remote host.
187.155.24.0
Digi Device
PPP
187.155.24.11
In This Chapter
This Chapter discusses how to configure the autoconnection feature. It covers the following topics:
• About Autoconnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
• Configuring a Port for Autoconnection: Web Interface. . . . . . . . . . . . . . . . . . . 7-2
• Configuring Autoconnection By Port: Command Line . . . . . . . . . . . . . . . . . . . 7-2
• Configuring a User for Autoconnection: Web Interface . . . . . . . . . . . . . . . . . . 7-3
• Configuring a User for Autoconnection: Command Line . . . . . . . . . . . . . . . . . 7-3
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. Select Configure and then Autoconnect from the menu.
4. Configure the port as required. Use the online help for more information.
5. To return to the main Ports menu, choose Ports from the Menu again.
Procedure
This procedure describes how to set up a port for autoconnection only. It assumes that you have or
will configure the port appropriately for a modem connection (see Chapter 5) or terminal connection
(see Chapter 6).
To configure a port to provide automatic connections for all port users, supply a set ports command
that specifies the following:
set ports range= range auto=on dest=ip-address dport=tcp=port
where
• range is a port or range of ports
• ip-address is the IP address of the host to which the autoconnection should be made
• tcp-port is a TCP port to use for this connection
Example
In this example, port 2 is configured for automatic Telnet connections to a host.
set ports range=2 auto=on dest=199.125.123.10 dev=min dport=23
Procedure
This procedure deals with autoconnection features only. It assumes that you have or will configure
• The port for modem connections (see Chapter 5) or terminal connections (see Chapter 6)
• Other user attributes (see the set user command in the Digi One/PortServer TS Command Refer-
ence)
To configure a user to automatically connect to a host, supply a set user command that specifies the
following:
set user name= user-name ports=ports autoconnect=on autohost=ip-address
autoport=tcp-port defaultaccess=autoconnect
where
• user-name is the name of the user
• ports is the ports this user can use
• ip-address is the IP address of the host to which the user will be connected
• tcp-port is the TCP port to use for connections
Example
In this example, a user is configured for autoconnection using telnet to the host specified. Because
the password field is not specified, the default (password=on) requires that the user supply a
password before the connection is made.
set user name=user4 autoconnect=on autohost=199.193.150.10 autoport=2 3
defaultaccess=autoconnect
In This Chapter
• About Console Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
• Configuring Console Management: Web Interface . . . . . . . . . . . . . . . . . . . . . 10-2
• Configuring Console Management: Command Line . . . . . . . . . . . . . . . . . . . . 10-2
Procedure
1. For each port connected to a device that will be managed, specify the following:
set ports dev=prn range=range
where range is the port or range of ports to be set up for console management
2. Ensure that the port and the device to be managed are using the same flow control scheme.
• See the device's documentation for information on flow control requirements.
• To check the PortServer TS 8/16 current settings and to change them, see description of the
set flow command in the Digi One/PortServer TS Command Reference.
3. Ensure that the port and the device are using the same baud rate.
• See the device's documentation for information on baud rate requirements.
• To check the PortServer TS 8/16 current settings and to change them, see set line description
in the Digi One/PortServer TS Command Reference.
4. If you want to simplify access to the ports, do one of the following:
• If the administrator will access the port from a station on the LAN, you can assign IP
addresses to each port that will be connected to a managed device, which will allow the
administrator to Telnet directly to the port without specifying a port number. See set altip
command in the Digi One/PortServer TS Command Reference for more information.
• If you want to use a menu to simplify access, see the examples that follow and the set menu
command in the Digi One/PortServer TS Command Reference for more information.
5. If you want to use SSH2 connections and use a password to validate the user, supply the follow-
ing commands:
set user name=name
newpass name=name
where name is the user’s name
6. If you want to use SSH2 connections and use a public key for authentication, enter the following
command
set user name=name loadkey=host:key
where
• name is the name of a user
• host is either an IP address or DNS name of a host running TFTP that holds
User Command
In this example, a user Telnets to port 1 using an IP address. He/she will be required to log in before
access to the port is granted.
telnet 119.180.33.50
In This Chapter
This chapter describes PortServer TS 8/16 security features and discusses how to configure them. It
presents the following topics:
• Controlling Access to the Digi One/PortServer TS 2/4 Configuration . . . . . . 12-2
• Controlling Access to Inbound Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2
• Controlling Access to Outbound Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3
• Controlling Access to the Digi One/PortServer TS 2/4 Command Line . . . . . 12-3
• Using RADIUS to Authenticate Users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
• Issuing User Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
• Configuring SSH Version 2 for Secure Communication . . . . . . . . . . . . . . . . . 12-5
Default Access
The default for outbound ports is unlimited access.
Method 1 Autoconnection
The autoconnection feature allows you to configure a user to access the PortServer TS 8/16 but then
be automatically connected to a host on the LAN.
You can implement autoconnection in the following ways:
• By port. In this case, all port users are automatically connected to the same host. The PortServer
TS 8/16 is completely transparent to them.
• By user. In this case, a user is required to login and may be required to supply a password, but
once the user is authenticated, an automatic connection to a hosts made.
For information on configuring autoconnection, see "Configuring Autoconnection" on page 7-1.
Method 2: Menus
Menus select destination systems without having to access the PortServer TS 8/16 command line.
For information on configuring menus, see the description of the set menu command in theDigi
One/PortServer TS Command Reference.
What is RADIUS?
RADIUS (remote authentication dial-in user service) is a method of maintaining a database of
profiles of dial-in users. These profiles can include login and password information, as well as other
user attributes.
RADIUS Components
RADIUS requires two components, an authentication host server and client protocols. The
PortServer TS 8/16 implements the client protocol. A host must implement the authentication server
application.
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, choose Configure > RADUIS.
4. Configure the RADIUS client as required. Use the online help for information on configuration
fields.
5. When you complete configuration, choose Submit.
Related Information
See the newpass and set user commands in the Digi One/PortServer TS Command Reference.
Starting Point
This procedure assumes that you have signed on as root and already configured the user to whom
you will be issuing a password.
Procedure
1. Issue a newpass command that identifies the user (on the name field) to whom this password will
be issued.
2. When the system prompts you for a new password, type in the password and then press Enter.
3. When the system prompts you to enter the new password again, type it in and then press Enter.
Example
In this example, the newpass command initiates a dialog with PortServer TS 8/16 that results in the
user being assigned a password.
newpass name=edm1001
Password Protection
To configure simple password authentication for an SSH user, no SSH-specific configuration is
required. Simply configure a user by entering the following commands:
set user name= name password=on
newpass name=name
where name is a user name
Example
set user name=ssh-user1
newpass name=ssh-user1
In This Chapter
This chapter discusses how to configure PortServer TS 8/16 to use DNS. Topics discussed include
the following:
• About the Domain Name System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2
• Configuration Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Purpose of DNS
The domain name system maps domain names to information associated with these names, such as
IP addresses.
DNS Components
DNS components include:
• A distributed database consisting of domain names and associated information
• A hierarchical system of domain name servers that maintain the database and use it to respond to
requests for information about a particular domain name, such as its IP address
• Domain name resolvers that
— Accept requests from users
— Satisfy information requests by building and submitting properly formulated queries to one
or more name servers or by retrieving information from a local host file
— Return information to users
— Cache information for future use
Naming Conventions
Each node in the domain name system has a globally unique domain name that consists of its own
name, which is called a label, and the labels of all superior nodes.
In This Chapter
This chapter describes how to configure the PortServer TS 8/16 SNMP agent. It discusses the
following topics:
• About SNMP and the Digi One/PortServer TS 2/4 Agent. . . . . . . . . . . . . . . . 14-2
• Configuration Procedure: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
• Configuration Procedure: Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
SNMP Traps
A mechanism defined by SNMP is called a trap, which is a report or “alarm” from a managed node
to an SNMP manager that a significant event has occurred.
MIB Support
The agent supports the following MIBs:
• Read-write for MIB II (RFC 1213), which is an Internet-standard MIB, consisting of managed
objects from the systems, interfaces, IP, ICMP, TCP, UDP, transmission, and SNMP group
• Read-write for the character-stream devices using SMIv2 MIB (RFC 1658)
• Read-write for the RS-232-like hardware devices MIB (RFC 1659)
• Read-write for the PortServer TS 8/16 IP Network Control Protocol of the Point-to-Point Proto-
col MIB (RFC 1473)
Message Support
The SNMP agent supports the Set, Get, GetNext, and Trap messages as defined in RFC 1157. These
messages are used as follows:
• Set, which means set the value of a specific object from one of the supported MIBs
• Get, which means retrieve the value of a specific object form one of the supported MIBs
• GetNext, which means retrieve the value of the next object in the MIB
• Trap, which means send traps to the manager when a particular type of significant event occurs
Supported Traps
The agent can send traps when any of the following occur:
• Cold starts (PortServer TS 8/16 initializes)
• Authentication failures
Related Information
See the set snmp command in the Digi One/PortServer TS Command Reference.
Starting Point
This procedure assumes that you have gathered the following information:
• The IP address of the manager to which traps are sent
• The name and location of the SNMP contact person
• The SNMP name of the PortServer you are configuring
Procedure
Issue a set snmp command to configure PortServer TS 8/16’s SNMP agent. Specify the
following:
• The ip address of an SNMP management station to which traps are to be sent on the trap_dest
field
• A name for this PortServer TS 8/16 on the name field
• A description of where PortServer TS 8/16 is located on the location field. If there are spaces in
this entry, enclose it in quotation marks.
• The name of an SNMP contact person on the contact field. If there are spaces in this entry,
enclose it in quotation marks.
• Whether authentication traps are generated when an authentication error occurs on the auth_trap
field
• Whether the SNMP agent should run immediately on the run field
Configuration Example
set snmp auth_trap=on trap_dest=190.174.150.10 location=”Digi Minnesota”
name=blaze contact=”bill jones” run=on
In This Chapter
This chapter provides information on updating the operating system (OS) and managing the
configuration. Topics include the following:
• Upgrading the OS (Firmware): Web Interface. . . . . . . . . . . . . . . . . . . . . . . . . 16-2
• Upgrading the OS (Firmware): Command Line . . . . . . . . . . . . . . . . . . . . . . . 16-3
• Configuring PortServer TS 8/16 from a Remote Host. . . . . . . . . . . . . . . . . . . 16-4
• Resetting the Configuration to Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-6
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. From the main menu, choose Admin and then either HTTP upgrade or TFTP upgrade.
4. Follow the prompts to complete the upgrade.
Related Information
See the boot and set config commands in the Digi One/PortServer TS Command Reference.
Prerequisite Task
Note: When upgrading from a firmware release prior to 82000684_B, the boot code must be
upgraded first. To determine your current firmware release, issue the set config command. If you
need to upgrade the boot code first, here is how you do it:
1. Download the boot code from the Digi web site to a server running TFTP.
2. To load the new boot code, issue the following command:
boot load-boot=tftp-server-ip:filename
where tftp-server-ip is the IP address of the TFTP server and filename is the boot file.
Example: boot load-boot=143.21.10.5:82000679_c1
3. Reboot the Digi device.
When the Digi device reboots, it is ready for new firmware.
Procedure
This procedure assumes that you have logged in as root.
1. Download a copy of the latest PortServer TS 8/16 firmware from the Digi International web site,
digi.com, and copy it to a host running TFTP.
2. Load the new OS into flash ROM by entering the following command:
boot load=ip-address:filename
where
• ip-address is the IP address of the TFTP host
• filename is the name of the firmware file.
The following message should appear:
The image in flash now appears valid.
3. If this message does not appear, do not reboot PortServer TS 8/16. The unit may become inoper-
ative if you do; call technical support for instruction on what to do next.
4. If you want to confirm this operation, reboot from the OS in flash ROM by entering the follow-
ing command:
boot action=reset
In This Chapter
This chapter discusses how to configure users. It covers the following topics:
• About Configuring Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2
• Common User Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2
• Configuring a User: Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3
• Configuring a User: Command Line Examples . . . . . . . . . . . . . . . . . . . . . . . . 15-4
Configuration Methods
You can configure users in the following ways:
• With the set user command. See the set user command in the Digi One/PortServer TS Command
Reference.
• With the web interface.
• With a RADIUS server. See the set radius command in the PortServer TS 8/16 Command Refer-
ence.
1. Access the web interface by entering the PortServer TS 8/16 IP address in a browser’s URL win-
dow.
2. Log in to the PortServer TS 8/16 as root.
The default password is dbps.
3. Select Configure and then Users from the menu.
4. To add a user, do the following:
a. Choose Add User.
b. Enter a name and then choose Submit
c. Choose the new user from the Name column.
d. Configure the user as required.
e. Choose Submit.
5. To return to the main User menu, choose User from the Menu again.
This chapter provides several simple, but complete, configuration examples. If you find that the
examples implement exactly the features needed for your network, simply copy them, making
appropriate substitutions for site-specific information such as IP addresses. Quite likely, however,
you will be able to use the examples as a starting point only and will need the information provided
in other chapters in this manual and in the Digi One/PortServer TS Command Reference to complete
your configuration.
In This Chapter
This chapter provides the following discussions:
• Terminal Server Configuration Without RealPort . . . . . . . . . . . . . . . . . . . . . . 17-2
• Terminal Server Configuration Using Autoconnection . . . . . . . . . . . . . . . . . . 17-3
• Terminal Server Configuration Using RealPort. . . . . . . . . . . . . . . . . . . . . . . . 17-4
Related Information
For more information on configuring
• The Ethernet interface, see "Configuring the IP Address" on page 2-1.
• Terminal connections, see "Configuring Ports for Terminals and Computers" on page 6-1.
• Modem connections, see "Configuring Ports for Modems" on page 5-1.
Illustration
Host Host
192.250.150.9 192.250.150.17
192.250.150.10
Digi Device
Terminals Modems
Configuration
set config ip=19 2.250.150.10 submask=255.255.255.0 (1)
set ports range=1-2 dev=term
set line range=1-2 baud=9600
set flow range=1-2 ixon=on ixoff=on (2)
set ports range=3-4 dev=mio
set line range=3-4 baud=115200
set flow range=3-4 ixon=off ixoff=off rts=on cts=on (3)
set user name=user1 (4)
Configuration Notes
1. The set config command configures the IP address and mask for the PortServer TS 8/16 Ethernet
interface.
2. The first set ports, set line, and set flow commands configure ports 1 and 2 for terminal connec-
tions.
3. The next set ports, set line and set flow commands configure the ports for bidirectional modems.
Software flow control (the default) is explicitly shut off and hardware flow control turned on
using the set flow command.
4. The set user command defines a user, which assigns a user name for login purposes. All PortS-
erver TS 8/16 users can login with this name.
Related Information
For more information on configuring
• The Ethernet interface, see "Configuring the IP Address" on page 2-1.
• Terminal connections, see "Configuring Ports for Terminals and Computers" on page 6-1.
• Modem connections, see "Configuring Ports for Modems" on page 5-1.
Illustration
Host
192.250.150.9
192.250.150.10
Digi Device
Terminals Modems
Configuration
set config ip=192.250.150.10 submask=255.255.255.0
set ports range=1-2 dev=term auto=on dest=192.250.150.9 dport=23
set line range=1-2 baud=9600
set flow range=1-2 ixon=on ixoff=on (1)
set ports range=3-4 dev=min
set line range=3-4 baud=115200
set flow range=3-4 ixon=off ixoff=off rts=on cts=on (2)
set user name=user1 autoconnect=on defaultaccess=autoconnect
autohost=192.250.150.9 autoport=23 password=off (3)
Configuration Notes
1. The first set of set ports, set line and set flow commands configure ports 1 and 2 for terminals,
autoconnection, Telnet (dport=23), and software flow control.
2. The second set ports, set line, and set flow commands set up ports 3 and 4 for incoming modem
connections and RTS/CTS flow control.
3. The set user command configures the user for automatic connection to the host specified on the
autohost field using Telnet (autoport=23).
Related Information
For more information on configuring:
• The Ethernet interface, see "Configuring the IP Address" on page 2-1
• RealPort, see "Configuring Ports for RealPort" on page 3-1
Illustration
192.250.150.11
Modem
Terminal
Printer
Configuration
set config ip=192.250.150.11 submask=255.255.255.0 (1)
set ports range=2-4 dev=rp (2)
Configuration Notes
1. The set config command configures the internet address and mask for PortServer TS 8/16 Ether-
net interface.
2. The set ports command configures ports 2, 3, and 4 for Realport. This command specifies
dev=rp, which is an appropriate device type for RealPort.
Related Information
For more information on configuring
• Modem connections, see "Configuring Ports for Modems" on page 6-1.
• Modem scripts, see the set scripts command in the PortServer TS 8/16 Command Reference.
• RADIUS, see "Using RADIUS to Authenticate Users" on page 11-4.
RADIUS Host
190.250.150.11
190.250.150.10
Digi Device
Modem
PPP
Configuration
set config ip=190.250.150.10
submask=255.255.255.0
Configuration Notes
1. The set ports, set line and set flow commands configure port 9 for incoming modem connections
using RTS/CTS flow control.
2. The set radius command configures PortServer TS 8/16 to use a RADIUS server.
In This Chapter
• Symptom: PortServer TS 8/16 Does Not Boot . . . . . . . . . . . . . . . . . . . . . . . . 17-2
• Symptom: Cannot Telnet to the PortServer TS 8/16 . . . . . . . . . . . . . . . . . . . . 17-3
• Symptom: Trouble Accessing a Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4
• Running PortServer TS 8/16 Hardware Diagnostics . . . . . . . . . . . . . . . . . . . . 17-4
• Running PortServer TS 8/16 POST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-5
• Verifying TFTP on a UNIX System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6
• Troubleshooting TFTP Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6
• Resetting PortServer TS 8/16 Configuration to Defaults. . . . . . . . . . . . . . . . . 17-7
• Verifying the PortServer TS 8/16 IP Address . . . . . . . . . . . . . . . . . . . . . . . . . 17-8
• Checking for Duplicate IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-10
• Pinging an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-11
• Verifying the Network Cabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-12
• Verifying the RealPort Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-13
• Checking and Changing Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 17-15
• Digi Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-16
Verify the cabling to the peripheral See the Digi One/PortServer Cable Guide for
information.
If ... Then...
A DHCP error has occurred and the
The power LED blinks immediately PortServer TS 8/16 was not assigned an
after POST
IP address.
1. From another system on the network, use the ping command to determine if the IP address is in
use. The following is the command syntax:
ping ip-address
2. Do one of the following:
• If there is no response to the ping, exit this procedure and return to the symptoms section of
this section. Two devices using the same IP address is probably not a problem.
• If there is a response, continue with this procedure.
3. Turn the PortServer TS 8/16 off and then ping again.
4. Do one of the following:
• If there is a response to the ping, there is another device using that IP address, so assign one
of the devices a new IP address.
• If there is no response, turn the PortServer TS 8/16. Another device is not using the IP
address assigned PortServer TS 8/16.
1. From the Start menu, choose Settings > Control Panel > Devices > Digi RealPort.
2. If the RealPort service has not been started, choose Start.
1. Right-click on My Computer, choose Properties > Hardware tab > Device Manager.
2. Expand the Multi-port Serial Adapters list if necessary and select Digi PortServer.
3. If the RealPort Service (process) is not enabled, right-click and choose Enable.