Setting up the TCP/IP configuration of an OS/2 computer is straightforward. All of the settings are contained in one "notebook" control for convenient access. The notebook can be reached by opening the "system setup" folder, which is usually located in a folder called "local system" on the desktop (below).
Open the TCP/IP Configuration notebook by double-clicking on it. The notebook has tabs arranged across the top of the window which are in the right order for setting up an new network connection. Begin with the left-most "network" tab to set up the network interface (below)
Most computers will have only a single LAN interface. Choose "LAN interface 0" for set up and check "enable interface". If your network supports automatic addressing through DHCP, just click the button for DHCP and the rest of the network parameters are set up for you. You can skip to the end of this note, save your changes to the notebook and reboot. Otherwise, keep reading.
To choose a manual address, click on "manually" and fill in the IP address and netmask. These must be numeric -- no network names allowed here! Once you have filled in the address, click on the "routing" tab (below).
You need to set up a "default" route to reach computers on the Internet. This is usually a gateway address and is always supplied by the IT department. To add a new route, press the "Add button" and fill in the dialog that pops up (below).
For the typical case, click the "default" button and fill in the router address. The metric count can be left at its default value of "1". If asked to add "before" or "after" existing entries, it does not matter which you choose -- this is the only entry you need. Finally, we need to set up the "name server". Click on the "host names" tab (below).
On this screen you need to fill in the computer's own name (host name) and its domain name. You also need to add at least one name server to resolve names for this computer. Click on the "add" button and fill in an address for the domain name server (DNS). Again, no names are allowed at this point -- you must provide a decimal number address. If you have more than one name server, you can add additional records with the "add" button.
You should have a minimal setup of TCP/IP networking at this point, so you may exit and save the new configuration. The exit process is a little confusing for this notebook, however. Read the messages carefully to choose the action you want. In the screen below, press "OK" to save and exit the notebook or "cancel" to STAY in the notebook.
Most changes to TCP/IP networking in OS/2 require that you reboot to make the changes effective.
To see the current IP address, use command "ifconfig lan0" from an OS/2 command window.