In the previous recipe, Installing and authorizing a DHCP server, you installed and authorized a DHCP server. But before that server can begin to provide IP address configuration information to DHCP clients, you need to create a scope and options. The scope is the set of DHCP addresses DHCP can give out, while the options are specific configuration options your DHCP server provides along with an IP address.
Before you can configure DHCP scopes and options, you need to have completed the earlier Installing and authorizing a DHCP server recipe on DC1
.
- Create a DHCP scope:
Add-DhcpServerV4Scope -Name 'Reskit' ` -StartRange 10.10.10.150 ` -EndRange 10.10.10.199 ` -SubnetMask 255.255.255.0 ` -ComputerName DC1.Reskit.Org
- Get scopes from the server:
Get-DhcpServerv4Scope -ComputerName DC1.Reskit.Org
- Set DHCP
OptionValues
:
Set-DhcpServerV4OptionValue -DnsDomain...