Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Install and Configure DHCP Server in Windows Server 2012

Dynamic host configuration protocol (DHCP) is one of the most commonly implemented network services in today’s network environments. DHCP (Dynamic Host Configuration Protocol) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of IP addresses.

DHCP is primarily used to automatically distribute critical IP configuration settings to network clients, eliminating the tedious and burdensome task of manually configuring hosts on TCP/IP-based networks. It also provides configuration information and interacts with other networking services such as domain name system (DNS), windows deployment services (Windows DS) and network access protection (NAP).

Without DHCP service, you have to individually configure each network client with the correct internet protocol settings, including the IP address, the network’s subnet mask, the default gateway, and the DNS server address. These settings are necessary for the network clients to communicate within and outside their network locations. You have to repeat this manual configuration process any time you bring a new device to the network or you move one to a different subnet.



Many organizations manage hundreds or thousands of network client devices, including smart phones, tablets, desktop computers, and laptops. The DHCP service helps to ensure that all network clients have correct configuration settings, eliminating fat fingers and other human errors that may occur when we have to enter the information manually. Network configuration changes can be updated on the DHCP server without having to change the information directly on each client computer.

There are essentially three steps needed to successfully setup a DHCP server:

Add the DHCP Role
Configure a new scope and scope options
Authorize the DHCP Server

Ensure the computer has at least one static IP address assigned before starting the role installation.

Add the DHCP Role

Before we process First thing we need to do is add the DHCP Role to the server. To do this open Server Manager, select Add roles and features.



Now on next screen  Select Role-based of featured-based installation and select Next.



In the Server Selection Page, Your current server should already be selected, if not, select the server you want to work with under SERVER POOL then click Next



Now on the On the Select server roles page, select the DHCP Server check box.



In the Add Roles and Features Wizard, click Add Features, and then click Next. On the Select features page do not do any selection , click Next. also click next on On the DHCP Server page.


"Now on the configuration and Installation selection progress page, wait until the Installation succeeds. this will take some time to complete.


The last page of the wizard (which comes up after the role has been installed), provides a link – “Complete DHCP configuration”. This provides some tasks that need to be performed to enable the DHCP server role to work properly after role installation. click on it.



Launch the DHCP post-install wizard and complete the steps required.
Creation of DHCP security groups (DHCP Administrators and DHCP Users). For these security groups to be effective, the DHCP server service needs to be restarted. This will need to be performed separately by the administrator. click on next .


Authorization of DHCP server in Active Directory (only in case of a domain-joint setup). In a domain joined environment, only after the DHCP server is authorized, it will start serving the DHCP client requests. Authorization of DHCP server can only be performed by a domain user that has permissions to create objects in the Net services container in Active Directory.


 Now click close to complete the Roll installation.

Configure DHCP Server 

In case completing of the post-install step is missed after role installation, the administrator will continue to see a notification on the action pane and also a link on the DHCP role tile on the main Server Manager page suggesting that some configuration is required. That link would go away only after completion of the post-install task.


 Now on Server manager Click on DHCP shown bellow to Dashboard.


Now select your server and right click on it here you will show option DHCP manager. select the option.

On the opened DHCP snap-in, from the left pane, expand the server name.



From the displayed tree, right-click IPv4, and click New Scope.

When the New Scope Wizard dialog box appears, click Next.


On the Scope Name screen, enter the name of your new scope. You should give it a description to document its purpose. When done, click Next.

On the IP Address Range screen, enter a starting IP address followed by an Ending IP address. This create the scope’s range, which will be used to assign addresses to clients.


Under Configurating settings that propagate to DHCP client section of the IP Address Range screen,  either enter a subnet bit length (CIDR) in the Length field, or enter the dotted decimal notation of the subnet mask. for Ex : i am assigning from 192.168.1.110 to 192.168.1.200 total 90 Addresses.  Now click next.

On the Add Exclusions and Delay window, leave everything as default and click Next.

On the Lease Duration window, leave the default settings intact for now and click Next.

On the Configure DHCP Options window, make sure that Yes, I want to configure these options now radio button is selected, and click Next.


Now on the Router (Default Gateway) window, in the IP address field, type the IP address of the router that is used as the default gateway for the local network, and click Add to add the address to the list.


For ex : my router IP address is 192.168.1.1 type the address and click on Add then click next.
On the Domain Name and DNS Servers window, make sure that the IP address of the DNS server is displayed in the IP address list, and click Next. (If the IP address is not listed,
you can add it manually.).

On the WINS Servers window, click Next leaving everything as default.

On the Activate Scope window, make sure that the Yes, I want to activate the scope now radio button is selected, and click Next.


Now On the final window, click Finish to complete the new scope creation and activation process.
If you boot up a client that has DHCP enabled, you can see it within the Address Leases section.
Expand IPv4, then Scope, then click on Address Leases. You might have to right-click Adress Leases and select Refresh to see the changes.

DHCP reservation

A DHCP reservation is a given IP address from within a scope that is set aside for lease to a specific DHCP client. DHCP reservation ensures that the IP addresses that you reserve from a configured scope are not leased to any other device in the network. A DHCP reservation also ensures that devices with reservations are certain to have their IP address even if a scope runs out of available IP addresses. The device’s network interface media access control (MAC) address or physical address is necessary to configure a reservation. If the client is already leasing an IP address from a Windows Server 2012 DHCP server, its MAC address will be available from the DHCP management console.

Lets See How to Reserve Any ip for particular machine 

In the DHCP console, from the left tree view expand the scope you want to add reservations to.
Select and then right-click Reservations. When the context menu appears, click New Reservation


Give the reservation a name. You should probably use the hostname of the server you are reserving the address for. Assign the IP address.


Enter the MAC address of the servers network interface.
Document the purpose of the reservation by entering a description.
Under Support types, select either Both, DHCP or BOOTP.

See Step By Step video Guide to Install and Configure DHCP on windows Server 2012 R2



Have any query comment bellow ,Send us your computer and windows related question to [email protected] we will try our best to give you the best solution.
Like our facebook page : http://www.facebook.com/windows101tricks
visit our blog : http://www.windows10trickss.blogspot.com


This post first appeared on Windows101Tricks - Windows 11 And Windows 10 How To Guide, please read the originial post: here

Share the post

Install and Configure DHCP Server in Windows Server 2012

×

Subscribe to Windows101tricks - Windows 11 And Windows 10 How To Guide

Get updates delivered right to your inbox!

Thank you for your subscription

×