9. Managing Virtual Private Networks¶
You can create, edit, and delete a virtual network.
9.1. Creating Virtual Private Network¶
On the Networks screen, click + Create virtual network.
On the Network configuration step, do the following:
Turn on the IP address management toggle to provide Internet access for this network.
Specify the name of the network and click Next.
When IP address management is enabled, you will move on to the IP address management step:
In the Subnets section, click Add and select IPv4 subnet.
In the Add IPv4 subnet window, specify the network’s IPv4 address range. The CIDR must be of some private range. For example, 10.100.0.0/24.
Specify the gateway, which is a placeholder IP for the virtual router. It can be any IP within the CIDR range—for example, 10.10.0.1.
Select the Built-in DHCP server checkbox to enable delivering the IP for VMs. The DHCP server will take the first two IPs from the allocation pool.
Specify one or more allocation pools. The allocation pool is an optional configuration to set only needed IP ranges within the CIDR range. When not provided, the allocation pool is equal to the CIDR range. Typically, you do not need to configure it, only if you want to exclude some IPs from being issued by providing narrowed pool range.
Specify DNS servers. They must point to some existing DNS services.
Click the Add button.
On the Summary step, review the configuration and click Create virtual network.
9.2. Editing Parameters of Virtual Network¶
On the Networks screen, click the required network.
On the network right pane, click the pencil icon next to the network name or IPv4 subnet.
Make changes and save them.
9.3. Deleting Compute Network¶
Click the ellipsis icon next to the required network, and then click Delete. To remove multiple compute networks at once, select them, and then click Delete.