Calculate Subnet
calculate_subnetCalculate IPv4 subnet information from an address with CIDR notation, a prefix length, or a dotted decimal subnet mask.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | IPv4 address, optionally including CIDR notation, for example 192.168.1.10/24. | |
| subnetMask | No | Optional dotted decimal subnet mask, for example 255.255.255.0. | |
| prefixLength | No | Optional CIDR prefix length from 0 to 32, for example 24. |