Addressing and forwarding
Child CIDRs must fit the VPC and avoid overlap. AWS normally reserves five IPv4 subnet addresses. Public routing, NAT egress and isolated placement differ; a subnet’s route-table association matters as much as table contents. Longest-prefix matching selects the most specific destination path. A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default. Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings. Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.
A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default.
Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings.
Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.