Enable DHCP for OS/2 Warp 4 clients

To enable DHCP, follow these steps:
  1. Select TCP/IP Configuration.
  2. Select the Obtain IP address automatically radio button.
  3. Click OK.

You can start the client manually from an OS/2® window by entering DHCPCD. You can also update the client configuration file (mptn\etc\dhcpcd.cfg) to allow the client to request DHCP options.

Warp also has a utility for tracking leases. From an OS/2 window, enter DHCPMON, or select the DHCP monitor icon in the TCP/IP folder. You can end the client by entering DHCPMON -t.

Note: This does not issue a DHCP release, it shuts the DHCP client down so that it no longer renews a lease.

You can also view the client's DHCP log file to view the client/server interaction and to see the options passed back by the server. The file name is configurable in the client config file. Some systems have a log in the root directory with file name of dhcpcd.log. In addition, previously obtained lease and option information is stored by the client in the file mptn\etc\dhcpc.db. If you ever need to restart the client "from scratch", you should erase the mptn\etc\dhcpc.db file.