Compare 60 and 61 usable IPs in Google Cloud subnets

See the point at which a GCP primary subnet doubles from /26 to /25, then repeat the two tiers across three planning groups.

Try these inputs

Worked calculation

  1. For 60 usable addresses, add the four primary reservations to reach 64. The private requests fit /26.
  2. For 61 usable addresses, 65 total would be too many for /26. The public requests use /25 with 128 total and 124 usable.
  3. The plan consumes 3 × (128 + 64) = 576 of 1,024 addresses. The assigned subnets have 552 usable slots.

Inputs

AWS availability zones. Azure and Google Cloud use regional subnets with logical group labels.
Usable IPs per group

Calculated in your browser

Results

Usable across subnets
552
Allocated subnets
6
Unassigned space
448

Cloud subnet placement map

Cloud subnet placement mapEach lane shows the relative block sizes within one placement group. The results table lists the exact address ranges.10.72.0.0/22192 addresses per groupGroup 110.72.0.0/25/2510.72.1.128/26/26Group 210.72.0.128/25/2510.72.1.192/26/26Group 310.72.1.0/25/2510.72.2.0/26/26
  • Public
  • Private
Each lane shows the relative block sizes within one placement group. The results table lists the exact address ranges.
Parent CIDR
10.72.0.0/22
Provider
Google Cloud
Reserved per subnet
4
Allocated addresses
576
Placement
Logical groups of regional subnets
Subnet allocation
Tier / groupCIDRRequestedUsableUsable range
Public / 110.72.0.0/256112410.72.0.2 – 10.72.0.125
Public / 210.72.0.128/256112410.72.0.130 – 10.72.0.253
Public / 310.72.1.0/256112410.72.1.2 – 10.72.1.125
Private / 110.72.1.128/26606010.72.1.130 – 10.72.1.189
Private / 210.72.1.192/26606010.72.1.194 – 10.72.1.253
Private / 310.72.2.0/26606010.72.2.2 – 10.72.2.61

Questions

Would a 60-address workload still fit an AWS /26?

AWS reserves five addresses, leaving 59. Changing the provider to AWS makes that workload require a /25.

Where is the GCP parent /22 configured as a VPC-wide CIDR?

GCP assigns CIDRs to subnets. The /22 here is an IPAM envelope for planning their ranges.

References