Subnetting
Concept
The practice of dividing a larger IP address block into smaller logical networks (subnets) to reduce noise, separate devices and keep address management manageable.
Frequentemente tratados em conjunto
Os episódios sobre Subnetting costumam abordar também Classless Inter-Domain Routing (CIDR).
Descrição
Subnetting is the practice of dividing a larger IP address block into smaller logical networks, called subnets. The goal is to reduce noise on a network, separate groups of devices from one another and keep address management manageable. Microsoft Learn describes it as splitting a class A, B, or C network into smaller networks, so that one block of IP addresses can serve several physical networks instead of requiring a separate block for each. The Microsoft Learn article on TCP/IP addressing and subnetting covers only 32-bit IPv4 addressing.
The mechanism rests on the subnet mask. A subnet mask is a 32-bit value whose ones mark the network portion of an address and whose zeros mark the host portion. Within any subnet, the network ID has all zeros in the host part, while the broadcast address has all ones. Because of that, neither of these two addresses can be assigned to an individual host. When a host wants to send traffic, it compares the destination address against its own mask to decide whether the target is local or must be sent to the default gateway.
In practice, subnetting is applied by choosing a longer mask than the default one for the original network. The Microsoft Learn page works through an example in which a single network is split into four equal subnets this way, giving each of three sites its own range. A related notation is CIDR, where the slash number written after an address describes the size of the block. The episode "Subnetting and CIDR - Simply Explained" presents the slash number as just a size, and lists topics such as what an IP address is made of, why a network is split at all, the math behind it, and where the classic address classes went.
The same episode makes the point that a home Wi-Fi router is already doing subnetting. According to its description, every device on a home network sits inside a block of 256 addresses, and that block is what people mean when they say subnet. This ties the concept to something familiar before it moves on to the arithmetic, which the episode frames as approachable rather than intimidating.
Subnetting also matters in cloud networking. The episode "Azure Virtual Network - Simply Explained" notes that Azure Virtual Networks (VNets) create secure and isolated environments for cloud resources, and that proper planning of address space and subnetting enhances security and resource management. In that context, subnets work together with Network Security Groups (NSGs), which act as firewalls controlling traffic to protect resources, and the episode recommends reviewing NSG rules regularly as security needs change.
Typical decisions around subnetting include how large each subnet should be, how many subnets are needed, and how to allocate ranges to different sites or workloads. One practical constraint from the Microsoft Learn documentation is consistency: all computers on one physical network must use addresses from the same subnet. A wrongly configured subnet mask can break connections to neighbouring networks, while distant networks may still be reachable, which can make such misconfigurations harder to diagnose. Careful planning of the address space up front, as the Azure episode also stresses, helps avoid these problems.
Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.
| Tipo | Concept |
|---|---|
| Wikipédia | Subnetting – Wikipedia en.wikipedia.org |
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Especialistas e empresas para este tópico
Ninguém indicou ainda este tópico. Adicione-o ao seu perfil.
Sources
- Subnetting – Wikipedia en.wikipedia.org
- TCP/IP addressing and subnetting – Windows Client – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: