IPv4サブネット&CIDR計算機

AWS/GCPのVPCやKubernetesポッドネットワークの設計に最適な、即時CIDR算出とバイナリビット表示。

Cloud Presets:
CIDR Notation 10.0.0.0/16
Subnet Mask 255.255.0.0
Wildcard Mask 0.0.255.255
Network Address 10.0.0.0
Broadcast Address 10.0.255.255
Usable Host Range 10.0.0.1 - 10.0.255.254
Usable Hosts 65,534
Total Addresses 65,536
IP Class & Type Class A · Private (RFC 1918)
Binary Subnet Representation 00001010.00000000.00000000.00000000
01 / CLOUD NETWORKING

AWS & GCP Reserved IPs

In cloud VPCs (such as AWS and GCP), the first 4 and last 1 IP addresses in every subnet are reserved for internal infrastructure (e.g., Network, VPC Router, DNS, Future use, and Broadcast). A /28 subnet has 16 total IPs, but only 11 usable IPs for EC2 instances or containers.

02 / KUBERNETES & CNIS

Pod & Service CIDR Sizing

Always plan your Kubernetes Pod CIDR to accommodate node expansion. Standard AWS VPC CNI assigns secondary private IPv4 addresses to ENIs, requiring sufficiently wide CIDRs (e.g., /16 or /18) to avoid pod IP exhaustion during rolling deployments.

03 / SECURITY

Zero Route Overlap

When peering VPCs or establishing Site-to-Site IPsec VPNs, never use overlapping RFC 1918 blocks (e.g. both sides on 10.0.0.0/16). Overlapping routes require cumbersome double-NAT setups to route traffic.