System Administration Guide, Volume 3

Configuring and Unconfiguring a Solaris DHCP Client

When you install the Solaris operating environment from CD-ROM, you are prompted to use DHCP to configure network interfaces. If you select yes, the DHCP client software is enabled on your system during Solaris installation. There is nothing further you need to do on the client machine to use DHCP.

If a client machine is already running the Solaris operating environment and not using DHCP, you must unconfigure the system and issue some commands to set up the system to use DHCP when it boots.

If you are using a non-Solaris client, please consult the documentation for that client for instructions on configuring the DHCP client.

How to Configure a Solaris DHCP Client

This procedure is necessary only if DHCP was not enabled during Solaris installation.

  1. Become superuser on the client machine.

  2. Unconfigure and shut down the system by typing the following command:


    # sys-unconfig
    

    See the sys-unconfig(1M) manual page for more information about what configuration information is removed by this command.

  3. Reboot the system when the PROM prompt appears.


    ok boot
    

    You are prompted for system configuration information by sysidtool programs when the system reboots. See the sysidtool(1M) manual page for more information.

  4. When prompted to use DHCP to configure network interfaces, specify Yes.

How to Unconfigure a Solaris DHCP Client

  1. Become superuser on the client machine.

  2. Unconfigure and shut down the system by typing the following command:


    # sys-unconfig
    

    See the sys-unconfig(1M) manual page for more information about what configuration information is removed by this command.

  3. Reboot the system when the PROM prompt appears.


    ok boot
    

    Because you unconfigured the system, you will be prompted for configuration information by sysidtool programs when the system reboots. See the sysidtool(1M) manual page for more information.

  4. When prompted to use DHCP to configure network interfaces, specify No.