back to main page    Basic configuration for a Windows client
The following tells what you have to do to connect your PC to the Internet, using the network assigned to your IBM i.
The examples are related to a Windows 95/98 environment.
  1. TCP/IP configuration
  2. Host table
  just another service by Giovanni B. Perotti, IBM Italy
1. TCP/IP configuration

Figure 1 - Network configuration
  1. From the Desktop open folder Computer Resources (My Computer)
  2. open folder Control panel
  3. open folder Network
  4. on the Configuration tab
    1. select your network card
    2. click on the Properties button

Figure 2 - IP address
On the IP address tab
  1. click on the radio Specify an IP address
  2. type the IP address assigned to this PC
  3. type the subnet mask 255.255.255.0
then click on the Gateway tab

Figure 3 - Gateway
On the Gateway tab
  1. as New gateway type the TCP address of the IBM i router (see what you you did on your IBM i with command ADDTCPRTE)
  2. click on the Add button
then click on the DNS configuration tab

Figure 4 - DNS configuration
On the DNS configuration tab
  1. click on the radio Enable DNS
  2. in the Host field enter a name (e.g. mypc) through which your PC will be identified in the network
  3. in the domain field enter your IBM i domain name, as previously specified in the IBM i CHGTCPDMN command
  4. to enter the IP address of your DNS (Domain Name Server's), that you obtained from your service provider, (see what you did on your IBM i with command CHGTCPDNM)
    1. type the first in field DNS Server Search Order and press the Add button
    2. repeat for the second address
  5. last, press the OK button and reboot your PC.
2. Host table

The following is optional.
The host table provides your PC a way to find hosts (servers) by their names, without going through DNS servers (which would translate a host name into its IP address).
  • If you specified DNS servers, they will not be used for the hosts (servers) specified in your host table
  • If you did not specify DNS servers, the host table may be a mandatory solution
To update your PC host table, operate as follow:
  1. locate file C:\WINDOWS\HOSTS.SAM
  2. copy it to the same directory (C:\WINDOWS) as file HOST (no extension, please)
  3. use Notepad to edit file C:\WINDOWS\HOST
  4. after the default entry
        127.0.0.1  localhost
    add an entry for your IBM i. As an example
        192.168.0.2  myas myas.mydomain.it
    (see how you specified
  5. save file HOST after this change.