OSDeploy | Sune Thomsen
TwitterLinkedInWindows 365 CommunityMVP ProfileGitHub
  • Home
  • Blog
    • Microsoft Intune
      • How to migrate BitLocker key(s) from all fixed drives to Microsoft Entra ID.
      • Migrate Bitlocker Recovery Key(s) to Azure AD with Proactive Remediation
      • Migrate imported GPOs to Intune with Group Policy analytics (preview)
      • Group Policy analytics (preview) made a bit easier with PowerShell
      • Analyze on-premises GPOs with MEM Group Policy Analytics (preview)
    • Virtual Machine
      • Fix the Hyper-V virtual switches after updating to Windows 11 (22H2)
    • 🆕Windows 365
      • 🆕Windows 365 Boot: Why User-Driven Mode?
      • 🆕Enhancing Security With Intune MAM (preview) for Windows 365
      • The Concept of Windows 365 Switch
      • The Concept of Windows 365 Boot
      • The Concept of Windows 365 Frontline
      • Move Cloud PCs to a new Azure Region or Azure Network Connection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 4. Windows 365 app and Cloud PC reporting
      • Windows 365 End-User Experience (Tips & Tricks) – Part 3. Multimedia Redirection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 2. Teams Optimization, SSO, and Localization
      • Windows 365 End-User Experience (Tips & Tricks) – Part 1. Connection experience
      • How to Configure Windows 365 Azure AD Join Single Sign-on (SSO)
      • Keep Windows 365 current and stay current with Windows Autopatch
      • Provide the end-users with a localized Windows 365 Cloud PC experience
      • How to configure Windows 365 Enterprise Azure AD join
      • How to secure Windows 365 using a FIDO2 security key
      • Prevent sensitive information from being captured on Windows 365 CPCs
      • Manage local administrator rights on Windows 365 Cloud PCs.
      • How to create a custom image for Windows 365 Enterprise Cloud PCs
      • How to reprovision existing Cloud PC (Windows 365) to Windows 11
      • How to configure Windows 365 Enterprise in Microsoft Endpoint Manager
  • Archive
    • Deployment
      • OSDCloud: The ZTI Way
      • OSDBuilder: WinPE Customization
    • Microsoft Configuration Manager
      • ConfigMgr: Run "All" Client Actions During OSD
      • ConfigMgr: WIM Your Applications Like a Boss
      • ConfigMgr: Deploy UWP Applications During OSD
      • ConfigMgr: Building a Basic LAB Environment
        • Part 1 - Installing Windows 10 (1909) on the Host
        • Part 2 - The Host and Hyper-V Configuration
        • Part 3 - Setting up the Domain Controller
          • Active Directory
          • DHCP
          • DNS
        • Part 4 - Setting up Microsoft Endpoint Configuration Manager
          • Prerequisites
          • SQL
        • Part 5 - Setting up Discovery Methods and Boundaries
        • Part 6 - Setting up Software Update Point
      • ConfigMgr: Splash Screen for Driver and BIOS Update
      • ConfigMgr: Global Conditions for Dell WD15 Dock Detection
    • Microsoft Intune
      • Block personally owned devices in Intune with enrollment restrictions
      • Remove Windows 10 built-in apps with Intune & Microsoft Store for Business Apps
    • Windows
      • Win10: Multi-Language Toast Notifications
        • Toast Notification: Low Disk Space
  • Links
    • Blogs
    • Microsoft
    • Scripts
Powered by GitBook
On this page
  • SETTING UP DHCP
  • Installing DHCP
  • Configuring DHCP
  • Configuring DHCP Scope

Was this helpful?

  1. Archive
  2. Microsoft Configuration Manager
  3. ConfigMgr: Building a Basic LAB Environment
  4. Part 3 - Setting up the Domain Controller

DHCP

PreviousActive DirectoryNextDNS

Last updated 5 years ago

Was this helpful?

SETTING UP DHCP

WHAT IS DHCP?

Microsoft Windows Server operating systems includes Dynamic Host Configuration Protocol (DHCP), which is an optional networking server role that you can deploy on your network to lease IP addresses and other information to DHCP clients. All Microsoft Windows client operating systems include the DHCP client as part of TCP/IP, and it's enabled by default.

Read more about Dynamic Host Configuration Protocol

After installing the Active Directory server role on my DC server, it's time to install and configure the DHCP server role, so log into the DC server again, and we will start setting up the DHCP server role for my LAB environment.

Installing DHCP

Step 1. Click "Add roles and features" in the Server Manager.

Step 2. Click "Next"

Step 3. Leave everything default and click "Next"

Step 4. Leave everything default and click "Next"

Step 5. Select "DHCP Server"

Step 6. Leave everything default and click "Add Features"

Step 7. Leave everything default and click "Next"

Step 8. Click "Next"

Step 9. Check the "Restart the destination server automatically if required" box and click "Install"

Step 10. Click "Close"

Configuring DHCP

Step 1. When the server role installation is done, we should now see a yellow triangle with an exclamation mark in the Server Manager, click on it and then click "Complete DHCP configuration"

Step 2. Click "Next"

Step 3. The "User Name" is populated automatically, so leave everything as default and click "Commit"

Step 4. Click "Close"

Configuring DHCP Scope

Step 1. Type "DHCP" in the search line next to the start button, and click "DHCP"

Step 2. Right-click on "IPv4" and then click "New Scope"

Step 3. Click "Next"

Step 4. Enter a name and description for the scope and click "Next"

Step 5. Enter start and end IP address (IP range), a subnet mask and click "Next"

Step 6. Leave everything default and click "Next"

Step 7. Leave everything default and click "Next"

Step 8. Select "Yes, I want to configure these options now" and click "Next"

Step 9. Enter a Router (Default Gateway) IP address and click "Next"

Step 10. It should populate the IP address of the DC server automatically. But if that's not the case, then enter a server name and click "Resolve". Click "Add" to add the IP Address and then click "Next"

Step 11. Leave everything default and click "Next"

Step 12. Select "Yes, I want to activate this scope now" and click "Next"

Step 13. Click "Finish"

Step 14. Expand the scope and click on "Address Pool" to confirm that the IP range has been created.

Step 15. Click "Scope Options" to confirm that the Router and DNS settings are configured correct.

This concludes the DHCP installation and configuration on my DC server, let's configure the DNS server role. Click "Next" below or click "DNS" in the menu to the left.

Give it a subnet mask and a range of address from the private IP range we created in during the Hyper-V configuration.

The Router (Default Gateway) IP address is the IP address of the Virtual NIC that we created in during the Hyper-V configuration.

Part 2
Part 2
here
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP
Windows Server 2019 - DHCP