Virtual network
Overview
A virtual network is the private network that VMs belong to. The IP range is defined by a CIDR block, and VMs in the same virtual network can talk to each other over private IPs.
Creating a virtual network
-
Under Network > Virtual Networks, click Create Virtual Network.
-
Configure the following:
Field Description Example Virtual network name An identifying name prod-vnetNetwork CIDR IP range (must be inside 172.16.0.0/14or192.168.0.0/16)192.168.0.0/16 -
Click Create.
CIDR tips
- ECI only allows CIDRs inside
172.16.0.0/14(172.16.0.0–172.19.255.255) or192.168.0.0/16(RESOURCE_SUBNET_ALLOWED_NETWORK_CIDRS). - If you plan to create many VMs, size up to
/16(65,534 IPs). - After creation, CIDR and zone cannot be changed (editable: name, tags, firewall rules).
Managing virtual networks
- List: shows name, CIDR, and number of subnets
- Delete: only possible if no subnets or VMs are attached
Next steps
- Subnet: carving out an IP range inside a virtual network