Showing raw Markdown: the renderer could not load.
A single flat network quickly becomes hard to manage, secure and route. **Subnetting** splits an address block into smaller networks sized to real needs: one per office, department, VLAN or cloud tier. This module teaches you to calculate subnets quickly and reliably, design an addressing plan without overlaps or waste, and spot the addressing mistakes behind many "it can't reach anything" tickets. ## Learning objectives By the end of this module you will be able to: 1. Calculate equal-size subnets (Fixed-Length Subnet Masking, FLSM) from an address block, given a required number of subnets or hosts per subnet. 2. Design an addressing plan with Variable-Length Subnet Masking (VLSM) that meets the requirements without overlapping or wasting address space. 3. Summarize contiguous networks into a single aggregate route (supernetting) and explain when aggregation is possible. 4. Troubleshoot common addressing faults: wrong subnet mask, overlapping subnets and a default gateway outside the host's subnet. ## Prerequisites - [05 — IP Addressing](../05-ip-addressing/README.md): binary conversion, prefix length, network and broadcast addresses. - For the lab: Python 3 (standard library only). The optional Linux part needs a Linux machine or virtual machine (VM) with `sudo` and the `ip` command (iproute2). ## Contents | Type | Duration | |---|---| | [Theory](lesson.md) | 60 min | | [Hands-on lab: designing and validating an addressing plan](lab.md) | 60 min | | [Assessment (10 questions)](quiz.md) | 20 min | ## Further reading - [RFC 950](https://www.rfc-editor.org/rfc/rfc950) — Internet Standard Subnetting Procedure - [RFC 4632](https://www.rfc-editor.org/rfc/rfc4632) — Classless Inter-domain Routing (CIDR) - [RFC 3021](https://www.rfc-editor.org/rfc/rfc3021) — Using 31-Bit Prefixes on IPv4 Point-to-Point Links - [RFC 1918](https://www.rfc-editor.org/rfc/rfc1918) — Address Allocation for Private Internets