Networking tool

VLAN Planner

A planner for laying out VLANs before touching the switch: add segments with an ID and a subnet, and it validates the plan live — duplicate IDs, reserved IDs, subnets that aren't network addresses, and overlapping ranges — with a running count of usable hosts. Built for planning OPNsense segments in the home lab.

Project Overview:

Segmentation mistakes are cheapest to catch on paper, not on the firewall. I built this planner for the step before I change anything on OPNsense: sketch the segments, give each one a VLAN ID and a subnet, and the tool checks the plan as I type. Duplicate IDs, reserved IDs (0 and 4095), a subnet that isn't actually a network address, and two VLANs claiming the same space all get flagged immediately, with the network and broadcast addresses for each segment shown alongside.

Key Components:

  • Live validation — ID range and uniqueness, network-address checks, and overlap detection across all segments, recomputed on every keystroke

  • Running totals — valid VLAN count and total usable hosts across the plan, so the size of the design is visible at a glance

  • Example starter set — four-VLAN home setup (management, trusted LAN, IoT, guest) that can be edited, cleared, or reloaded

Try the VLAN planner