9. Managing Virtual Private Networks

You can create, edit, and delete a virtual network.

9.1. Creating Virtual Private Network

  1. On the Networks screen, click + Create virtual network.

    _images/vhc-creating-virtual-private-network-1.png
  2. On the Network configuration step, do the following:

    1. Turn on the IP address management toggle to provide Internet access for this network.

    2. Specify the name of the network and click Next.

      _images/vhc-creating-virtual-private-network-2.png
  3. When IP address management is enabled, you will move on to the IP address management step:

    1. In the Subnets section, click Add and select IPv4 subnet.

      _images/vhc-creating-virtual-private-network-3.png
    2. 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.

    3. 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.

    4. 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.

    5. 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.

    6. Specify DNS servers. They must point to some existing DNS services.

    7. Click the Add button.

      _images/vhc-creating-virtual-private-network-4.png
    8. Click Next.

      _images/vhc-creating-virtual-private-network-5.png
  4. On the Summary step, review the configuration and click Create virtual network.

    _images/vhc-creating-virtual-private-network-6.png

9.2. Editing Parameters of Virtual Network

  1. On the Networks screen, click the required network.

  2. On the network right pane, click the pencil icon next to the network name or IPv4 subnet.

  3. 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.