Skip to main content

Networks and IP pools

A network in Center is a segment that virtual machines (VMs) and routers connect to. A network has one IPv4 subnet, one IPv6 subnet or both. A network belongs to the cluster, and the VDCs (virtual data centers) it is assigned to use it. You can assign one network to several VDCs; if you remove the assignment, the network remains.

Each network has an IP pool — the subnet addresses that Center assigns to VM and router ports. When it connects a port, Center takes a free address from the pool or checks the address set by the user. A port cannot get an address outside the pool.

Address assignment and network creation rights​

Center assigns addresses itself: this way, it passes the address, mask and gateway to the guest OS right away and never assigns one address to two ports. That is why you exclude the address of a device outside Center from the pool.

Only Cluster master creates Routed and Q-in-Q networks; VDC admin can also create Isolated and GENEVE ones. The first two work through VLANs of the physical network shared by the whole cluster.

Network types​

You set the type when you create the network; after that, you can change only the network name and tags in the web interface. Mask, MTU and VLAN ranges — Create a network.

TypeWhat it is
Isolateda virtual network on top of the network between nodes; it is not visible outside the cluster, and a router connects it to other networks
GENEVEa virtual network on top of the network between nodes, like Isolated, but with GENEVE encapsulation
Routeda network in a VLAN of the physical data center network, in the same segment as the devices of this VLAN; you set VLAN ID
Q-in-Qa network with two VLAN tags; you set VLAN ID — the outer tag — and Q-in-Q ID — the inner tag

The Isolated type does not mean that the network has no access to external networks: a router provides this access — Routers.

IP pool population​

Center fills the pool automatically when the network is created. An example for the IPv4 subnet 192.0.2.0/24 without Gateway (v4) set:

  • Gateway — the first address, 192.0.2.1; Center reports it to VMs as the default gateway.
  • The pool includes 192.0.2.1–192.0.2.252: all addresses except the network address and the last three.
  • A specified Gateway (v4) changes the rule: the pool includes all addresses except the network address and the last one.
  • In a Routed network, the gateway address is excluded from the pool: the gateway is an external router.

Center itself never assigns the gateway address, in any network. In Isolated, GENEVE and Q-in-Q networks, the gateway address stays in the pool, and you can assign it to a router port manually. The VMs of the network get this address as the default gateway, so traffic beyond the subnet is sent to the router. The router port in the external network and NAT rules forward it to the external network — Routers.

An IPv6 subnet has no default gateway: it has one only if you set it in the Gateway (v6) field. Center also assigns IPv6 addresses itself or checks the specified one.

The pool is shared by all VDCs of the network. How many addresses are free, in use and excluded, and what holds them — Exclude an address from an IP pool and view used addresses.

Network DNS​

A network can have its own DNS: Primary DNS server, Secondary DNS server (both are IPv4 addresses) and DNS suffix (search domain). You set them only when you create the network and cannot change them later: to change the DNS, recreate the network.

A new VM in this network gets the network DNS if you did not set its own DNS when creating the VM: then its own values fully replace the network ones. VMs that are already running do not get the new values. In a network without DNS, VMs work unchanged: the DNS section of the network panel shows Not set, system DNS servers are used. How to set the network when creating a VM — Create a VM.

Tags​

A tag is a network label in the key: value form, for example env: prod. You search and filter networks by tags in the Networks table on the All Networks page. A network has up to 20 user tags; the key and the value are up to 128 characters each. Tags with the vstack: prefix are set by Center itself: you cannot change or remove them. When you delete a network, its tags are deleted with it.

You add and remove tags in the network side panel — Exclude an address from an IP pool and view used addresses.

IP guard​

IP guard is a switch on a VM or router port, not a network property. It is enabled by default and protects against address spoofing: the port passes traffic only from the address assigned to this port. It is not a firewall: it does not check ports and protocols; you set traffic rules on the router.

On a VM port and when you create a router, you can disable it only in an Isolated network — when a VM sends traffic from addresses that its port does not have, for example when the VM itself acts as a router.

See also​