To configure a DHCP server on Windows 11, install the DHCP Server role via Server Manager, authorize it in Active Directory (if domain-joined), then create and configure scopes through the DHCP Microsoft Management Console (MMC) snap-in. This enables automatic IP address assignment to network clients.
What You'll Need
- A Windows 11 Pro, Enterprise, or Education edition (DHCP Server role is not available in Home edition)
- Administrator privileges on the local machine
- A static IP address configured on the server (recommended before installing DHCP)
- Optional: Access to Active Directory domain controllers if authorizing the DHCP server in a domain environment
Step-by-Step
- Open Server Manager: Press Win + X and select 'Server Manager' from the menu.
- In Server Manager, click 'Manage' > 'Add Roles and Features' to launch the Add Roles and Features Wizard.
- Click 'Next' on the 'Before You Begin' page.
- Select 'Role-based or feature-based installation' and click 'Next'.
- Choose 'Select a server from the server pool', ensure your local machine is selected, and click 'Next'.
- On the 'Server Roles' page, check the box for 'DHCP Server'. When prompted to add required features, click 'Add Features', then click 'Next'.
- On the 'Features' page, click 'Next' (no additional features are required for DHCP Server).
- On the 'DHCP Server' page, read the information and click 'Next'.
- On the 'Confirmation' page, verify that 'DHCP Server' is selected, then click 'Install'.
- Wait for the installation to complete. Do not close the wizard until installation finishes.
- After installation, click 'Close' on the wizard.
- Back in Server Manager, click the flag notification icon (notifications) > 'Complete DHCP configuration'.
- This launches the DHCP Post-Install configuration wizard. Click 'Next'.
- On the 'Authorization' page:
- If the machine is domain-joined: Enter credentials of an Enterprise Admin or use the current logged-in admin if authorized, then click 'Commit'.
- If the machine is in a workgroup: Select 'Skip AD authorization' (not recommended for production networks), then click 'Next'.
- Click 'Close' to finish post-install configuration.
- Open DHCP Manager: In Server Manager, go to 'Tools' > 'DHCP'.
- In DHCP Manager, right-click your server name (e.g., 'WIN11-DHCP') and select 'New Scope' to start the New Scope Wizard.
- Click 'Next' on the welcome screen.
- Enter a name and description for the scope (e.g., 'Office Network'), then click 'Next'.
- Define the IP address range:
- Start IP: e.g., 192.168.1.100
- End IP: e.g., 192.168.1.200
- Subnet mask: usually 255.255.255.0 (will auto-fill based on IP)
- Click 'Next'.
- Add exclusions (if any): Enter IPs to exclude from the range (e.g., for static devices like printers), then click 'Next'.
- Set lease duration: Default is 8 days; adjust if needed (e.g., 3 days for guest networks), then click 'Next'.
- Configure DHCP Options:
- Select 'Yes, I want to configure these options now' and click 'Next'.
- Router (Gateway): Enter the IP of your default gateway (e.g., 192.168.1.1), then click 'Next'.
- Domain Name and DNS Servers: Enter your domain (if applicable) and DNS server IPs (e.g., 192.168.1.10, 8.8.8.8), then click 'Next'.
- WINS Server: Only if using legacy WINS; otherwise, click 'Next'.
- Click 'Finish' to create the scope.
- The new scope appears under IPv4 in DHCP Manager. Right-click it and select 'Activate' to enable it.
- Verify activation: The scope icon should show no red downward arrow.
- (Optional) Configure IPv6: Right-click 'IPv6' under your server, choose 'New Scope', and follow similar steps if IPv6 DHCP is needed.
- Test the DHCP server: On a client device, set network adapter to obtain IP automatically, then run
ipconfig /renewin Command Prompt to confirm it receives an IP from your scope.
Common Mistakes
- Installing DHCP on Windows 11 Home edition: The DHCP Server role is not available; upgrade to Pro, Enterprise, or Education.
- Forgetting to set a static IP on the server before installing DHCP: A dynamic IP can cause the DHCP service to bind incorrectly or fail after reboot.
- Skipping AD authorization in a domain environment: Unauthorized DHCP servers are blocked by the network; clients won't receive leases.
- Creating overlapping scopes: Ensure IP ranges do not overlap with other DHCP servers or static assignments on the same subnet.
- Setting an excessively short lease time (e.g., less than 1 hour): Increases renewal traffic unnecessarily; 3-8 days is typical for wired networks.
- Incorrect router (gateway) setting: Clients will get an IP but cannot reach the internet or other subnets.
- Forgetting to activate the scope: The scope must be explicitly activated after creation.
Tips
- Reserve IPs for critical devices: Right-click the scope > 'New Reservation', enter device name, MAC address, and desired IP to ensure consistent addressing (e.g., for servers or printers).
- Document your scope settings: Keep a record of IP range, exclusions, reservations, and options for troubleshooting and auditing.
- Monitor DHCP logs: In DHCP Manager, right-click the server > 'Properties' > 'Advanced' > enable logging to track lease assignments and issues.
- Use split-scope for redundancy: If deploying a second DHCP server, configure 80/20 split (e.g., Server 1: 192.168.1.100-150, Server 2: 192.168.1.151-200) to avoid conflicts.
- Test changes during maintenance windows: Avoid making DHCP changes during peak hours to prevent client disruption.
- Ensure the DHCP Server service is set to start automatically: In Services.msc, verify 'DHCP Server' startup type is 'Automatic'.
Troubleshooting
- Clients not receiving IP addresses:
- Check that the DHCP Server service is running (Services.msc).
- Verify the scope is activated and has available addresses.
- Confirm the server has a static IP and is not using a conflicting address.
- Ensure no firewall is blocking UDP ports 67 and 68 (DHCP).
- In a domain, run
netsh dhcp show serverto confirm authorization.
- Clients getting APIPA addresses (169.254.x.x):
- Indicates DHCP discovery failed. Check network connectivity, VLAN settings, and that the client is on the correct subnet.
- Verify the DHCP server is not disabled or overwhelmed (check event logs).
- Clients getting incorrect gateway or DNS:
- Double-check DHCP scope options 003 (Router) and 006 (DNS Servers).
- Check for conflicting DHCP servers on the network (use
dhcploctool or Wireshark to detect).
- DHCP service fails to start:
- Check System Event Log for errors (Event Viewer > Windows Logs > System).
- Common causes: Port conflict (another service using UDP 67), missing dependencies, or corrupted registry.
- Try restarting the server or reinstalling the DHCP role.
- Unauthorized DHCP server warnings in domain:
- Open DHCP Manager, right-click the server, and select 'Authorize'.
- Require Enterprise Admin credentials.
Frequently Asked Questions
Can I run DHCP on Windows 11 Home?
No, the DHCP Server role is only available in Windows 11 Pro, Enterprise, and Education editions. Home edition lacks the necessary role services.
Do I need to authorize the DHCP server in Active Directory?
Yes, if the server is domain-joined. Authorization prevents rogue DHCP servers. In workgroups, authorization is skipped but not recommended for production.
What is the default lease duration for DHCP on Windows Server?
The default lease duration is 8 days, but it can be adjusted per scope based on network needs (e.g., shorter for guest networks, longer for stable devices).
Can I configure DHCP reservations for wireless devices?
Yes, reservations work based on MAC address, so they apply to any device—wired or wireless—as long as the MAC address is known and correctly entered.
Why do clients get an IP but no internet access?
This usually means the router (gateway) option (003) is misconfigured or missing. Verify the correct gateway IP is set in the scope options.
Is it safe to install DHCP on a domain controller?
While technically possible, it's not recommended. DHCP and domain controller roles should ideally be on separate servers for performance, security, and stability reasons.