subnet_how_many_fit
How many smaller subnets fit inside a bigger one, e.g. how many /64 networks fit in a /48 (65,536) or how many /24 in a /16 (256). Returns the count, addresses in each, usable hosts each (IPv4) and the power of 2.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"big": "<big>",
"small": "<small>"
},
"name": "subnet_how_many_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| big | Yes | Prefix length of the bigger block, e.g. 48 or 16 | |
| small | Yes | Prefix length of the smaller subnets, e.g. 64 or 24 | |
| version | No | IP version (default 6; use 4 for IPv4) |