A cloud engineer is designing a custom-mode Virtual Private Cloud (VPC) network. The current setup includes a primary subnet in `us-central1` configured with a CIDR block of and another primary subnet in the same VPC configured with . Due to anticipated growth, the engineer needs to double the IP address capacity of the subnet without re-creating the subnet or disrupting existing workloads. Which CIDR range configuration update is valid and prevents IP range overlap?
- Expand the subnet primary IP range to .Cevap
- BExpand the subnet primary IP range to .
- CChange the VPC mode from custom-mode to auto-mode to allow Google Cloud to automatically expand subnets.
- DAdd a non-contiguous secondary CIDR range of directly to the primary IP range of the subnet.
Cevap
Expand the subnet primary IP range to .
Expanding the primary CIDR block of a custom-mode subnet requires keeping the range contiguous and aligned to proper binary network boundaries. Expanding to covers IP addresses from to , incorporating the original range, doubling capacity to addresses, and avoiding collision with the existing subnet.
Adım Adım Çözüm
Anahtar Kavram
Subnet IP Range Expansion in Google Cloud VPC