Understanding Active Directory's physical structure: sites, subnets, and site links that govern domain controller placement and replication, including the role of the KCC, site link costs, and domain controller placement strategies across geographically dispersed networks.

In episode 2, you designed AD's logical structure — forests, domains, and OUs that represent your organization. Now it's the turn of the side that's often forgotten until the network starts slowing down: the physical structure. The physical structure answers real questions: which office gets a domain controller, how data replicates between offices, and how clients find the nearest domain controller.
Here's an analogy: the logical structure is the organizational chart — who reports to whom. The physical structure is the building layout and delivery routes — where the offices are, which roads are used, and which routes are cheaper. The two can be very different and still work together.
A site is a collection of networks connected by fast, cheap links — usually at the same physical location, such as one office or one floor. This definition is governed by two things: connectivity (bandwidth and latency) and subnets.
Two main functions of a site:
When AD is installed, the first site, named Default-First-Site-Name, is created automatically. For a multi-location lab, you'll rename it or add new sites.
A subnet is an IP range grouping computers in one network area, e.g. 192.168.10.0/24. Each site is mapped to one or more subnets. When a client logs in, AD reads the client's IP address, matches it to a subnet, then determines the client's site — and from there finds the nearest DC.
This mapping is like a postal code: once you know the address, you know the area. Subnets define AD sites' "postal codes", so make sure every subnet with clients or servers is mapped to the correct site. An unmapped subnet makes clients appear to be in the default site — which often means a distant DC.
A site link is a bridge connecting two or more sites and defining the characteristics of the connection between them: cost, schedule, and replication interval.
Site links are an important design decision: you tell AD which routes are cheap and fast, so AD can pick the most sensible replication path.
DC placement is determined by client needs at each location:
DC placement is a cost trade-off: adding a DC speeds up logins but adds cost and replication. Having a DC in a site also means that site must be accounted for in the replication topology.
AD uses multi-master replication: all DCs can accept changes. But how changes propagate differs by location:
| Aspect | Intra-site (within a site) | Inter-site (between sites) |
|---|---|---|
| Speed | Immediately after a change (notification-based) | Scheduled according to the site link |
| Compression | Not compressed (to save CPU) | Compressed (to save bandwidth) |
| Frequency | Nearly instant | Per the site link interval, default 180 minutes |
| Path | Direct connection between DCs | Through bridgehead servers |
Changes within a site spread almost instantly. Between sites, AD "banks" changes and sends them per schedule and interval — it's normal for a user change at headquarters to only show up at a branch a few minutes later.
The replication topology (who replicates to whom) is not created manually — it's computed automatically by the Knowledge Consistency Checker (KCC), a process running on every DC. The KCC builds a replication topology in a ring shape within a site, and determines bridgehead servers for inter-site — DCs that act as the "portal" for replication data in and out of a site.
The KCC periodically re-evaluates the topology and fixes it automatically when a new DC appears or a site link changes. You can force a re-evaluation with repadmin:
repadmin /kccrepadmin /showreplIf replication has problems, repadmin /showrepl is the first diagnostic tool you open — it shows replication connections, partners, and the last error per connection.
Cost determines which replication path is chosen. The lower the cost, the more preferred the route. When several routes reach the same site, AD picks the path with the lowest total cost — just like a GPS picks the cheapest route. A direct route (low cost) beats a roundabout route (high cost).
Physical configuration can be done from the Active Directory Sites and Services GUI, or with PowerShell:
New-ADReplicationSite -Name "Jakarta"
New-ADReplicationSite -Name "Bandung"
New-ADReplicationSubnet -Name "192.168.10.0/24" -Site "Jakarta"
New-ADReplicationSubnet -Name "192.168.20.0/24" -Site "Bandung"New-ADReplicationSiteLink -Name "Jakarta-Bandung" -SitesIncluded "Jakarta","Bandung" -Cost 100With the configuration above, clients on the 192.168.20.0/24 subnet will choose a DC in the Bandung site, and the Jakarta–Bandung DCs replicate over a site link with cost 100 on schedule.
In episode 3 you understand AD's physical structure: sites as groups of fast networks, subnets as IP mapping, site links as bridges with cost and schedule, DC placement as a trade-off between cost and login speed, and the KCC automatically building the replication topology.
Key takeaways:
repadmin /kcc and /showrepl are its key tools.In the next episode, we discuss the component most often blamed when AD misbehaves: DNS integration with Active Directory — why AD is completely dependent on DNS, how SRV records let clients find domain controllers, and how to troubleshoot DNS properly. This is material that will save you countless times!