Tech Tip:
Specifying a Range of
Ports for Linux
D3
Linux 7.2.1 +
In D3,
several options are available for specifying a range of ports
depending on the type of connection being used
It is possible
to specify a range for connections from C (which include the
ODBC server), from floating serial/Telnet connections, or from
Telnet turnkey connections, which do not have specified D3
port numbers. These commands can be edited into the pick0 configuration
file for the virtual machine.
| |
C
interface connections |
| |
Use
crange to specify a range of ports for use by any connections
made to D3 via the C interface (the _cp_library).
This range includes connections made using the ODBC Server
(SQL and ODBC class library connections). |
| |
|
| |
Syntax: |
| |
crange
beginning.port# ending.port# |
| |
|
| |
Floating
connections |
| |
Use
serialrange to specify a range of ports
to be used by floating serial or Telnet connections. These
connections are made to D3 via a UNIX log on,
that do not include a D3 port number. |
| |
|
| |
Syntax: |
| |
serialrange
beginning.port# ending.port# |
| |
|
| |
Telnet
turnkey connections |
| |
Use
telnetrange to specify a range of ports to be used by a
Telnet turnkey connection that does not specify a D3
port number. |
| |
|
| |
Syntax: |
| |
telnetrange
beginning.port# ending.port# |
| |
|
| |
Example
of /etc/inittab: |
| |
t3:2:respawn:d3
–n pick0 –u /t20256,s
|
|
|