2.2.1.1.7 DHCP_SUBNET_ELEMENT_TYPE

The DHCP_SUBNET_ELEMENT_TYPE enumeration defines the type of a configuration parameter for a DHCPv4 scope configured on the DHCP server. This value is used in conjunction with other data types to specify the configuration parameters for a DHCPv4 scope by the RPC methods defined in this specification.

 typedef  enum _DHCP_SUBNET_ELEMENT_TYPE
 {
   DhcpIpRanges,
   DhcpSecondaryHosts,
   DhcpReservedIps,
   DhcpExcludedIpRanges,
   DhcpIpUsedClusters,
   DhcpIpRangesDhcpOnly,
   DhcpIpRangesDhcpBootp,
   DhcpIpRangesBootpOnly,
 } DHCP_SUBNET_ELEMENT_TYPE,
  *LPDHCP_SUBNET_ELEMENT_TYPE;

DhcpIpRanges: The configuration parameter is the IP range of a DHCPv4 scope configured on the DHCP server.

DhcpSecondaryHosts: This enumeration type is unused. If this value is passed as a parameter to a method, it will return ERROR_CALL_NOT_IMPLEMENTED or ERROR_NOT_SUPPORTED, as specified in the processing rules of methods that use the DHCP_SUBNET_ELEMENT_TYPE enumeration.

DhcpReservedIps: The configuration parameter is a reservation for a DHCPv4 client in a DHCPv4 scope element configured on the DHCP server.

DhcpExcludedIpRanges: The configuration parameter is the exclusion range of a DHCPv4 scope configured on the DHCPv4 server.

DhcpIpUsedClusters: This enumeration type is unused, and the DHCP server returns ERROR_INVALID_PARAMETER when specified.

DhcpIpRangesDhcpOnly: The configuration parameter is an IP range of a DHCPv4 scope configured on the DHCPv4 server, which MUST be used only for assignment of addresses to DHCPv4 clients on the subnet. The IP addresses from this range MUST NOT be assigned to bootstrap protocol (BOOTP) clients ([RFC2132]).

DhcpIpRangesDhcpBootp: The configuration parameter is an IP range of a DHCPv4 scope configured on the DHCPv4 server, which can be used for assignment of addresses to both DHCPv4 and BOOTP.

DhcpIpRangesBootpOnly: The configuration parameter is an IP range of a DHCPv4 scope configured on the DHCPv4 server, which MUST be used only for assignment of IPv4 addresses to BOOTP clients.