3.1.4.9 ValidateDhcpScope
This section captures the common validation rules for the DhcpScope data. The rest of the section assumes the DhcpScope to be validated is passed as a parameter with the name Param_dhcpScope.
Param_dhcpScope MUST be a valid DhcpScopeV4 or DhcpScopeV6 object as specified in section 2.2.4.57 or section 2.2.4.58 respectively.
Bit-wise AND operation between Param_dhcpScope.StartAddress and Param_dhcpScope.SubnetMask MUST yield Param_dhcpScope.ScopeId.
Similarly, Bit-wise AND operation between Param_dhcpScope.EndAddress and Param_dhcpScope.SubnetMask MUST yield Param_dhcpScope.ScopeId.
Param_dhcpScope.StartAddress MUST be less than Param_dhcpScope.EndAddress.