Skip to main content

Virtual Networks

A virtual network, also known as a virtual LAN (VLAN), is a network that is created and managed in a software-based manner on top of a physical network infrastructure. These networks simulate physical network components (such as switches, routers, servers) in a virtual environment, allowing resources and connections to be shared virtually.

Limitations

info

The network cannot be deleted if a router or load balancer is linked to it (if a VPN is attached to the router, the order of the deletion process must be VPN, router, and network respectively).

Create a Virtual Network

  1. On the "Networks" page, click "Add New".

  2. On the "Create a Virtual Network" window, specify a name and then do the following:

    1. Enable or disable IP Address Management:

    • With IP address management enabled, VMs connected to the network will automatically be assigned IP addresses from allocation pools by the built-in DHCP server and use custom DNS servers. Additionally, spoofing protection will be enabled for all VM network ports by default. Each VM network interface will be able to accept and send IP packets only if it has IP and MAC addresses assigned. You can disable spoofing protection manually for a VM interface if required.

    • With IP address management disabled, deleting pool ranges during the editing phase can lead to errors in the machine we create. Adding secondary or primary IPs does not prevent the machine from encountering errors. Neither DHCP nor gateway values in the network can prevent this situation. The primary condition appears to be the range of the pool. Therefore, networks formed when IP address management is turned off are not displayed in the network selection during VM creation because they lack a pool range.

      note

      In any case, you will be able to manually assign static IP addresses from inside the Virtual Machine.

  3. If you enabled IP Address Management, you will move on to these steps;

    1. Enable or disable the built-in DHCP server:

    • With the DHCP server enabled, VM network interfaces will automatically be assigned IP addresses: either from allocation pools or, if there are no pools, from the network’s entire IP range. The DHCP server will receive the first two IP addresses from the IP pool.

    • With the DHCP server disabled, VM network interfaces will still get IP addresses, but you will have to manually assign them inside VMs.

    note

    The virtual DHCP service will work only within the current network and will not be exposed to other networks. :::

    1. Specify one or more allocation pools (ranges of IP addresses that will be automatically assigned to VMs).

    2. Specify DNS servers that will be used by Virtual Machines.

  4. Click "Create a Virtual Network."

Managing Virtual Networks

  • On the "Networks" page, click the Virtual Network you want to edit.
  • You can edit the name and subnet of the virtual network in the window that opens on the right side.
  • Also, you can delete the virtual networks on this page. Click on the Virtual Network you want to delete, and then click the "Delete" button.