Subnetting

Learn about subnets and how to do subnet arithmetic!

0 of 7 lessons complete

Practice in terminal (Ubuntu sandbox) ↗

Syllabus

  1. 01 IPv4 Learn how IPv4 addresses, prefixes, scopes, and Linux interface output fit together.
  2. 02 Subnets Learn how prefixes define IPv4 subnets and influence on-link delivery, routing, and policy.
  3. 03 Subnet Math Learn how to calculate IPv4 network, broadcast, range, and address counts from a prefix.
  4. 04 Subnetting Cheats Learn compact binary and block-size methods for checking IPv4 subnet calculations.
  5. 05 CIDR Learn how CIDR prefixes represent address ranges, subnet boundaries, and aggregated routes.
  6. 06 NAT Learn how source, destination, and port translation modify IPv4 flows and connection state.
  7. 07 IPv6 Learn how to read IPv6 addresses, prefixes, scopes, autoconfiguration, and Linux routing state.

Frequently Asked Questions

What calculations will I learn?

You will learn how addresses, prefix lengths, subnet masks, and host ranges relate, with subnet arithmetic and a practical reference lesson.

Does the course cover both IPv4 and IPv6?

Yes. Separate lessons introduce IPv4 and IPv6, while the subnet and CIDR concepts help you reason about address allocation.

Should I understand binary numbers first?

Basic binary familiarity is helpful, but the subnet math lessons are designed to build the connection between bits, prefixes, masks, and address ranges.