Study guide
11.2 DHCP Scopes, Option Hierarchy, Reservations & Relay Agents
Administering Windows Server Hybrid Core Infrastructure AZ-800
Track your progress as you read
Finished sections get a check mark.
1 Introduction & Exam Overview
About Exam AZ-800: Format, Scoring & the September 2026 Retirement
2 Chapter 1: Active Directory Domain Services Architecture & Deployment
1.1 Deploying & Managing Domain Controllers On-Premises 1.2 Domain Controllers in Azure IaaS & Virtualized DC Cloning 1.3 Read-Only Domain Controllers (RODCs) & Password Replication Policies 1.4 Flexible Single Master Operation (FSMO) Roles & Troubleshooting 1.5 Active Directory Sites, Subnets & Site Link Topology 1.6 AD DS Replication: Topology Generation, Convergence & Diagnostics 1.7 Forest and Domain Trust Relationships
3 Chapter 2: AD DS Security Principals, Service Accounts & Domain Join
2.1 Managing Users, Groups & Objects in Multi-Domain and Multi-Forest Environments 2.2 Service Account Types & Group Managed Service Accounts (gMSA) 2.3 Joining Windows Server to AD DS, Microsoft Entra Domain Services & Microsoft Entra ID 2.4 Creating & Managing Users, Groups and Organizational Units at Scale
4 Chapter 3: Hybrid Identity & Microsoft Entra Integration
3.1 Microsoft Entra Connect Sync Architecture, Installation & Filtering 3.2 SourceAnchor, Synchronization Rules & Microsoft Entra Connect Health 3.3 Microsoft Entra Cloud Sync & Disconnected Multi-Forest Topologies 3.4 Hybrid Authentication Methods & Staged Rollout 3.5 Microsoft Entra Domain Services 3.6 Integrating Microsoft Entra ID, AD DS & Entra Domain Services: Choosing an Architecture
5 Chapter 4: Group Policy in AD DS and Hybrid Environments
4.1 Group Policy Architecture & Processing Order (LSDOU) 4.2 Group Policy Filtering, Loopback Processing & Client-Side Extensions 4.3 Group Policy Preferences, Item-Level Targeting & Central Store 4.4 Group Policy in Microsoft Entra Domain Services & Fine-Grained Password Policies
6 Chapter 5: Remote Server Management in Hybrid Environments
5.1 Windows Admin Center (WAC) Deployment On-Premises and in Azure 5.2 PowerShell Remoting, WinRM & the Kerberos Double-Hop Problem 5.3 Just Enough Administration (JEA) for Constrained PowerShell Endpoints 5.4 OpenSSH on Windows Server & PowerShell Remoting over SSH 5.5 Secure RDP Access, Remote Desktop Gateway & Azure Bastion
7 Chapter 6: Hybrid Management with Azure Arc and Azure Services
6.1 Azure Arc-Enabled Servers Architecture & Onboarding 6.2 Azure Machine Configuration & VM Extensions on Arc Servers 6.3 Azure Update Manager: Assessment, Maintenance Configurations & Dynamic Scoping 6.4 Azure Automation for Hybrid Workloads: Runbooks & Hybrid Runbook Workers
8 Chapter 7: Hyper-V Virtualization & Virtual Machine Configuration
7.1 Hyper-V Type 1 Architecture, Installation & Hardware Prerequisites 7.2 VM Generations, Secure Boot, vTPM, Enhanced Session Mode & Direct VM Access 7.3 Compute, Dynamic Memory & Hardware Acceleration 7.4 VM Resource Controls, CPU Groups & Host Compute Partitioning 7.5 Hyper-V Virtual Hard Disks & Checkpoint Management 7.6 Hyper-V Virtual Switches, NIC Teaming & Switch Embedded Teaming (SET) 7.7 Integration Services, Guest Components & Time Synchronization
9 Chapter 8: Hyper-V High Availability, Security & Containers
8.1 Hyper-V Failover Clustering & Cluster Shared Volumes (CSV) 8.2 Hyper-V Replica & Azure Site Recovery (ASR) 8.3 Guarded Fabric & Shielded Virtual Machines 8.4 Windows Server Container Hosts, Isolation Models & Images 8.5 Managing Container Instances & Linux Containers with WSL 8.6 Windows Container Networking & AKS Enabled by Azure Arc 8.7 Managing Container Images, Tags & Azure Container Registry
10 Chapter 9: Azure IaaS Virtual Machine Administration
9.1 Azure VM Sizing, Series Selection & Managed Disk Tiers 9.2 Azure VM Host Caching, Disk Bursting, Ephemeral OS Disks & Disk Operations 9.3 Azure VM High Availability: Availability Sets, Zones & Proximity Placement Groups 9.4 Virtual Machine Scale Sets, Autoscale & Azure Dedicated Hosts 9.5 Azure VM Networking, NSGs & Connectivity
11 Chapter 10: Hybrid DNS Infrastructure & Name Resolution
10.1 Active Directory-Integrated DNS Architecture, Dynamic Updates & Zone Types 10.2 DNS Records, Aging & Scavenging and the GlobalNames Zone 10.3 DNS Forwarding, Conditional Forwarding & Azure DNS Zone Integration 10.4 Hybrid Name Resolution with Azure DNS Private Resolver 10.5 Windows Server DNS Policies & DNSSEC
12 Chapter 11: IP Addressing, DHCP & IPAM Management
11.1 DHCP Server Role, the DORA Lifecycle & Active Directory Authorization 11.2 DHCP Scopes, Option Hierarchy, Reservations & Relay Agents 11.3 DHCP High Availability & Failover Configurations 11.4 IP Address Management (IPAM) Deployment & Auditing 11.5 Resolving IP Address Issues in Hybrid Environments
13 Chapter 12: Hybrid Network Connectivity, Remote Access & Private Access
12.1 Remote Access Role, VPN Protocols & Site-to-Site VPN to Azure 12.2 Network Policy and Access Services (NPAS), RADIUS & Policy Processing 12.3 Azure Network Adapter & Azure Extended Network 12.4 Web Application Proxy & Microsoft Entra Application Proxy 12.5 Microsoft Entra Private Access & Global Secure Access 12.6 Azure Relay & Hybrid Connections
14 Chapter 13: File Services, DFS, SMB & Azure File Sync
13.1 Windows Server File Share Access, NTFS Permissions & Access-Based Enumeration 13.2 File Server Resource Manager: Quotas, File Screens & Storage Reports 13.3 DFS Namespaces (DFS-N) & DFS Replication (DFS-R) 13.4 BranchCache: Distributed Cache and Hosted Cache Modes 13.5 Modern SMB Protocols, SMB Multichannel & SMB over QUIC 13.6 Azure File Shares, Tiers & Hybrid Permissions 13.7 Azure File Sync, Cloud Tiering & Monitoring 13.8 Migrating DFS Namespaces & DFS Replication to Azure File Sync
15 Chapter 14: Windows Server Storage Infrastructure & High Availability
14.1 Disk Partitioning, Volumes & Enterprise File Systems (NTFS vs ReFS) 14.2 Data Deduplication Architecture, Usage Types & Management 14.3 Storage Spaces & Storage Spaces Direct (S2D) 14.4 Storage Replica & Storage Quality of Service 14.5 iSCSI Target Server, IQNs, CHAP Authentication & Multipath I/O
11.2 DHCP Scopes, Option Hierarchy, Reservations & Relay Agents
Key Takeaways Explain This Topic AI
A scope defines the address pool, subnet mask, exclusion ranges, and lease duration for one subnet; exclusions carve out statically assigned addresses inside the pool.
Lease duration should track client mobility: roughly 8 days for wired workstations and 4 to 8 hours for high-turnover guest wireless where address exhaustion is the risk.
DHCP options resolve in a strict four-tier precedence: reserved-client options beat class options, which beat scope options, which beat server options.
An IP reservation permanently binds an address to a client MAC address while still delivering options through DHCP, which is why it is preferred over a manual static IP on managed devices.
Superscopes group multiple logical scopes onto one physical broadcast domain for multinet addressing, while multicast scopes serve MADCAP clients.
Last updated: August 2026
- DHCP Scopes, Option Hierarchy, Reservations & Relay Agents
- 1. DHCP Scopes, Address Pools, Exclusions & Lease Durations
A DHCP Scope is an administrative grouping of IP addresses on a specific physical or logical subnet that the DHCP server can lease to clients. +-----------------------------------------------------------------------------+
- | DHCP SCOPE ADDRESS ALLOCATION |
- | |
- | SUBNET: 10.10.1.0/24 (Total: 10.10.1.1 - 10.10.1.254) |
- | |
- | [10.10.1.1 - 10.10.1.20] --> EXCLUSION RANGE (Routers, Switches, Static) |
- | [10.10.1.21 - 10.10.1.200]--> ACTIVE ADDRESS POOL (Dynamic Leases) |
- | [10.10.1.201 - 10.10.1.220]-> RESERVATION RANGE (Printers, Scanners) |
- | [10.10.1.221 - 10.10.1.254]-> EXCLUSION RANGE (Servers, Out-of-Band Mgmt) |
- +-----------------------------------------------------------------------------+
Core Scope Components:
Address Pool Range: The continuous block of IPv4 addresses defined by start and end IPs (e.g., 10.10.1.1 to 10.10.1.254 ) and subnet mask ( 255.255.255.0 ).
Exclusion Ranges: Specific IP subsets within the address pool that the DHCP server will never lease dynamically. Exclusions protect statically configured assets such as default gateways, core switches, and domain controllers from IP conflicts.
Conflict Detection Attempts: Configured via Set-DhcpServerSetting -ConflictDetectionAttempts <0-5> . Before offering an IP address, the DHCP server transmits ICMP Echo (ping) requests. If an echo reply comes back, the server flags the IP as BAD_ADDRESS and offers a different IP. (Default is 0, which disables the check; Microsoft advises keeping it at 3 or less because each attempt delays the offer — see section 11.5).
Lease Duration Best Practices:
Wired Desktop LANs (Default 8 Days): Stable environments with low device turnover benefit from longer leases, minimizing broadcast renewal traffic.
Wireless / Guest / BYOD Networks (4 to 8 Hours): Mobile devices connect and disconnect rapidly. Short lease durations ensure addresses are recycled quickly to prevent address pool exhaustion.
High-Churn VDI / Lab Environments (30 to 60 Minutes): Ephemeral virtual machines spin up and destroy frequently; short leases reclaim IP addresses near-instantaneously. # Create a new IPv4 Scope with 8-day lease duration
- Add-DhcpServerv4Scope `
- ComputerName 'dhcp01.corp.contoso.com' `
- Name 'Workstation-Subnet' `
- StartRange 10.10.1.1 `
- EndRange 10.10.1.254 `
- SubnetMask 255.255.255.0 `
- LeaseDuration (New-TimeSpan -Days 8) `
- State Active
- # Add an Exclusion Range for network infrastructure
- Add-DhcpServerv4ExclusionRange `
- ComputerName 'dhcp01.corp.contoso.com' `
- ScopeId 10.10.1.0 `
- StartRange 10.10.1.1 `
- EndRange 10.10.1.20
- 2. DHCP Option Hierarchy & Core Options
DHCP Options deliver supplementary network configuration parameters to clients during the DORA exchange. Windows Server enforces a strict four-tier precedence hierarchy when conflicting options are defined. +-----------------------------------------------------------------------------+
- | DHCP OPTION PRECEDENCE HIERARCHY |
- | |
- | [1. RESERVED CLIENT OPTIONS] (HIGHEST PRECEDENCE - Overrides all below) |
- | | |
- | v |
- | [2. CLASS OPTIONS] (User Class / Vendor Class Matches) |
- | | |
- | v |
- | [3. SCOPE OPTIONS] (Specific to all clients in a given scope) |
- | | |
- | v |
- | [4. SERVER OPTIONS] (LOWEST PRECEDENCE - Global server defaults)|
- +-----------------------------------------------------------------------------+
Precedence Hierarchy Explained:
Reserved Client Options (Level 1): Applied directly to an individual IP reservation. Overrides all class, scope, and server options.
Class Options (Level 2): Applied conditionally based on client identification:
Vendor Class (Option 60): Matches hardware vendors (e.g., Cisco VoIP phones, Hewlett-Packard JetDirect printers).
User Class (Option 77): Matches custom user-defined flags assigned on clients via ipconfig /setclassid .
Scope Options (Level 3): Applied to all clients leasing from a specific scope (e.g., Option 003 Router unique to that subnet).
Server Options (Level 4): Global defaults applied across all scopes hosted on the DHCP server (e.g., Option 006 DNS Servers or Option 015 DNS Domain Name).
Critical Standard DHCP Options:
Option Code Option Name Technical Description
003 Router Specifies the IPv4 default gateway address(es) for the local subnet. (Configured at Scope level).
006 DNS Servers Specifies the IP addresses of recursive DNS servers in preferred order. (Configured at Server/Scope level).
015 DNS Domain Name Specifies the connection-specific DNS suffix (e.g., corp.contoso.com ) for client name resolution.
066 Boot Server Host Name Specifies the FQDN or IP address of the PXE/TFTP boot server for WDS or MECM OS deployment.
067 Bootfile Name Specifies the bootstrap loader path (e.g., boot\x64\wdsnbp.com or ipxe.efi ) for network PXE boot.
044 / 046 WINS / NetBIOS Node Legacy NetBIOS name server configuration (044) and node type (046: 0x8 for Hybrid/h-node). # Configure Server-Level (Global) DNS Options
- Set-DhcpServerv4OptionValue `
- ComputerName 'dhcp01.corp.contoso.com' `
- DnsServer 10.10.1.4, 10.10.1.5 `
- DnsDomain 'corp.contoso.com'
- # Configure Scope-Level Default Gateway
- Set-DhcpServerv4OptionValue `
- ComputerName 'dhcp01.corp.contoso.com' `
- ScopeId 10.10.1.0 `
- OptionId 3 `
- Value 10.10.1.1
- 3. IP Reservations & Policy-Based Assignment
An IP Reservation guarantees that a specific network interface permanently receives the same IPv4 address from the DHCP pool while continuing to receive dynamic option updates (such as updated DNS servers or gateways).
MAC Address Binding: Reservations bind a 48-bit physical MAC address (or Client UID) to a fixed IP within the scope's range.
Supported Types: Reservations can be configured for DHCP only , BOOTP only , or Both (default).
DHCP Policies: Windows Server supports Policy-Based Assignment (PBA) , allowing administrators to group clients by MAC address prefix (OUI), Vendor Class, User Class, or Client FQDN to assign dedicated IP sub-ranges and specialized options automatically. # Create a fixed reservation for a network printer
- Add-DhcpServerv4Reservation `
- ComputerName 'dhcp01.corp.contoso.com' `
- ScopeId 10.10.1.0 `
- IPAddress 10.10.1.205 `
- ClientId '00-15-5D-AA-BB-CC' `
- Name 'PRINTER-HQ-FLOOR2' `
- Description 'Floor 2 Color Laser MFP' `
- Type Both
- # Create a DHCP Policy for Cisco IP Phones using Vendor Class Identifier
- Add-DhcpServerv4Policy `
- ComputerName 'dhcp01.corp.contoso.com' `
- ScopeId 10.10.1.0 `
- Name 'VoIP-Phone-Policy' `
- Condition OR `
- VendorClass EQ 'Cisco-IP-Phone*'
- 4. Advanced Scopes: Superscopes & Multicast Scopes (MADCAP)
Superscopes:
A Superscope is an administrative container that groups multiple independent member scopes on a single physical subnet. Superscopes solve capacity exhaustion when a physical broadcast domain runs out of IP addresses and cannot be immediately re-subnetted or re-VLANed.
Operational Behavior: When the primary member scope in a superscope reaches 100% address allocation, the DHCP server automatically begins leasing addresses from the secondary member scope to newly connecting clients on that same physical wire.
Routing Requirement: The local default gateway router must support secondary IP addressing on its physical interface to route traffic between the multiple logical subnets sharing the wire.
Multicast Scopes (MADCAP):
Windows Server DHCP supports the Multicast Address Dynamic Client Allocation Protocol (MADCAP) defined in RFC 2730.
Manages dynamic leasing of Class D IPv4 addresses ( 224.0.0.0 to 239.255.255.255 ) , typically within the administratively scoped multicast range ( 239.0.0.0/8 ).
Used by streaming media services, video conferencing servers, and distributed ghost imaging systems. Multicast leases operate independently of standard unicast scopes and default to a 30-day lease duration .
5. DHCP Relay Agents & IP Helper Across Routed Boundaries
Because DHCPDISCOVER and DHCPREQUEST frames are Layer 2 broadcasts ( 255.255.255.255 ), standard Layer 3 routers drop them at the subnet boundary. Servicing multiple routed subnets from a centralized DHCP server requires DHCP Relay Agents (RFC 1542 / BOOTP Forwarders) or router IP Helper addresses. +-----------------------------------------------------------------------------+
- | DHCP RELAY AGENT & IP HELPER ROUTING FLOW |
- | |
- | [CLIENT: Subnet 10.10.2.0/24] [DHCP SERVER: 10.10.1.10] |
- | +--------------------------+ +--------------------------+ |
- | | Client MAC: 00-15-5D... | | Scope A: 10.10.1.0/24 | |
- | | Broadcasts DHCPDISCOVER | | Scope B: 10.10.2.0/24 | |
- | +--------------------------+ +--------------------------+ |
- | | ^ |
- | | (Layer 2 Broadcast) | (Unicast) |
- | v | |
- | +------------------------------------------------------+ | |
- | | ROUTER / LAYER 3 SWITCH INTERFACE: 10.10.2.1 | | |
- | | - Intercepts UDP 67 broadcast | | |
- | | - Sets 'giaddr' (Gateway IP) = 10.10.2.1 | | |
- | | - Unicasts packet to DHCP Server: 10.10.1.10 ======= | -+ |
- | +------------------------------------------------------+ |
- +-----------------------------------------------------------------------------+
The giaddr Field Mechanism:
The client broadcasts DHCPDISCOVER on its local subnet ( 10.10.2.0/24 ).
The Layer 3 switch/router interface receives the broadcast on UDP 67. The router's DHCP Relay Agent or ip helper-address 10.10.1.10 intercepts the packet.
The Relay Agent populates the giaddr (Gateway IP Address) field in the DHCP packet header with the IP address of the router interface on the client's subnet ( 10.10.2.1 ).
The Relay Agent encapsulates the packet into a unicast UDP packet and sends it across the routed network directly to the DHCP server ( 10.10.1.10 ).
The DHCP server inspects the giaddr field, matches 10.10.2.1 to its configured 10.10.2.0/24 scope, allocates an IP from Scope B, and unicasts the DHCPOFFER back to the Relay Agent, which relays it to the client.