Tutorials

 Für unsere deutschen Kunden Premier Support ist auch in deutscher Sprache verfügbar. Wir helfen Ihnen gerne bei allen Ihren Migrationsproblemen.
Install and configure DHCP on Windows Server 2012 Essentials

Install and configure DHCP on Windows Server 2012 Essentials

In a default setup of Windows Server 2012 R2 Essentials DHCP is not installed and handing out IP addresses is left to a router in your network. I always disable DHCP on that router and enable it on the Essentials server because it gives much more flexibility in configuring my network. How you disable DHCP on your router depends on the type of router you have.

Please read the manual of your router for this procedure and make sure not only IP4 DHCP server is disabled but also disable the IP6 DHCP server if you have one.

  1. Open Server Manager on your server and click on the Ethernet adapter that is used for your network. BTW, if you have more then one network adapter and you do not use them with your server I suggest you disable them in device manager or in the bios of your server.How to install and configure DHCP on Windows Server 2012 Essentials
  2. We need to find out what the IP address and gateway is when the server is still connected to the router with DHCP enabled. Click on status.
    How to install and configure DHCP on Windows Server 2012 Essentials
  3. Click details
    How to install and configure DHCP on Windows Server 2012 Essentials
  4. Write down the IPv4 Address and the Gateway. That is what we need later to set the server to use a static address. After you have done this close this window.
    How to install and configure DHCP on Windows Server 2012 Essentials
  5. Go back to the Nic properties and click Properties.
    How to install and configure DHCP on Windows Server 2012 Essentials
  6. Select TCP/IPv4 and click Properties.
    How to install and configure DHCP on Windows Server 2012 Essentials
  7. We found previously that the IP address handed out by our router was 192.168.160.128 and you could use that as the static address for your server but I always put the server on an address that ends on .5. That comes from the old days with SBS where this was done by the setup wizards. You can do the same as long as the address is on the same subnet as the default gateway. Click OK and close all windows. You can now disable the DHCP server on your router.
    How to install and configure DHCP on Windows Server 2012 Essentials
  8. From the Server Manager choose ‘Add roles and features’.
    How to install and configure DHCP on Windows Server 2012 Essentials
  9. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  10. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  11. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  12. Check DHCP Server
    How to install and configure DHCP on Windows Server 2012 Essentials
  13. Choose Add Features
    How to install and configure DHCP on Windows Server 2012 Essentials
  14. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  15. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  16. Click next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  17. Choose Install.
    How to install and configure DHCP on Windows Server 2012 Essentials
  18. Setup installs the DHCP server and the options you choose.
    How to install and configure DHCP on Windows Server 2012 Essentials
  19. After it is ready click ‘Complete DHCP configuration’.
    How to install and configure DHCP on Windows Server 2012 Essentials
  20. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  21. Accept the defaults and click Commit
    How to install and configure DHCP on Windows Server 2012 Essentials
  22. Click Close after all is done.
    How to install and configure DHCP on Windows Server 2012 Essentials

Configure the DHCP scope and options.

  1. From the Server Manager choose Tools –> DHCP
    How to install and configure DHCP on Windows Server 2012 Essentials
  2. Right Click the IPv4 hive and choose ‘New Scope’.
    How to install and configure DHCP on Windows Server 2012 Essentials
  3. Click Next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  4. Give it a name and a description and click Next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  5. I always choose to start at .20 and end at .254 but your ideas may differ.
    How to install and configure DHCP on Windows Server 2012 Essentials
  6. In this setup I create an exclusion from .20 to .25. Those IP addresses will be later used for printers.
    How to install and configure DHCP on Windows Server 2012 Essentials
  7. Click Next
    How to install and configure DHCP on Windows Server 2012 Essentials
  8. Yes, we want to configure options now. Click Next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  9. Add the gateway and click next
    How to install and configure DHCP on Windows Server 2012 Essentials
  10. Our server is already completely installed and that means it is a domain controller and because it is the only domain controller in our domain it also has the DNS role installed and the setup wizard already found that we have a DNS server running at the IP address of our server. Click next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  11. No WINS for our domain, click Next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  12. Yes, activate the new scope and click next.
    How to install and configure DHCP on Windows Server 2012 Essentials
  13. Click Finish.
    How to install and configure DHCP on Windows Server 2012 Essentials
  14. Make sure you have all green checkmarks. If you do not have that restart the DHCP server and check again.
    How to install and configure DHCP on Windows Server 2012 Essentials

Now it is time to start a client on your network and check if the DHCP server does the job for you! If you have verified all is working you can disable the service called ‘Windows Server LAN Configuration’. That service is only needed when the Essentials Server does not have the DHCP server role installed.

Subscribe and receive ‘how to’ and ‘best practice’ articles on server and cloud maintenance, design and troubleshooting.

  • Monthly newsletter with a summary of all new tutorials
  • Get an email as soon as a new tutorial has been published

About www.server-essentials.com 

www.server-essentials.com is founded by Mariette Knap, a Dutch Microsoft MVP. www.server-essentials.com is a community for IT Consultants and Business Owners who, themselves, take care of the IT infrastructure and Employees who do that little extra in the company to keep things running. Our forum is for discussing all things ‘IT’ and more.  Our documentation is top notch and written by and for the community.

Change your cookie settings


 
Contact Us

Concentrix BV

C. de Rijcklaan 1

3723 PM Bilthoven

The Netherlands

KvK 30202318

VAT Id 814036739B01

The layout of this page is made to be viewed online.