Start of change

Using ISC's DHCP 4

Use the following information to configure, start, and stop ISC's DHCP 4 implementation of the DHCP server.

In order to use ISC's DHCP 4 server on the IBM® i, follow these steps:

  1. Ensure IBM i option 31 (Domain Name System (DNS)) and option 33 (Portable Application Solutions Environment (PASE)) are installed on the system.
  2. Define an environment variable to tell the operating system to use the ISC's DHCP 4 server with the following command:
    ADDENVVAR ENVVAR('QIBM_ISC_DHCP') VALUE('Y') LEVEL(*SYS)
    Note: If the QIBM_ISC_DHCP environment variable is not present the IBM i DHCP server is used.
  3. Run the Change DHCP Attributes (CHGDHCPA) command. This command migrates any existing DHCP configuration into configuration files used by the ISC DHCP server. Not all configuration options provided by the IBM i DHCP server are supported by the ISC DHCP server. However, as much of the configuration as possible is migrated. After migration, changes to the IBM i DHCP server configuration will not be reflected in the ISC DHCP server configuration files.
  4. Manually edit the newly created configuration files. A graphical interface for managing the ISC DHCP server and monitoring the leases it manages is not provided. All associated configuration files must be edited manually.
  5. Determine if you want to run an IPv4, IPv6, or both an IPv4 and IPv6 DHCP server on the same system.
    1. If you choose to run both an IPv4 and IPv6 DHCP server on the same system, run the following command:
      CHGDHCPA IPVERSION(*ALL)
    2. If you choose to run only an IPv6 DHCP server, run the following command:
      CHGDHCPA IPVERSION(*IPV6)
    3. If you choose to run only an IPv4 DHCP server, run the following command:
      CHGDHCPA IPVERSION(*IPV4)
  6. Start the server using the command:
    STRTCPSVR SERVER(*DHCP)
  7. End the server using the command:
    ENDTCPSVR SERVER(*DHCP)
End of change