← Back to tools

Infrastructure · Runs in your browser

Subnet Calculator

Calculate IPv4 or IPv6 networks, address counts, prefix ranges and IPv4 host and broadcast addresses.

Files stay in this browser tab.

How to use it

Enter an IP address with a CIDR prefix. Inspect the normalized network and address range.

Worked example

192.168.10.42/24 gives network 192.168.10.0/24. IPv6 example: 2001:db8::1/64.

What to check

IPv6 has no broadcast address. IPv4 /31 and /32 have special host-range rules. Large address counts use integer arithmetic.

Build a system for this use case

Linux networking lab

Example OpenFactory build prompt

Build a useful linux networking lab on Ubuntu 24.04 LTS amd64, unless the target installer or embedded board requires its explicitly selected OS.

Use two application nodes, a router and isolated IPv4 and IPv6 test networks. Include only the components this workload needs. Use synthetic sample data and placeholders for site-specific domains, authorized SSH public keys and external integration credentials. Create a non-root operator and keep administrative access private. Never put real credentials, patient records or customer data in the image.

Acceptance checks: verify intended routes and service reachability, reject unauthorized inbound access and retain network configuration after reboot. Boot the actual artifact and repeat relevant health, persistence and access checks after reboot. Keep hardware-dependent checks pending until the specified equipment is attached.

Deliver the bootable image or reproducible deployment recipe, the software inventory and a test report that separates successful assembly from runtime verification. Ask for missing hardware, storage and access details before making irreversible deployment choices. Do not deploy into production or erase an existing disk without an explicit target.

Your tool inputs and files are not included in the build prompt. Review the draft and press Send in OpenFactory.

Source

IETF: IPv6 addressing architecture

OpenFactory · 2026-10-29

Related tools