Hyperflow uses libvirt networks and Open vSwitch (OVS) for Layer 2/Layer 3 segmentation across multiple hypervisor hosts.
Network modes#
| Mode | Use case | Default bridge |
|---|---|---|
| NAT (default) | Internet access through the host | virbr-<name> |
| BRIDGED | VMs directly on the physical network | virbr-<name> |
| PRIVATE | Isolated network without external connectivity | virbr-<name> |
| VLAN | Physical trunk segmentation with 802.1Q tags (vlan_id) |
br-int |
| VXLAN | Cross-cluster tenant networks (L2 over L3); identical subnets per tenant possible | br-int |
If you do not specify a value, Hyperflow assigns a random VXLAN VNI between 10000 and 99999 or a VLAN ID between 100 and 4000. The installation script creates the OVS bridge br-int.
Creating and editing networks#
You create a network with + Neues Netzwerk erstellen (Create new network); you edit it with Netzwerk-Einstellungen (Network settings) in the Aktionen (Actions) column. In addition to name, mode, and subnet, the following are available:
- Beschreibung (Description)
- DHCP: enable it, and set the start and end address (if you do not specify them, Hyperflow calculates a default range)
- Host-Anbindung (Host connection) and Weiterleitungs-Schnittstelle (Forwarding interface) (
forward_dev) - Autostart and Aktiv (Active) status
- MTU
- IPv6 with its own CIDR
Hyperflow writes the configuration to libvirt with virsh net-define. The network table shows mode and status with uniform icons; the columns can be shown and hidden.
Existing Cockpit/KVM networks#
Existing libvirt networks are read automatically at startup, including their actual modes, DHCP ranges, and IP and MAC addresses. Cockpit / KVM Netze abgleichen (Synchronize Cockpit / KVM networks) reads them again. Bridges created by Docker (docker*, br-<id>) are skipped and removed from the database.
Multi-NIC, live network switching & link control#
- Multi-NIC & models: Each VM can have any number of network adapters on the Speicher & Netz (Storage & Network) tab (
auto,virtio,e1000,e1000e, orrtl8139). For Windows ISOs,autoautomatically selectsIntel e1000so Windows recognizes a network card immediately without additional drivers. Hyperflow automatically generates collision-free KVM MAC addresses (52:54:00:...) but also allows custom MACs. - Disconnect / connect link: On the VM detail page, you can disconnect or reconnect each adapter's virtual network cable while the VM is running (
POST /api/v1/vms/{id}/interfaces/link). - Live & persistent network switching: If you change the network or bridge of a running libvirt or QEMU VM in the VM settings, Hyperflow applies the change immediately both live and persistently.
API#
| Method & path | Description |
|---|---|
GET /api/v1/networks |
List networks |
POST /api/v1/networks |
Create a network |
PATCH /api/v1/networks/{id} |
Change a network |
DELETE /api/v1/networks/{id} |
Delete a network |
POST /api/v1/vms/{id}/interfaces/link |
Disconnect / connect a VM network adapter live (Link Down/Up) |