DHCP Server Configuration in Windows Server 2012

DHCP Server Configuration in Windows Server 2012

This article explains how to install and configure DHCP Server on Microsoft Windows Server 2012. Free step by step guide for DHCP Server  installation and configuration on Windows Server 2012.

A DHCP Server provides an automatic IP lease to its client in the network – you do not need to provide any IP details to the computer in a network environment. 

It has two parts.

DHCP Server – Provides IP Lease to computers

DHCP Client – Sends request to DHCP Server for IP Lease

Default Lease Duration – 8 Days

Renew IP Lease Request – 85 % of Lease Expire – if DHCP server is not available, the lease expires

DHCP Work on two Ports: 67-68

DHCP Server should have Static IP address

You can define the scope for IP Lease

You can reserve or exclude IP address for devices

Let’s get started.

1. Login to the Test Server.

2. Now login onto the server, as shown below.

DHCP Server Configuration in Windows Server 2012

3. Enter your username and password (ABC\administrator) and click OK, as shown below.

username and password

 

4. On the certificate verification window, click Yes.

certificate verification window

5. The next window will show the Server desktop.

windows will show the Server

6. Open the Server Manager from the bottom left corner of the server desktop, as shown below.

Server Manager

7. Click on Add Roles & Features from the Server Manager Dashboard, as shown below.

Add Roles & Features

8. Click on Next to begin the process, as shown below.

Next to Begin

9. By default, Role-based or feature-based Installation is selected already, so simply click Next, as shown below.

Role- based or feature

10. On the next window, continue with default server (Test) selection and click Next, as shown below.

default server (Test) selection

11. Select DHCP Server role and click Next, as shown below.

DHCP Server

12. When you select the DHCP Server option, the Add Role & Feature Wizard will open.  Click Add Features, as shown below.

Add Role & Feature Wizard

13. You will be directed back to the Server Role screen, so click Next to continue, as shown below.

You will be directed

14. Click Next to continue, as shown below.

shown below

15. Click Next to continue, as shown below.

Next to Continue

16. On the DHCP Server Role page, click Next to Continue.

DHCP Server Role page

17. Click Install to confirm the Installation Selection and install the DHCP Service.

confirm the Installation

18. You can see that installation is in process, as shown below.

installation is in Process

19. Once the installation has finished, click Close, as shown below.

installation has finished

20. Open DHCP from the Tool menu in the top right corner of the Server Manager Dashboard, as shown below.

Server Manager Dashboard

21. You can see that the DHCP server has been installed with Test.abc.com, as shown below.

DHCP server has been installed

22. Is is showing two versions – IP version 4 & 6. Currently, we are working on IP V4 standard.

23. To provide an IP lease, we have to create a Scope first – Scope is a pool of IP Addresses, the same pool from which we pick an address to assign to this Client computer. A DHCP Server can have single as well as multiple scopes.

24. To create Scope, right-click on IPV4, and click New Scope, as shown below.

DHCP server has been installed

25. New Scope Wizard will open, so click Next to Continue.

New Scope Wizard

26. Give the Scope a Name & Description, then click Next to Continue, as shown below.

Name & Description

27. Provide the IP Range in Start IP Address & End IP Address and the Subnet, and length will be calculated automatically.  Click Next to continue, as shown below.

Start IP Address & End IP Address

28. In the Add Exclusion & Delay window, provide the IP range to exclude, and click Add, as shown below.

Add Exclusion & Delay

28-1

29. In the Lease Duration window, click Next to continue.

Lease Duration window,

30. On the next window, click Yes I want to configure these options now, then click Next to continue, as shown below.

Next to continue, as shown below

31. Give Router (Default Gateway) IP address and click Add.

Router (Default Gateway)

32. On DNS Server option, click Next to Continue.

DNS Server option

33. On WINS Server option, click Next to continue.

WINS Server option

34. On Activate Scope window, select Yes I want to activate now, then click Next, as shown below.

Activate Scope window

35. Click Finish to complete the wizard.

Click Finish to complete the wizard

36. Now you can see that the DHCP server has been configured.  You can see the following information in the below screenshot:

  • DHCP Scope
  • IP Pool
  • Exclude IP Range

DHCP Scope

37. In the Scope option, you can see the DHCP server option, as shown below.

Scope option

38. If you want to assign an IP address permanently, for a particular device, you can use the Reservation option. By doing this, that device will have the same IP address every time it restarts. You can see that there is no reserved IP address in this instance, as shown below.

Permanently

39. To assign an IP address, right-click on Reservation and click New Reservation.

assign an IP address

40. Fill in the reservation information and click Add, as shown below.

reservation information

41. Click Yes on the warning pop-up window, as shown below.

 warning

42. You can now see the reserved IP address for the printer.

reserved IP address

This is how we can configure the DHCP Server.

Read more

Practice Exams

Tutorial

Study Guide

Interview Questions

Resume