How to Install and configure DHCP 2016 – (Part1)

Before we install and start to configure DHCP (Dynamic Host Configuration Protocol) let’s take a look at how the process works to obtain an address. It all starts with a DHCP enabled client. This is any machine that you have set to obtain an address through DHCP, through its network settings.
We also need to have a DHCP server, which we’re going to configure in this part. DHCP server has a list of addresses that are available called a scope, that it can issue out to a client that makes a request.
Now the client has to ask for this address, so he’s going to broadcast and this broadcast is going to be on the IP of 0.0.0.0 which is a local network broadcast. Local broadcast is called a DHCP Discover and what’s going to happen is that the DHCP server is going to hear that broadcast and it’s going to respond to the client with a DHCP offer. The offer is going to contain all of the info that the client needs to configure his IP. DHCP will give him an IP and subnet mask and it will make sure that is for that client’s network.
If we have more than one DHCP server the client will take the very first offer that it receives. When it receives that first offer it then sends to that DHCP server a request, for that IP. This DHCP request also lets any of the other DHCP server that may have sent an offer to go ahead and offer that address to somebody else in the future. DHCP server that receives this official request now will hand the client an acknowledgement saying go ahead and use that IP.
We can also manually require this process by using an ipconfig /release\renew command.
Our configuration will start by installing DHCP role. We can install it via Powershell or Server Manager.
Powershell Command
Install-WindowsFeature -Name DHCP -IncludeManagementTools

Let’s go ahead and install it through the Server Manager as well. Open Server Manager and click on Manager –> Add Roles and Features

Before you begin page will pop-up. Click Next
On Select Installation Type page, click next

On Server Selection page, click next

On Server Roles page, click on DHCP Server. Now as soon as I select it, it comes up and says, do you want to include the management tools? Click Add Feature and click Next.

We don’t need anything additional from there, so walk through the wizard accepting the defaults and click Install.
OBS! You don’t need to restart the server after this installation.

The installation has completed. Notice that it says complete the DHCP configuration.
Go ahead and click on the link.

Description page will pop-up. Hit Next

On Authorization page click Commit.

Click Close 2 times. First to close the Summary page and second to close the installation progress page.

Now let’s make sure that I actually got a DHCP server. Open Server Manager and click on Tools –> DHCP


One of the things I like to do is verify that I have a DHCP service and that it’s running.
Open Powershell and type in Get-Service -Name DHCP

That’s it. Now we are ready to configure our DHCP server. In second part we will move forward and create and configure Scopes.
No comments:
Post a Comment