Skip to content

Subnet Calculator and Purdue IT/OT VLAN Planner

Two planning tools in one page. The CIDR Subnet Calculator turns any IPv4 address and prefix into network, mask, wildcard, broadcast, usable range and gateway, shows the 32 bits split into network and host parts, and splits the block into 2, 4 or 8 equal subnets. The Purdue Model VLAN Planner lays out seven IT/OT zones as sequential, non-overlapping subnets with VLAN IDs, gateways and a firewall policy baseline, and exports them as Markdown, CSV or generic switch CLI. Everything runs in your browser.

IPv4 address / prefix
Network CIDR-
Usable hosts--
Address class-
Usable range
-
Subnet mask
-
Wildcard mask
-
Broadcast
-
Suggested gateway
-

32-bit binary view

  • Network bits -
  • Host bits -

Subnet splitter

  • /31 and /32. A /31 has two usable addresses and no broadcast (RFC 3021, point-to-point links). A /32 is a single host route. Neither has a suggested gateway.
  • Host address as input. You can enter a host address such as 192.168.1.10/24; the calculator shows the network it belongs to (192.168.1.0/24).
  • Splitter. Splits that would need a prefix longer than /32 are disabled.
  • Purdue plan. Subnets are carved sequentially from the base address (aligned down to the chosen prefix) and must fit inside the same RFC 1918 block. With “Align 3rd octet to VLAN ID” on a /24 plan, the VLAN ID equals the third octet, so the base third octet must be 2 or higher.
  • CLI export. The switch snippet is a generic Cisco IOS-style example; adapt names, SVI addressing and routing to your platform.
  • Not a certification. The plan is a planning baseline aligned with IEC 62443 zones and conduits and the Purdue reference model. It does not certify compliance; always validate against your own risk assessment and the protocols your plant actually uses.