Skip to main content

Network Flows

Enterprise Feature

Network Flows is available exclusively with an Enterprise license. The required feature flag is sflow_monitoring.

The Network Flows page shows which guests talk to whom, over which ports, and how much. It is built on sFlow: the Open vSwitch instances on your nodes sample a fraction of the traffic they switch and send those samples to the ProxCenter orchestrator, which decodes them and attributes each flow to a guest.

Network Flows Overview tab: sFlow agents table with three nodes receiving, the Flow Rate, Active VMs, Total Bandwidth and Agents cards, Top Talkers by guest, Top Pairs with PostgreSQL, Redis and HTTP-Alt flows, and the Top Ports chart
The Overview tab: agent status first, then who talks the most, to whom, and on which ports.

Requirements​

Check the following prerequisites before expecting flow data.

SSH access on the connection. Enable and verify the connection's SSH access in Settings > Connections. Agent discovery and configuration use SSH; a working Proxmox API connection alone does not configure sFlow. The agents section appears only when nodes are returned.

Open vSwitch on the bridges that carry guest traffic. Only those bridges need to be OVS. Linux bridges elsewhere in the node, including the one carrying the management address, are irrelevant and can stay as they are. Nodes without OVS are listed as No OVS and skipped.

The collector must be reachable. The agents send UDP datagrams to the collector target you configure, port 6343 by default. That is one-way traffic from each node to ProxCenter, and it must be permitted by any firewall in between. A common surprise: a ProxCenter instance behind NAT can reach the nodes while the nodes cannot reach it back, and sFlow then produces nothing at all with no error anywhere.

Guest traffic must be visible where sampling happens. This is the part that decides whether your guests appear by name, and it is explained below.

Data path of Network Flows. On the Proxmox node, guests (VMs and containers) send their traffic through the Open vSwitch bridge, whose sFlow agent samples it; the Linux management bridge plays no part in sFlow. ProxCenter configures that agent over SSH. The bridge sends the samples one way over UDP 6343 to the orchestrator collector in ProxCenter, which decodes them and attributes them to guests for the Network Flows page under Orchestration › Network Flows. A note says that behind NAT or a one-way firewall, SSH still reaches the nodes but UDP 6343 cannot come back, so no flow data arrives and no error is shown anywhere.Data path of Network Flows. On the Proxmox node, guests (VMs and containers) send their traffic through the Open vSwitch bridge, whose sFlow agent samples it; the Linux management bridge plays no part in sFlow. ProxCenter configures that agent over SSH. The bridge sends the samples one way over UDP 6343 to the orchestrator collector in ProxCenter, which decodes them and attributes them to guests for the Network Flows page under Orchestration › Network Flows. A note says that behind NAT or a one-way firewall, SSH still reaches the nodes but UDP 6343 cannot come back, so no flow data arrives and no error is shown anywhere.
How flow samples travel from the Open vSwitch bridges to Network Flows, and why a ProxCenter behind NAT receives nothing, with no error.

How a flow is attributed to a guest​

Sampling happens on the OVS bridge. ProxCenter attributes each sampled packet to a guest in two ways, in this order.

  1. By interface. When the guest's own interface is a port of the sampled bridge, the port name carries the guest id: tap100i0 for a VM, veth109i0 for a container, and fwpr100p0 or fwln100i0 when the firewall is enabled on that NIC. This is exact.
  2. By MAC address. When the guest's interface is not a port of the sampled bridge, ProxCenter falls back to the source and destination MAC addresses carried in the sampled packet, matched against the NIC addresses read from your guest configurations.

The second path exists because of SDN. When a guest sits on an SDN VNet, the VNet is a Linux bridge and only a single shared uplink named ln_ plus the VNet name is a port of the OVS bridge. No per-guest interface is ever sampled, so interface naming alone can never identify the guest. MAC attribution is what makes the page work in that configuration.

Two panels of one Proxmox node. Left, guest NICs on the Open vSwitch bridge: VM 100 on tap100i0, container CT 109 on veth109i0 and VM 101 with its firewall on fwpr101p0 are ports of the Open vSwitch bridge, which samples every port, so the guest is identified by interface, exactly: the sampled port name carries the guest id. Right, guests on an SDN VNet: VM 200 and VM 201 sit on the Linux bridge vnet1, whose only port on Open vSwitch is the uplink ln_vnet1; their traffic to VM 300 on another node crosses ln_vnet1 and Open vSwitch, is sampled, and the guest is identified by MAC address, matched against the guest configurations. Traffic between VM 200 and VM 201 stays local to the Linux bridge, never reaches Open vSwitch and is not sampled.Two panels of one Proxmox node. Left, guest NICs on the Open vSwitch bridge: VM 100 on tap100i0, container CT 109 on veth109i0 and VM 101 with its firewall on fwpr101p0 are ports of the Open vSwitch bridge, which samples every port, so the guest is identified by interface, exactly: the sampled port name carries the guest id. Right, guests on an SDN VNet: VM 200 and VM 201 sit on the Linux bridge vnet1, whose only port on Open vSwitch is the uplink ln_vnet1; their traffic to VM 300 on another node crosses ln_vnet1 and Open vSwitch, is sampled, and the guest is identified by MAC address, matched against the guest configurations. Traffic between VM 200 and VM 201 stays local to the Linux bridge, never reaches Open vSwitch and is not sampled.
A guest whose NIC is a port of the Open vSwitch bridge is identified by its port name. A guest on an SDN VNet is identified by its MAC address, and traffic between two guests of one VNet on the same node is never sampled.

The one blind spot​

Traffic between two guests on the same VNet and the same node is switched by the Linux bridge and never reaches Open vSwitch. It cannot be sampled, and no ProxCenter setting changes that.

The practical consequence: on a lab where two guests of the same VNet on one node ping each other, the flow panels stay empty and everything is working as designed. Move one guest to another node, or look at traffic that leaves the VNet, and it appears.

Configuring the agents​

Open Orchestration > Network Flows in the provider tenant. The agents table lists every node of every Proxmox connection with SSH enabled, along with whether OVS is present, whether sFlow is configured, the collector target, the sampling rate, and how many guest ports the orchestrator has mapped for that node. Use Verify reception to refresh the collector's health check, then review each node's Telemetry column: Receiving confirms incoming telemetry; Awaiting telemetry, Telemetry missing or an unavailable collector needs investigation.

sFlow agents table grouped by connection: three Open vSwitch nodes Receiving with their collector target, sampling rate, flow rate, samples and last datagram, and three nodes marked No OVS
Each node shows whether it has Open vSwitch, whether its telemetry arrives, and where it sends it. Verify reception re-checks every agent.

Use Configure sFlow on all nodes for the eligible, unconfigured OVS nodes, or the per-row action to configure or reconfigure one node. You choose:

  • Collector target, as host:port. It must be an address the nodes can reach.
  • Sampling rate, meaning one packet sampled out of N. The default of 512 suits production. On a quiet lab, lower it so that the little traffic there is actually gets sampled.
Configure sFlow Monitoring dialog with the collector target, a sampling rate of 512 and the list of nodes to configure
Enter the collector address the nodes can reach and the sampling rate, then configure every listed node at once.

The result is reported per node: the bridges configured, or the reason when a node fails, which is then also shown on the node's row. A node that has no OVS bridge is reported as nothing to configure, not as a success. A run where no node was configured is an error carrying the reason, not a silent no-op. Every configure run, whatever its outcome, is written to the Audit Log.

Configuration does not survive a bridge rebuild​

Open vSwitch stores its sFlow configuration in its own database, and that configuration is lost whenever the bridges are recreated, which happens on a network reload or a node reboot. Nothing on the Proxmox side puts it back.

ProxCenter re-applies it for you. Every ten minutes it probes each node, and any node that has OVS bridges but no collector configured is reconfigured with the last settings you applied, the ones stored by your last Configure run. You can also press Configure again at any time.

When samples arrive but no guest appears​

If the panels say that samples are arriving while no flow can be attributed, the page warns you about it: the agents are healthy and the problem is visibility, not sFlow. Check, in this order:

Network Flows overview with three Open vSwitch nodes Receiving and three nodes without OVS, flow rate 0, no active VM, and the Top Talkers and Top Pairs panels both warning that samples are arriving but no flow can be attributed to a VM
Agents receiving, yet no guest named: the panels say so explicitly. This is a visibility problem to solve with the checks below, not an sFlow outage.
  1. Is any guest interface a port of the sampled bridge? Run ovs-vsctl list-ports followed by the bridge name on the node. If you see only physical interfaces and ln_ entries, your guests are behind SDN VNets and attribution depends on MAC matching.
  2. Is the guest traffic crossing the bridge at all? Two guests of the same VNet on the same node never cross it. See the blind spot above.
  3. Are the mapped ports non-zero? The agents table shows the count per node. Zero everywhere with samples arriving points at the previous two questions.
  4. Is sFlow actually configured? Run ovs-vsctl list sflow on the node. Empty output means no collector is set, whatever the page said before the last reboot.

Grouping by micro-segmentation zone​

On the Flow Diagram tab, Group by offers VM, IP and Zone. Zone reads the flows against the micro-segmentation policy of the connection, and needs a policy there; until then it offers to open the Micro-segmentation tab.

A Traffic by zone strip then splits the bytes into Intra-zone, Between zones, To outside and From unknown, with the bytes per source zone. Each pair shows its policy status:

StatusMeaning
AllowedA flow of the policy covers it, or both ends are members of the same zone
Not coveredNo flow covers it. In an observing zone it would be blocked once the zone enforces; in an enforcing one, it is blocked
BlockedDropped by an enforcing zone
Return trafficThe answer to a connection the other side opened, let back by the stateful firewall without a flow
UnknownOne end is in no zone, so the policy does not apply

From a pair, Accept adds the observed flow to the micro-segmentation draft, and Create flow adds a flow for its service. Nothing is written to Proxmox until the plan is applied from the Micro-segmentation tab. sFlow sums every service between two addresses, so the status is that of the last service sampled.

What the numbers mean​

The flow counter in the Top Talkers header is the collector's raw lifetime count of decoded samples. It rises as soon as datagrams arrive, whether or not anything could be attributed, so it is a liveness indicator for the agents rather than a measure of what the panels show.

Bandwidth figures are derived from sampled packets multiplied by the sampling rate. They are statistically representative over a busy link and coarse over a quiet one.

Access and empty results​

The Network Flows menu entry requires automation.view, provider-tenant context and the sFlow monitoring feature. Reading flows requires connection.view, configuring agents requires connection.manage, and Verify reception requires admin.settings. If the page shows Waiting for sFlow data... or zero counters, use Verify reception and the agents table's Telemetry column to check whether each node is exporting.