IPv6 CIDR subnets

ipv6-cidr-subnets · version 1.0.0 · URLs & IP addresses · free, no key needed

Split an IPv6 CIDR block into the full ordered list of equal-size subnets at a given longer prefix.

Use when you need to: ipv6 cidr subnets · split ipv6 cidr into subnets · ipv6 subnetting.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "cidr": "2001:db8::/32",
  "new_prefix": 34
}

Response:

{
  "result": {
    "subnets": [
      "2001:db8::/34",
      "2001:db8:4000::/34",
      "2001:db8:8000::/34",
      "2001:db8:c000::/34"
    ],
    "count": 4
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "ipv6-cidr-subnets",
  "version": "1.0.0",
  "input": {
    "cidr": "2001:db8::/32",
    "new_prefix": 34
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ipv6-cidr-subnets/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"cidr":"2001:db8::/32","new_prefix":34}'

The machine-readable contract is at /v1/tools/ipv6-cidr-subnets/versions/1.0.0.

CLI

node cli.mjs run ipv6-cidr-subnets 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.