An administrator needs to expand the IP range of an existing subnet in a Google Cloud Virtual Private Cloud (VPC) network. The current subnet is configured with the primary IP address range . Which of the following IP ranges is valid for expanding this subnet?
- 10.1.0.0/23Answer
- B10.1.0.0/25
- C10.1.1.0/24
- D10.2.0.0/23
Answer
The IP range 10.1.0.0/23 is the valid choice because it expands the existing 10.1.0.0/24 block while completely containing all existing IP addresses within the subnet.
In Google Cloud VPC, expanding a subnet requires reducing the prefix length (e.g., from /24 to /23). The range 10.1.0.0/23 spans from 10.1.0.0 to 10.1.1.255, which smoothly encompasses all IP addresses in the existing 10.1.0.0/24 block without service disruption.
Step-by-Step Solution
Key Concept
VPC Subnet IP Range Expansion Rules