hardgcloud
Expand the IP range of an existing subnet to a larger CIDR prefix
command
gcloud compute networks subnets expand-ip-range SUBNET --region REGION --prefix-length PREFIXalso accepted
gcloud compute networks subnets expand-ip-rangecommand
gcloud compute networks subnets expand-ip-range SUBNET --region REGION --prefix-length PREFIXalso accepted
gcloud compute networks subnets expand-ip-rangePart of the Google Cloud CLI (gcloud) — Networking category.
| Flag | Purpose |
|---|---|
--region | Boolean flag |
--prefix-length | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →