AD-SUB-09 - Distinct first two octets (/16 networks) count should be retrievable
Overviewโ
Understanding /16 network distribution helps:
- Network planning: Identify how many major network blocks are in use
- Segmentation analysis: Understand logical network boundaries
- Capacity assessment: Determine available /16 networks
- Documentation: Support network architecture documentation
Each /16 represents a major network segment (65,534 hosts).
Security Recommendationโ
- Document the purpose of each /16 network block
- Plan /16 allocation to support organizational structure
- Reserve /16 blocks for future expansion
- Review /16 utilization during network planning
How the Test Worksโ
This test extracts the first two octets from all IPv4 subnets and counts the distinct /16 networks.
Related Testsโ
Test-MtAdSubnetFirstOctetCount- Analyzes first octetsTest-MtAdSubnetFirstThreeOctetsCount- Analyzes /24 networksTest-MtAdSubnetTotalCount- Counts total subnets
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-SUB-09 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Site |
| PowerShell test | Test-MtAdSubnetFirstTwoOctetsCount |
| Tags | AD, AD-SUB-09, AD.Site |
Sourceโ
- Pester test:
tests/ad/site/Test-MtAdSubnetFirstTwoOctetsCount.Tests.ps1 - PowerShell source:
powershell/public/ad/site/Test-MtAdSubnetFirstTwoOctetsCount.ps1

