A cloud architect is designing a custom-mode Virtual Private Cloud (VPC) network. The primary subnet in `us-east1` is currently configured with the IP block . The architecture team intends to expand this primary subnet range in the future to a prefix to accommodate up to virtual machine instances. A second subnet in `us-central1` must be provisioned immediately. To ensure that the future expansion of the `us-east1` subnet will not fail due to IP range overlap, which CIDR range should be allocated to the new `us-central1` subnet?
- A
- Cevap
- C
- D
Cevap
The range should be allocated to the us-central1 subnet to avoid CIDR overlap when us-east1 is expanded to .
In Google Cloud VPC networking, primary IP address ranges must be expanded to a larger subnet mask (smaller prefix length) while maintaining strict bit-boundary alignment. Expanding to a prefix forces the expanded range to become , spanning to . Therefore, assigning to the new subnet leaves the address space – completely free for future expansion.
Adım Adım Çözüm
Anahtar Kavram
CIDR Subnet Expansion and Boundary Alignment in GCP VPC Networks