Cloud Platform
VPCs and subnets
Last updated 2026-11-05
VPCs and subnets
A VPC (virtual private cloud, shown as a network) is an isolated layer 2 and 3 network of your project. Other projects cannot see it. A VPC is divided into subnets.
VPCs
| Property | Meaning |
|---|---|
| Name | A name you choose. |
| MTU | The largest packet on the network. |
| IPv6 | Whether the VPC has IPv6. It then holds a private IPv6 /32 block. |
| State | PENDING, PROVISIONING, READY, DELETING or ERROR. |
A VPC can be single stack (IPv4 or IPv6) or dual stack.
Subnets
A subnet belongs to one VPC and has one of three types:
| Type | Addressing |
|---|---|
| IPv4 only | An IPv4 CIDR you choose. |
| IPv6 only | A /48 taken from the VPC's /32. |
| Dual stack | Both. |
Subnets carve /48 IPv6 blocks out of the VPC's /32. IPv4 subnets are defined by you, one CIDR per subnet.
Gateways
Every subnet has a gateway at a fixed address:
| Family | Gateway |
|---|---|
| IPv4 | The first address of the subnet. For 10.0.1.0/24 that is 10.0.1.1. |
| IPv6 | fe80::1 |
The gateway is distributed: every host in the VPC answers for it with the same MAC address, so traffic leaves from the nearest host.
Instances on different hosts
Instances of one VPC can run on different hosts and still reach each other directly. Between hosts traffic is carried over Geneve tunnels; you do not configure anything.
Deleting
A subnet or VPC can be deleted when nothing uses it. List the IP addresses of the project to see what still holds an address in it.
Quota The number of networks is limited per project. See Quotas.