Go to main content

Working With DHCP in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017
 
 

PARAM_REQUEST_LIST Keyword Configuration Syntax

You configure the DHCPv6 client in much the same way as the existing DHCPv4 client, by using /etc/default/dhcpagent.

The syntax is augmented with a "v6" marker between the interface name (if any) and the parameter to be configured. The following examples show how to set various configuration options.

To set the global IPv4 option request list:

PARAM_REQUEST_LIST=1,3,6,12,15,28,43

To configure an individual interface to omit the hostname option:

net0.PARAM_REQUEST_LIST=1,3,6,15,28,43

To set a global request list for DHCPv6 (note the leading dot):

.v6.PARAM_REQUEST_LIST=23,24

To set an individual interface:

net0.v6.PARAM_REQUEST_LIST=21,22,23,24

The following example shows a sample /etc/default/dhcpagent file for a DHCPv6 configuration:

# The default DHCPv6 parameter request list has preference (7), unicast (12),
# DNS addresses (23), DNS search list (24), NIS addresses (27), and
# NIS domain (29).  This may be changed by altering the following parameter- 
# value pair.  The numbers correspond to the values defined in RFC 3315 and 
# the IANA dhcpv6-parameters registry. 
.v6.PARAM_REQUEST_LIST=7,12,23,24,27,29