A step-by-step guide to setting up an enterprise-level network environment using Hyper-V, Windows 10, and Windows Server 2022. Includes AD domain setup, DHCP, DFS, PowerShell automation, and more.
View the Project on GitHub hexwarrior6/Enterprise-Network-Setup-with-Windows-Server
In this chapter, we will configure the DHCP service to automatically assign IP addresses to clients and implement DHCP failover, simplifying network management and enabling a highly available network environment.
Open Server Manager
on DC01
Click Manage
-> Add Roles and Features
from the top menu
In the Add Roles and Features Wizard, select Server Roles
from the left menu and check DHCP Server
.
When prompted, click Add Features
, then continue clicking Next
On the confirmation page, click Install
to begin installing the DHCP role
After installation completes, click Complete DHCP Configuration
to continue with post-install setup
On the DHCP Configuration Wizard
page, click Next
Leave settings as default and click Commit
to complete basic configuration
After configuration, click Close
to proceed to the next step
From the server console, open Tools
-> DHCP
Right-click on IPv4
and select New Scope
to open the New Scope Wizard
Enter a scope name such as bread-makers DHCP
, then click Next
192.168.1.100
192.168.1.200
Next
192.168.1.100
192.168.1.110
Add
to include it in exclusions, then click Next
Keep the lease duration at the default (8 hours), click Next
Choose whether to configure DHCP options now – click Next
192.168.1.100
(DC01)192.168.1.101
(DC02)Next
Keep the domain name and DNS server settings as default, click Next
Keep WINS server settings as default, click Next
Select to activate the DHCP scope, click Next
The wizard is complete – click Finish
to finish configuration
✅ Verification Step:
In the DHCP
management interface, expand bread-makers DHCP
-> Address Pool
. You should see the successfully created IP range: 192.168.1.100 - 192.168.1.200
.
Before completing this section, ensure that the DHCP server role has already been installed on DC02. Refer to the earlier steps:
On DC01, open Tools
-> DHCP
Right-click on IPv4
and select Configure Failover
to open the Configure Failover Wizard
Since there’s only one DHCP scope currently, it will be selected automatically – click Next
On the “Select Partner Server” page, click Add Server
-> Browse
, and enter DC02
Click Check
to verify all tabs are green, then click Next
Set a shared secret (recommended to use a strong password) for secure communication, then click Next
Review the configuration summary and click Finish
to complete the wizard
✅ Verification Step:
On DC02, open the DHCP
manager and expand bread-makers DHCP
-> Address Pool
. You should see the synchronized IP range 192.168.1.100 - 192.168.1.200
, confirming that failover has been successfully configured.
In this chapter, we completed the following tasks:
In the next chapter, we will explore how to set up DFS (Distributed File System) to enable enterprise-level file sharing and storage management.