The steps in this section configure TCP/IP on the DB2 Connect Workstation. Replace the sample values with your worksheet values.
![]() |
If your network has a name server, or you are planning to directly specify
the IP address (ip_address) of the server, skip this step and proceed
to B. Update the Services File.
|
The DB2 Connect workstation must know the address of the host system to
which it is attempting to establish communications. If a name server
does not exist on your network, you may directly specify a hostname that maps
to the IP address (ip_address) of the host system in the local
hosts file.
![]() | If you are planning on supporting a UNIX client that is using Network Information Services (NIS), and you are not using a domain name server on your network, you must update the hosts file located on your NIS master server. |
Table 14. Location of the Local Hosts and Services Files
Platform | Location | ||
---|---|---|---|
Windows 9x | windows directory | ||
Windows NT and Windows 2000 | winnt\system32\drivers\etc directory | ||
UNIX | /etc directory | ||
OS/2 |
Specified by the etc environment variable. Enter the set etc command to determine the location of your local hosts or services files.
|
Using a text editor, add an entry to the DB2 Connect workstation's hosts file for the host system's hostname. For example:
9.21.15.235 nyx # host address for nyx
where:
If the host system is not in the same domain as the DB2 Connect Workstation, you must provide a fully qualified domain name such as nyx.spifnet.ibm.com, where spifnet.ibm.com is the domain name.
![]() |
If you are planning to catalog a TCP/IP node using a port number
(port_number), skip this step and go to 3. Catalog the TCP/IP Node.
|
Using a text editor, add the Connection Service name and port number to the DB2 Connect workstation's services file. This file is located in the same directory as the local hosts file that you may have edited in A. Resolve the Host's IP Address. For example:
host1 3700/tcp # DB2 connection service port
where:
The port number used on the DB2 Connect workstation must match the port number used on the host system. Also, ensure that you did not specify a port number that is being used by any other process.
If you are planning on supporting a UNIX client that uses Network Information Services (NIS), you must update the services file located on your NIS master server.