API & MCP

Everything a person can do on Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6)

Plans address space the way network engineers do it: details of any address or prefix (network, usable range, broadcast, RFC 5952 canonical IPv6 form, special-purpose range), equal splits by subnet count or hosts, VLSM allocation for a list of host requirements, aggregation of prefix lists into the minimal CIDR set and a summary route (RFC 4632), a block minus excluded prefixes, and address ranges as CIDR blocks. It is the planner of the Signalhouse Network lab.

Inputs of Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6)
FieldTypeDefaultDescription
modeselect (info, split, vlsm, aggregate, exclude, range)"vlsm"What to calculate
blocktext"192.168.1.0/24"Block, address or range. The address block to plan in (VLSM, split, exclude), any address or prefix (details) or a range “first - last” (range mode). Not used for aggregation.
requirementstable[{"name":"Office LAN","hosts":100},{"name":"Lab","hosts":50},{"name":"Wi-Fi guesSubnets needed (VLSM). One row per subnet: a name and the number of hosts it must hold, or a fixed prefix length.
orderselect (largest, listed)"largest"VLSM order
allow31booleanfalseUse /31 (IPv4) or /127 (IPv6) for 2-host point-to-point links
ipv6Lan64booleantrueIPv6: never smaller than a /64 (SLAAC)
splitByselect (count, hosts, length)"count"Split by
countinteger4Number of subnets
hostsinteger—Hosts per subnet
newLengthinteger—New prefix length
prefixestextarea—Prefixes (one per line). Aggregate: the prefixes to summarise. Exclude: the prefixes to cut out of the block. VLSM: prefixes to keep free (reserved).

Example request

Classic VLSM: 192.168.1.0/24 for 100, 50, 25 and 10 hosts plus two router links

curl -X POST https://signalhousesubnetplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"vlsm","block":"192.168.1.0/24","requirements":[{"name":"LAN A","hosts":100},{"name":"LAN B","hosts":50},{"name":"LAN C","hosts":25},{"name":"LAN D","hosts":10},{"name":"Link 1","hosts":2},{"name":"Link 2","hosts":2}]}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "signalhouse-subnet-planner": { "type": "http", "url": "https://signalhousesubnetplanner.usefulweb.site/mcp" }
  }
}