Go to main content

Working With DHCP in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017
 
 

How to Configure an ISC DHCP Server

You can use these steps to initially configure an ISC DHCP server.

  1. 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.3.

  2. Edit the DHCP configuration files for the appropriate services.
    • IPv4: /etc/inet/dhcpd4.conf

    • IPv6: /etc/inet/dhcpd6.conf

    For more information, see the dhcpd.conf (7) man page.

  3. Enable the required service.
    # svcadm enable service

    service can be one of the following values:

    svc:/network/dhcp/server:ipv4

    Provides DHCP and BOOTP requests from IPv4 clients

    svc:/network/dhcp/server:ipv6

    Provides DHCP and BOOTP requests from IPv6 clients

    svc:/network/dhcp/relay:ipv4

    Relays DHCP and BOOTP requests from IPv4 clients to a network with a DHCP server

    svc:/network/dhcp/relay:ipv6

    Relays DHCP and BOOTP requests from IPv6 clients to a network with a DHCP server