All modules
Module 2·Course coverage: 14%

Addresses and Subnets

Prefix length, the magic number, VLSM, and IPv6.

Master the math that decides where one network ends and the next begins. After this module you can subnet a /24 in your head, design an address plan with VLSM, and read an IPv6 address without flinching.

6 chapters5h study timeCourse coverage: 14%Course plan
Forgy· module 2 intro

Welcome to module 2. Prefix length, the magic number, VLSM, and IPv6. I'll meet you again at the top of every chapter — this module's course coverage is 14%, so don't rush it. Pick chapter 2.1 below to start.

Course plan

Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account

Anyone can browse the syllabus and preview every chapter. Modules 2–8 come with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.

  • Read every chapter in Module 1 — How Networks Work
  • Save labs of up to 5 devices
  • Save up to 3 topologies
  • See the full course syllabus + chapter titles

Free account · no card required · compare plans any time

  1. 2.1

    IPv4 address structure

    An IPv4 address is 32 bits split into a network portion and a host portion. This chapter explains classful history (A/B/C), CIDR notation, and how every dotted-decimal address really lives in binary.

    Beginner·40 min·4 quiz Q·Includes lab
  2. 2.2

    Subnet masks and prefix length

    Memorize the prefix-to-mask table and you have memorized half of subnetting. This chapter gives you the table, the trick to derive any mask from scratch, and the formulas for hosts-per-subnet and subnets-per-supernet.

    Beginner·50 min·4 quiz Q·Includes lab
  3. 2.3

    Subnetting in your head — the 5-step method

    A repeatable five-step recipe that gives you the network address, broadcast address, usable range, and number of hosts for any IPv4 address and mask in under 30 seconds. Worked examples included.

    Beginner·45 min·4 quiz Q·Includes lab
  4. 2.4

    VLSM and address planning

    Variable-Length Subnet Masking lets you fit subnets of different sizes inside one address block without waste. This chapter walks through the standard 'biggest-first' planning method with a worked enterprise example.

    Intermediate·45 min·4 quiz Q·Includes lab
  5. 2.5

    Private addresses, special blocks, and NAT preview

    RFC 1918 private space, link-local, loopback, multicast, and broadcast — when each is used, and a brief preview of NAT/PAT (covered in depth in Module 5, Running the Network).

    Beginner·45 min·4 quiz Q·Includes lab
  6. 2.6

    IPv6 fundamentals

    128-bit addresses, the eight 16-bit hextets, address types, EUI-64, SLAAC, and dual-stack operation. This chapter teaches just enough IPv6 to read an address, configure an interface, and work confidently with it in practice.

    Intermediate·55 min·4 quiz Q·Includes lab