JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Working With DHCP in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  About DHCP (Overview)

2.  Administering the ISC DHCP Service

3.  Configuring and Administering the DHCP Client

About the DHCP Client

The DHCP Administrative Model

MAC Address and Client ID

Differences Between DHCPv4 and DHCPv6

DHCP Protocol Details

Logical Interfaces

Option Negotiation

Configuration Syntax

DHCP Client Startup

DHCPv6 Communication

How DHCP Client Protocols Manage Network Configuration Information

How the DHCPv4 Client Manages Network Configuration Information

How the DHCPv6 Client Manages Network Configuration Information

DHCP Client Shutdown

Enabling and Disabling a DHCP Client

How to Enable a DHCP Client

How to Disable a DHCP Client

DHCP Client Administration

ipadm Command Options Used With the DHCP Client

Setting DHCP Client Configuration Parameters

For DHCPv4

For DHCPv4 and DHCPv6

DHCP Client Systems With Multiple Network Interfaces

DHCPv4 Client Host Names

How to Enable a DHCPv4 Client to Request a Specific Host Name

DHCP Client Systems and Name Services

DHCP Client Event Scripts

4.  DHCP Commands and Files (Reference)

Index

Enabling and Disabling a DHCP Client

To enable the DHCP client on a system that is already running Oracle Solaris and is not using DHCP, you must first unconfigure the system. When the system boots, you must issue some commands to set up the system and enable the DHCP client.


Note - In many deployments it is common practice to have crucial parts of the infrastructure set up with static IP addresses, rather than using DHCP. Determining which devices on your network, for example routers and certain servers, should be client and which should not, is beyond the scope of this guide.


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 the root role or a role or user name that has been assigned to the DHCP Management profile.

    Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in Oracle Solaris 11.1 Administration: Security Services. For more information about the DHCP Management profile, see How to Grant User Access to DHCP Commands

  2. Reconfigure the system.

    Choose one of the following configuration methods:

    • Interactively reconfigure the system.
      # sysconfig configure

      When the System Configuration Interactive Tool starts, select Automatic network configuration on the Network screen.

    • Non-interactively reconfigure the system.
      # sysconfig configure -c sc_profile

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

How to Disable a DHCP Client

  1. Assume the root role or a role or user name that has been assigned to the DHCP Management profile.

    Roles contain authorizations and privileged commands. For more information about roles, see Initially Configuring RBAC (Task Map) in Oracle Solaris 11.1 Administration: Security Services. For more information about the DHCP Management profile, see How to Grant User Access to DHCP Commands

  2. Reconfigure the system.

    Choose one of the following configuration methods:

    • Interactively reconfigure the system.
      # sysconfig configure

      When the System Configuration Interactive Tool starts, select either Manual or None as the network configuration on the Network screen.

    • Non-interactively reconfigure the system.
      # sysconfig configure -c sc_profile

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