Use this topic when clients are assigned to the wrong AD site, use remote DCs, or site-aware authentication/replication behavior is unexpected.
Subnets
A subnet object is an AD configuration object representing an IP prefix associated with one site. It does not configure routers, DHCP or host addressing; it tells AD DS how an observed source address maps to directory topology.
1. Get-ADReplicationSubnet -Filter *.
2. Every client subnet mapped?
3. Missing → Netlogon Event 5807 and netlogon.log NO_CLIENT_SITE.
4. Add: New-ADReplicationSubnet -Name 10.1.0.0/16 -Site <site>.
5. Verify with nltest /dsgetsite.
client IP → subnet → site → DC locator
Verify the selected DC and application/authentication operation, or correct the underlying network addressing if source IP is unexpected.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not create overly broad or overlapping subnet objects to “make it work.” Model actual routed prefixes and validate both IPv4 and IPv6 paths.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Confirm the matching subnet object/site, then observe the client’s locator/DC choice. If the selection is correct but the service fails, move past subnet troubleshooting.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- AD subnet objects describe existing network prefixes; they do not create those networks.
- Missing IPv4/IPv6 mappings can place clients in unexpected/no-site conditions.
- Subnet-to-site mapping is independent of the client’s AD domain.
- Overlapping/incorrect mappings create locator ambiguity and poor locality.
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
ReferenceWhat it is1 section · depth on demand
Core model
Subnet objects connect network addressing to AD site topology. They are simple configuration objects, but errors here can cause wide-area authentication, slow logons and confusing DC selection even while DNS and AD itself appear healthy.
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
Compare the client’s actual address with the configured prefix boundaries. Do not rely on office name, DHCP scope name or VLAN label as evidence of AD site membership.
In depth
Subnet objects map IP ranges to sites; the most specific prefix wins.
New-ADReplicationSubnet -Name '10.20.0.0/16' -Site Branch-Aarhus -Location 'Aarhus'
Get-ADReplicationSubnet -Filter * | ft Name,Site
Select-String -Path $env:SystemRoot\debug\netlogon.log -Pattern NO_CLIENT_SITE | Select -Last 20
Add VPN and cloud (Azure/AWS VNet) ranges too, mapped to the site whose DCs they should use, so remote clients do not authenticate across slow links.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Active Directory Domain Services → Subnets. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Active Directory Domain Services → Subnets reference map
Fast lookup boundaries for Active Directory Domain Services → Subnets.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Prefix | IPv4/IPv6 network range | descriptive topology data |
| Site link | Subnet→site association | one intended site |
| Client IP | Runtime source address | must match mapping |
| Locator | Uses site result | not proof service health |