# IPv4 IPv6 CIDR audit task

**Use case:** 

Validate mixed IPv4 and IPv6 CIDR blocks for security scopes, IPAM cleanup, host counts, usable ranges, and network documentation.

## Input

```json
{
  "cidrs": [
    "192.168.100.0/24",
    "2001:db8::/32",
    "fe80::/10"
  ],
  "includeSubnets": true,
  "includeBinaryRepresentation": true
}
```

## Output

```json
{
  "cidr": {
    "label": "CIDR",
    "format": "text"
  },
  "ipVersion": {
    "label": "IP Version",
    "format": "text"
  },
  "isValid": {
    "label": "Valid?",
    "format": "boolean"
  },
  "networkAddress": {
    "label": "Network Address",
    "format": "text"
  },
  "broadcastAddress": {
    "label": "Broadcast",
    "format": "text"
  },
  "firstUsableIp": {
    "label": "First Usable IP",
    "format": "text"
  },
  "lastUsableIp": {
    "label": "Last Usable IP",
    "format": "text"
  },
  "totalHosts": {
    "label": "Total Hosts",
    "format": "number"
  },
  "usableHosts": {
    "label": "Usable Hosts",
    "format": "number"
  },
  "subnetMask": {
    "label": "Subnet Mask",
    "format": "text"
  },
  "wildcardMask": {
    "label": "Wildcard Mask",
    "format": "text"
  },
  "prefixLength": {
    "label": "Prefix Length",
    "format": "number"
  },
  "ipClass": {
    "label": "IP Class",
    "format": "text"
  },
  "isPrivate": {
    "label": "Private?",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [CIDR IP Range Calculator](https://apify.com/automation-lab/cidr-ip-range-calculator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/cidr-ip-range-calculator) to learn more, explore other use cases, and run it yourself.