DhcpSubnetMask

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ interface-name

Data type

Range

Default value

REG_SZ

(A space-delimited list of dotted decimal subnet masks.)

(There is no default value for this entry. DHCP configures the value.)

Description

Specifies the subnet mask for the IP address specified in the value of either the IPAddress entry or the DhcpIPAddress entry. The value of this entry, which the user can change, takes precedence over the values for the subnet mask that the Dynamic Host Configuration Protocol (DHCP) configures.

The subnet mask is determined by this entry, which DHCP configures, and by the SubnetMask , entry, which the user can configure. If the value of SubnetMask not 0.0.0.0, it takes precedence over the value of DhcpSubnetMask.

Caution

The DHCP client service adds this entry to the registry when the service is enabled. The DHCP client service maintains it for internal use. Do not delete this entry or change its value.

Related Entries

DhcpIPAddress

IPAddress

SubnetMask