Lion Cipher Lab

Design an IP addressing plan with VLSM and verify it in Python

Why it matters

Network segmentation is one of the most effective security controls there is. It keeps the guest Wi-Fi away from the payroll server and the cameras away from everything. Every segment needs its own subnet, and the addressing plan decides whether segmentation stays clean or degrades over time. A plan with no growth room forces someone, a year later, to bolt on a second range or widen a subnet into its neighbour. An overlapping or misaligned subnet makes firewall rules match traffic they were never meant to match. An undocumented plan means nobody can tell which address belongs to which zone…

What you'll learn

Steps in this lab

  1. Addresses, prefixes and private space
  2. Size each segment, with growth
  3. Write the planner and checker
  4. Plan it: the /22 is too small, the /21 fits
  5. Check a hand-written plan
  6. Make the plan a security artifact

Open the full interactive lab →