oeltayeb.com · Configuration Manager (SCCM) Toolkit

Reference

Boundaries and boundary groups reference

Based on the article: Boundaries and boundary groups explained: site assignment, content location and fallback · 5 min read

Boundaries and boundary groups decide which site a Configuration Manager client joins and which management points, distribution points and software update points it uses. Get them wrong and clients pull content across the WAN, join the wrong site or wait hours for downloads. In this deep dive I'll explain how clients evaluate them, how fallback really works, and a layout you can build and verify.

How it works

Boundaries

A boundary is a network location. There are five types:

TypeMatches whenCheck on the device
IP subnetThe network ID calculated from the client's IP address and mask equals the boundaryipconfig
IP address rangeThe client's address falls inside the rangeipconfig
Active Directory siteThe client's AD site matchesnltest /dsgetsite
IPv6 prefixThe client's IPv6 prefix matchesipconfig
VPN (version 2006 and later)The client is on a VPN: auto-detected for PPTP-based VPNs, or matched by connection name or descriptionipconfig /all

Boundary groups

A boundary group links boundaries to behavior. Clients use boundary groups for two things:

A client in several boundary groups treats all of them together as its current group. A client that matches no boundary uses the site's default site boundary group (Default-Site-Boundary-Group<sitecode>). Internet-based and internet-only clients don't use boundaries.

Relationships and fallback

On a group's Relationships tab you add neighbor groups and set, per role, a fallback time in minutes or Never fallback. Fallback is one hop: clients only use direct neighbors of their current group, never a neighbor's neighbor.

RoleFallback behavior
Distribution pointThe client keeps trying sources in its current group until the fallback time passes (120 minutes by default), then adds the neighbor's distribution points.
Management pointFallback time is always 0. After five errors in 10 minutes, the client tries a management point in a neighbor or the default site boundary group, and returns at its next refresh (24 hours, or a client service restart).
Software update pointThe client stays with its current software update point and only looks for another when that server fails; the fallback time controls when neighbors become eligible.
State migration pointNo fallback.

Task sequences don't wait for fallback times; they use them only to decide which neighbor to try first (see reading smsts.log).

Step-by-step: a layout that behaves

1. Map the network

List each office's subnets or ranges, the VPN address pools and the datacenter. Confirm what clients actually report with ipconfig and nltest /dsgetsite.

2. Create the boundaries

In Administration › Hierarchy Configuration › Boundaries, select Create Boundary. You can't enter a supernet as an IP subnet boundary; use an IP address range instead. For remote workers, create a VPN boundary: if ipconfig shows PPP adapter ContosoVPN, use ContosoVPN as the connection name.

3. Keep site assignment separate

Create one boundary group per primary site that contains all of that site's boundaries, has Use this boundary group for site assignment selected with the correct assigned site, and references no site systems. Never put a boundary in two groups assigned to different sites: with overlapping boundaries, clients pick a site at random.

4. Create location groups

Create a group per office or network zone, add its boundaries, and on the References tab add the local distribution point and software update point. Overlapping boundaries are fine here; one boundary can sit in several content groups. If you want clients to prefer a local management point, add it too and turn on Clients prefer to use management points specified in boundary groups in Hierarchy Settings.

5. Define fallback on purpose

6. Set the options

On the Options tab, decide whether clients in the group may download content from peers and whether they should prefer cloud-based sources. Peer downloads rarely make sense for a VPN group.

Verify

A quick check from an elevated PowerShell prompt on the client:

powershell
ipconfig | findstr /i "IPv4 Subnet"
nltest /dsgetsite
Get-CimInstance -Namespace root\ccm -ClassName SMS_Authority | Select-Object Name, CurrentManagementPoint
Select-String -Path C:\Windows\CCM\Logs\DataTransferService.log -Pattern 'http' -SimpleMatch | Select-Object -Last 5

Good looks like this: the right site code, a local management point, and download URLs pointing at the local distribution point. A branch client using the datacenter before the fallback time has passed means its boundary isn't in the branch group, or the content isn't on the branch distribution point.

Tips and gotchas

References