ipv4_subnet
Calculate IPv4 subnet details including network address, broadcast address, and host range given an IP address and CIDR prefix.
Instructions
Calculate IPv4 subnet information: network, broadcast, hosts.
Parameters:
ip — IP address (e.g. '192.168.1.0').
cidr — CIDR prefix length (default: 24).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| cidr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |