Here at Cumulus, we try to offer a lot of different tutorials for engineers to learn basic open networking commands and configurations, all the way up to advanced configurations (our how-to videos are a great example). But sometimes I find that there are some critical configurations where your server OS is a major player in how to configure our solution. So for that reason, in this blog post we will configure ONIE and Cumulus ZTP (Zero-Touch Provisioning) IPv4 DHCP Options on a Windows 2016 Server (this should also work with Windows 2012). I’ve broken this up into simple step-by-step instructions so it’s easy to follow. 

The first thing we will do is create the options needed for Cumulus Linux.

1. To begin, right click on IPv4 and select “Set Predefined Options…” 

2. Next, click the “Add” button:

Fill in the Option Type dialog box with the following:

Name: “default-url”

Data type: String

Code: “114”

Description: “Cumulus Binary Install”

Next, click “OK”

3. Clicking on the “OK” button will present you with the following dialog box that will require a String Value:

The “String Value” is the URL towards a binary image of Cumulus Linux.

4. Repeat “Step #2” in order to add the DHCP Option for ZTP:

For this option, we will add the following information:

Name: “cumulus-provision-url”

Data type: String

Code: “239”

Description: “cumulus-provision-url”

Next, click “OK”

5. Exactly like “Step #3”, by clicking on the “OK” button it will present you with the following dialog box that will require a String Value:

The String Value is the URL to the ZTP script. If you’re curious about getting started with ZTP, check out this great blog entry on initial provisioning.

6. The newly created DHCP options are then added to specific DHCP scope “Scope Options:”

Here’s a closer look at this information:

7. It’s very important that this information is added to the “Scope Options” of a specific subnet, and not the “Server Options:”

We have found that ONIE will work not when the DHCP options are set under the more general “Server Options.”

And that’s it! Now you know how to configure ZTP with DHCP on a Windows server. For more basic configurations, check out our how-to video series.