How to Install, Configure, and Test Windows Server 2012 R2 Single Subnet DHCP Server
Part 1 of 4:
Installing the DHCP Server
- Add Roles and Features.
- Boot w12r2a10, if it is not running.
- Log on to the server when it completes booting.
- Notice that Server Manager is displayed upon a successful login using the Administrator account at the console logon prompt.
- Click Add Roles and features to display Add Roles and Features Wizard, Before you begin; it is this wizard that helps you manage roles, role services, and features.
- Click Next to display Select Installation Type.
- Review Select Installation Type options.
- Note that this is a role-based and feature-based installation.
- Click Next to display Select destination server.
- Choose a Destination Server.
- Note that this selection lets you select the server on which you want to do the installation. However in this example, there is only one server so there is only one option.
- Click Next to display Server Role and Feature Wizard so you can make a server role selection.
- Select roles.
- Note that you can highlight a name in the center pane, so you can read the description in the right pane.
- Click the checkbox next to DHCP Server.
- Click Next to display Add Roles and Features.
- Select features.
- Observe this popup is informing you that for DHCP Server to be installed, additional features, not already on the machine, needs to be installed.
- Click Add Features, the popup disappears, and you are shown the DHCP Server checkbox checked.
- Click Next to display a list of features from which you can select.
- Note that in this step no additional selection is needed.
- Click Next to display a screen that gives an overview of DHCP Server.
- Click Next to display the Confirmation installation selections.
- Review the Confirmation installation selections.
- Observe the confirmation step, gives you a chance to make changes to the items previously configured, or continue to accept the selection.
- Click install.
- Click Close when it completes.
- Move on to Configure DHCP Server, and keep learning.
Part 2 of 4:
Configuring the DHCP Server
In this part you will use DHCP Manager to configure DHCP Server.
- Start DHCP Manager
- Click Start, the Windows logo bottom left.
- Click Administrative Tools.
- Double click DHCP to display DHCP Server root.
- Expand w12r2a10.kim.com to display DHCP branches.
- Create scope name
- Expand IPv4 to display a list of folders.
- Right click IPv4.
- Click New scope to display the New scope wizard.
- Click Next to display Scope Name.
- Type net17216150, in Name.
- Type Scope for 17216150 subnet, in Description.
- Click Next to display IP Address Range.
- Expand IPv4 to display a list of folders.
- Specify IP Address Range, the range of addresses to allocate
- Type 172.16.150.1 In Configuration settings for DHCP server, Start IP address.
- Type 172.16.150.100 In End IP address.
- Change Length to 24 in Configuration settings that propagate to DHCP clients.
- Click Next to display Add Exclusions and Delay, leave the default.
- Click Next to display Lease Duration, leave the default.
- Click Next to display Configure DHCP Options.
- Click No, I will configure these options later, because in this example, there are no additional parameters to configure.
- Click Next on Completing the New Scope Wizard.
- Click Finish to display Authorize the DHCP Server.
- Authorize the DHCP
- Note that you can widen the left pane by dragging the divider.
- Right click your DHCP Server root, w12r2a10.kim.com, and click Authorize DHCP, if necessary.
- Right click your DHCP Server root, w12r2a10.kim.com, and verify it says Unauthorize.
- Note that you can widen the left pane by dragging the divider.
- Activate Scope
- Expand IPv4, If necessity in the left pane.
- Click Scope[172…] to display Contents of Scope.
- Click each item under IPV4 and view it in the center pane.
- Notice that there are populated and unpopulated ones.
- Right click Scope[172…]
- Click Activate.
- Right click Scope[172…]
- Notice it says Deactivate.
Part 3 of 4:
Testing the DHCP Server Allocation
In this part, you will reconfigure w7a15 to be a DHCP client and verify that the DHCP Server assigns it an IP address and subnet mask. You will also test the server using release and renew.
- Verify w7a15 static address.
- Power on w7a15, if it is off.
- Type ipconfig, to see the IP settings you configured at the start of the lab.
- Ping 172.16.150.10, which should be successful.
- Verify w7a15 dynamic address
- Reconfigure IP settings to Obtain an IP address automatically.
- Type ipconfig and verify a valid address is displayed and it is not .15.
- Type ipconfig/release, if not valid.
- Type ipconfig/renew, which displays a valid address that is not .15.
- Go to DHCP Manger on w12r2a10 and verify that w7a15 is listed in Address Leases.
- Right click the white area and click Refresh, if w7a15 is not listed.
Part 4 of 4:
Configuring and Testing DHCP Optional Parameters
- Configure DHCP Exclusions.
- Click Address Pool and notice the address range you allocated is listed
- Right click Address Pool
- Click New Exclusion Range
- Note that you can configure a range of addresses or single addresses neither or both
- Type 172.16.150.1 in Start IP address and 172.16.150.30 in End IP address
- Click Add.
- Click Close.
- Click File.
- Click Exit.
- Verify DHCP Exclusions.
- Type ipconfig and verify a valid address is displayed.
- Type ipconfig/release.
- Go to DHCP Manger on w12r2a10 and verify that w7a15 is not listed in Address Leases.
- Right click the white area and click Refresh, if w7a15 is listed.
- Type ipconfig/renew, which displays a valid address that is greater than .30.
- Go to DHCP Manger on w12r2a10 and verify that w7a15 is listed in Address Leases.
- Right click the white area and click Refresh, if w7a15 is not listed.
- Configure DHCP options for DNS server.
- Type ipconfig/all.
- Take a screenshot of the result and save it.
- Verify that the IP address for the DNS server is not displayed.
- Type ping kim.com which should not be successful.
- Notice that this fails, because the DNS server is unknown to w7a15.
- Expand Scope on w12r2a10.
- Right click Scope Options.
- Click Configure Options.
- Click checkbox 006 DNS Server, in Available Options.
- Type w12r2a10 Server name.
- Click Resolve to populate the IP address field.
- Click Add.
- Click OK.
- Type ipconfig/release.
- Type ipconfig/renew.
- Type ipconfig/all.
- Compare this display with the one you previously captured, and notice that the DNS server is shown.
3.5 ★ | 2 Vote
You should read it
- What is DHCP or dynamic host configuration protocol?
- How to configure static IP address on Ubuntu 22.04 LTS and 22.10
- What is a static IP address?
- What is DHCP error? How to overcome it?
- Fix IP address conflict error on Windows computer
- Install and configure Windows Server 2008 DHCP Server
- How to fix IP 169 address error
- Move DHCP from 2000 Server / Server 2003 to Server 2008
May be interested
- How to install Active Directory on Windows Server 2019one of the best features that makes windows server shine in the enterprise arena is the active directory. this single sign-on tool integrates seamlessly and easily with most microsoft products making managing users pretty easy and enjoyable.
- Install and configure Windows Home Servertoday we will introduce you to windows home server and show you how to install and configure it with other computers on your network.
- Configure TCP / IP to use DHCP and static IP address at the same timeto configure your computer to use both dhcp to allocate ip addresses and static ip addresses, follow these steps
- Move DHCP from 2000 Server / Server 2003 to Server 2008dhcp is one of two network-based services that help control network behavior (the other is dns).
- How to configure DNS Server on Ubuntu Server 11.04dns server is a server with domain name resolution function. in this article, we will detail the steps to install and configure dns server on linux with ubuntu server version 11.04.
- How to disable DHCP in Windows 10if you are running a regular home network, devices get their ip addresses through the dynamic host configuration protocol (dhcp).
- Configure Print Driver in Windows Server 2012if you want to add additional drivers to help your clients easily install the printer. please follow the steps below to configure the print driver in windows server 2012.
- How to divide the subnets and the benefits of subnettingby default, a class b address network will allow up to 65,000 device addresses (host addresses). however, in fact, due to technology limitations, no single network can support many such machines. therefore, it is necessary to divide a single network into multiple smaller networks (subnets) and this process is called subneting. in the most general sense, a subnet is a group of devices on the same network segment and shares the same subnet address.
- How to install a VPN on Windows Server 2019today's article is a step-by-step guide on how to install and configure a vpn on windows server 2019. this article will show you how you can easily set up a vpn server for a small environment, branch office or a hosted server. .
- How to install and configure WampServerwampserver is a local server package for windows that allows you to install and host web applications using apache, php and mysql. this article will guide you the steps to install wampserver on your computer.