2.2.1.1.4 DHCP_OPTION_SCOPE_TYPE

The DHCP_OPTION_SCOPE_TYPE enumeration defines the type of DHCPv4 options being referred to by an RPC method in the DHCPM. The DHCP server allows for configuration of standard and vendor-specific options at various levels, such as the default level, server level, or scope level, or for a specific reservation. This value is used in conjunction with union DHCP_OPTION_SCOPE_UNION, as defined in the DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure, to specify option values in the RPC methods defined by this protocol.

 typedef  enum _DHCP_OPTION_SCOPE_TYPE
 {
   DhcpDefaultOptions,
   DhcpGlobalOptions,
   DhcpSubnetOptions,
   DhcpReservedOptions,
   DhcpMScopeOptions
 } DHCP_OPTION_SCOPE_TYPE,
  *LPDHCP_OPTION_SCOPE_TYPE;

DhcpDefaultOptions: Option is defined at the default level. The option definition is created or modified on the DHCPv4 server and the default value of the option is stored.

DhcpGlobalOptions: Option is defined at the server level. The option value is added or modified at the DHCPv4 server, which is valid for all scopes in that server.

DhcpSubnetOptions: Option is defined at the scope level. The option value is added or modified at the scope and is valid for that specific scope.

DhcpReservedOptions: Option is defined for a specific IP address reservation. The option value is added or modified for a specific IP reservation in a scope.

DhcpMScopeOptions: Option is defined for a multicast scope. The option value is added or modified for a multicast scope.