A simply Windows 10 Technology Blog.

Sponsored

Install and Configure DHCP Server in Windows Server 2012

0 41

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 server 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.

How To Configure DHCP Server

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

And 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.

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.
DHCP Server

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.
 Installation selection progress page

Complete DHCP configuration




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 .
Complete DHCP configuration-02

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.
DHCP-manager

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

Create New Scope

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.
create-new-scope

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. Now 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.
new-scope-wizard

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.).

Configure WINS server

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.
wins-server-configure

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
reserv-ip-address

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

0 41

I am Srikant sahu. ( Die heart fan of windows 10 ) IT Engineer, computer lover and part time blogger. My main Aim Of Writing Blog share my computer Experience with everyone.

Subscribe to our newsletter
Subscribe to our newsletter
To get the latest Windows 10 tips, Tricks, Fix errors and Feature Post updates directly to your inbox.
You can unsubscribe at any time
You might also like
Leave a comment