Solaris DHCP Administration Guide

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 system.

  2. If this system uses preconfiguration instead of interactive configuration, edit the sysidcfg file to add the dhcp subkey to the network_interface keyword.

    For example, network_interface=le0 {dhcp}. See the sysidcfg(4) man page for more information.

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

    # sys-unconfig

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

  4. Reboot the system after it has completely shut down.

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

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

    If you preconfigured the system by using a sysidcfg file, insert the network_interface keyword, and specify dhcp as a dependent keyword. For example, network_interface=le0 {dhcp}.