Go to main content

Working With DHCP in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

How to Enable a DHCP Client

This procedure is necessary only if DHCPv4 was not enabled during Oracle Solaris installation. It is never necessary for DHCPv6.

  1. Assume an appropriate role.

    Assume a role that can grant the DHCP Management profile to users. If the DHCP Management profile has not been assigned to a user, assume the root role.

    Roles contain authorizations and privileged commands. For more information about roles, see Creating a Role in Securing Users and Processes in Oracle Solaris 11.4. For more information about the DHCP Management profile, see How to Grant User Access to DHCP Commands.

  2. Reconfigure the system.
    • To interactively reconfigure the system:
      1. Issue the following command.
        # sysconfig configure -g network,naming_services
      2. When the tool starts, in the Network screen, select the interface and then choose DHCP.
    • To non-interactively reconfigure the system using a system configuration profile, issue the following command.
      # sysconfig configure -c sc_profile

      See the sysconfig(8) man page for more information about using a sc_profile configuration file.