• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

Configure DHCP Server and Scope Options in Windows Server 2016

Dimitris Tonias by Dimitris Tonias
February 15, 2018 - Updated on April 21, 2024
in Management
Reading Time: 3 mins read
A A
2
Share on FacebookShare on Twitter

After you have set up your first DHCP Scopes, the next step is to configure DHCP Options. What does this mean; Simply put, you set what the individual options of a DHCP client, such as Gateway, DNS, etc., will be when it receives an IP address.

DHCP Options can be configured at two different levels: Server and Scope.

Configuring DHCP Options at the Server level means that all DHCP clients will have the same options regardless of the Scope they belong to. Correspondingly, by adjusting them to the Scope level, then we can have different options for each Scope separately. How you handle it is purely a matter of your infrastructure needs.

Note that if you have configured DHCP options at both Server and Scope levels, the Scope options on the clients prevail.

Generally, setting up Server and Scope Options is a very easy and simple task. Let’s see how it works.

Configure DHCP Options at Server level

In the DHCP console, expand IPv4 and find the Server Options folder. Here, you’ll see all the settings you’ve already added at the server level.

Configure DHCP Server and Scope Options in Windows Server 2016

To add a new option, right-click Server Options and then click Configure Options.

Configure DHCP Server and Scope Options in Windows Server 2016

In the window, check one or more options and specify its value in the Data entry box. For example, the following figure shows the addition of the Router.

Configure DHCP Server and Scope Options in Windows Server 2016

Configure DHCP Options at Scope level

From the same DHCP console, expand a Scope and go to the Scope Options folder where you will find all the options you have set for this Scope.

To add a new option, right-click Scope Options and then click Configure Options.

Configure DHCP Server and Scope Options in Windows Server 2016

Here, like before, you can add new options by typing what you want and then adjusting the individual parameters in the Data entry box.

Configure DHCP Server and Scope Options in Windows Server 2016

Note that Scope Options can be configured directly even when you create a new DHCP Scope as we saw in a previous article.

Configure Server and Scope Options using PowerShell

To configure both Server Options and Scope Options, use the Set-DhcpServerv4OptionValue cmdlet. It is a good idea to take a look at Microsoft documentation, as I will just mention two typical examples below.

To configure DNS Server, DNS Domain, and Router values at the Server level, use the following command.

Set-DhcpServerv4OptionValue -ComputerName "dc01.meraki.edu" -DnsServer 10.0.0.10 -DnsDomain "meraki.edu" -Router 10.0.0.1

Set-DhcpServerv4OptionValue -ComputerName "dc01.meraki.edu" -DnsServer 10.0.0.10 -DnsDomain "meraki.edu" -Router 10.0.0.1

To set DNS Server, DNS Domain, and Router values ​​at the Scope level, use the following command.

Set-DhcpServerv4OptionValue -ComputerName "dc01.meraki.edu" -ScopeId 10.0.1.0 -DnsServer 10.0.1.10 -DnsDomain "meraki.edu" -Router 10.0.1.1

Set-DhcpServerv4OptionValue -ComputerName "dc01.meraki.edu" -ScopeId 10.0.1.0 -DnsServer 10.0.1.10 -DnsDomain "meraki.edu" -Router 10.0.1.1

Tags: DHCPDHCP ServerWindows Server 2016
ShareTweetPin
Previous Post

Add or remove bindings in DHCP Server 2016

Next Post

Which roles and features supported in Windows Server Core 2016

Related Posts

Approve updates in WSUS 2016
Management

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016
Management

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016
Management

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016
Management

The initial configuration of WSUS 2016

Install WSUS in Windows Server 2016
Management

Install WSUS in Windows Server 2016

Error opening Report Viewer on WSUS 2016
Management

Error opening Report Viewer on WSUS 2016

Comments 2

  1. Jamie says:
    7 years ago

    This a great article thanks for the help!!

    Reply
  2. banumbirr says:
    6 years ago

    We have two DHCP servers(Win2016) configured as Failover load-balanced.
    On the secondary server, I noticed that were no Server Options compared on Primary.
    Should these Options be set exactly as they are on primary, or is it not necessary?
    What is the rule?
    Do i have to set the same Server Options on secondary ?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.