IPv6 CIDR contains

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

Test whether one IPv6 CIDR block fully contains another IPv6 CIDR block.

Use when you need to: ipv6 cidr contains · ipv6 subnet contains subnet · check ipv6 cidr containment.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "outer": "2001:db8::/32",
  "inner": "2001:db8:1::/48"
}

Response:

{
  "result": {
    "contains": true,
    "outer_network": "2001:db8::/32",
    "inner_network": "2001:db8:1::/48"
  }
}

How to call it

MCP

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

{
  "id": "ipv6-cidr-contains",
  "version": "1.0.0",
  "input": {
    "outer": "2001:db8::/32",
    "inner": "2001:db8:1::/48"
  }
}

HTTP (no key)

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

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

CLI

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

Get the client at /clients/cli/.