Corosync network design for Proxmox VE clusters

A practical design guide for Corosync networks in Proxmox VE clusters: separate physical links, redundant priorities, and the bond and storage traffic patterns that cause false fencing.

On this page

Why Corosync network design decides whether healthy nodes get fenced

When a Proxmox VE cluster fences healthy nodes under load or during backups, the usual cause is not the node hardware. Corosync network design is what keeps cluster membership traffic reliable, and a network that delays that traffic for a few seconds can make a healthy node look dead. Corosync is the messaging layer that tells every node which peers are alive, which node holds quorum and when the cluster state changes. The Proxmox Cluster File System and the HA resource manager both depend on that membership view, so a membership failure spreads into guest restarts and fencing.

High availability in Proxmox VE needs at least three cluster nodes for reliable quorum, shared storage for guests, redundant hardware, and watchdog-based fencing so a failed node is reset before its guests are recovered elsewhere (Proxmox VE High Availability wiki). Fencing is the step that makes recovery safe, but it is also the step that turns a short network stall into a reset. A node that misses Corosync heartbeats long enough is treated as failed, and its watchdog will reset it. Confirm that your cluster meets all four requirements before you tune the network, because no network design compensates for a two-node cluster without a tie-breaker or for storage that cannot be reached from every node.

A dedicated Corosync network becomes necessary once other traffic can delay membership packets. Typical culprits are backup streams, live migration, Ceph replication or NFS and iSCSI storage traffic sharing the same physical links as Corosync. Plan a dedicated physical NIC, or at least a separate VLAN with its own priority, for Corosync, and ask your network team to confirm there is no oversubscribed uplink between nodes. Before go-live, record the round-trip latency and packet loss between every pair of nodes during a backup window, because the cluster will only be as stable as its worst observed path.

Corosync link options and when each fits

This table compares five ways to carry Corosync traffic, showing what each option isolates, when it fits and the main risk it carries. Read it as a ranking of isolation: the further the cluster heartbeat is from bulk traffic and shared failure points, the less likely a latency spike will trigger a fence.

OptionWhat it isolatesWhen it fitsMain risk
Shared management networkNothing beyond the general admin pathLab or non-production clusters where fencing consequences are acceptableBackup, migration or storage traffic can delay heartbeats and trigger fencing
Dedicated physical NIC per Corosync linkCluster heartbeat from all bulk trafficProduction clusters with a spare NIC and separate switch ports for each nodeA single switch or cable failure still breaks the link if no second path exists
Second Corosync link on a separate path with priorityA failed link or path, with traffic moving to the next priorityProduction clusters where each node can reach the other on two independent networksBoth links may share a switch or uplink unless paths are truly separate
Bonded Corosync interfaceSingle NIC failure at the link layerTeams that want link failover handled by the bond driver and have matching switch configurationBond mode and switch behavior can hide or delay failover, and heavy traffic on the bond can still starve heartbeats
Separate VLAN on shared switchesLogical traffic separation onlySites with limited ports that still need traffic segmentationShared switch buffers, uplinks and failures affect every VLAN, so latency spikes still reach the heartbeat

Why bonds and shared storage networks cause fencing trouble

Corosync is sensitive to delay and loss on the links it uses, and most fencing incidents trace back to something else sharing that path. The cards below cover the traffic, hardware and configuration sources that most often push token timeouts past their limit.

Bonds that hide failover

A bond can fail over between member NICs or switches without the ring ever seeing a link drop. During that switchover, Corosync packets can stall long enough to miss the token timeout, and the node may be fenced even though nothing looked broken from the host. Confirm the bond mode, which switch ports each member uses, and how long a single member failover takes in a test. If Corosync needs a dedicated path, prefer separate links with their own priorities over a bond that mixes it with other traffic.

HA requirements

Shared storage saturating the link

When storage or live migration traffic uses the same physical link as Corosync, a large transfer can fill queues and delay small cluster packets. The result looks like a network fault at random times, often during backups, rebuilds or migrations. Check which networks carry NFS, iSCSI, Ceph or migration traffic on each node, and measure link utilization during the heaviest storage job you run. Corosync should not share a link with traffic that can saturate it.

Backup jobs on the same uplink

Backup jobs that stream to a remote Proxmox Backup Server or a NAS often leave the node through the same switch uplink used for cluster traffic. A nightly job can create a bandwidth spike that delays heartbeats only for a few minutes, which is enough to trigger fencing. Confirm where backup traffic exits each node, whether the path crosses an uplink shared with the Corosync VLAN, and whether backup windows overlap with any known peak. Look at the timing of past fencing events against the backup schedule.

MTU and VLAN tagging mismatches

A jumbo frame MTU set on one node but not on the switch, or a VLAN tag applied on one side only, can cause intermittent drops that look like latency. Small packets may pass while larger ones fail, so basic pings can hide the problem. Verify the MTU end to end with non-fragmenting pings sized for the configured value, and confirm the tagged VLAN is allowed on every trunk port that carries the Corosync network. Apply the same settings on every node so no single host behaves differently.

Flow control and spanning tree events

Switch-level flow control can pause traffic in ways that delay Corosync for longer than the token timeout, while a spanning tree topology change can briefly block forwarding on a port. Both events can happen with no visible link loss on the host. Check the switch configuration for flow control on the Corosync ports, whether PortFast or an equivalent edge setting is used for node-facing ports, and the switch logs for topology change notifications at the times of past fencing events. Ask the network team to confirm these settings in writing before go-live.

How to set up redundant Corosync links on a new cluster

This sequence produces a new Proxmox VE cluster where each node has two independent Corosync links on separate subnets, with priorities set so cluster traffic can fail over without fencing healthy nodes. Each step ends with a check you can run before moving on.

  1. Map physical NICs and switch paths

    Before any configuration, the network engineer and the platform engineer list every node's physical NICs, the switch and VLAN each port lands on, and whether the two Corosync ports use separate switches or separate paths through the fabric. Record the interface names as the operating system reports them on each host, since names can differ between identical servers. Done means you have a written map showing which NIC carries link 0 and which carries link 1 on every node, and that no two links share a single NIC, cable or upstream switch. Confirm the switch topology with your network team rather than assuming it from the diagram.

  2. Assign a dedicated subnet to each link

    Assign each Corosync link its own non-routed subnet, with one address per node on each subnet, and keep both subnets off the VM bridges and away from storage and migration traffic. The platform engineer records the addresses in the cluster design document and in DNS or the hosts file, using the same node names everywhere. Done means every node can be pinged on its link 0 address from every other node, and every node can be pinged on its link 1 address, with no traffic leaving the dedicated VLANs. If the links share a subnet with other services, treat the design as not ready.

  3. Configure both links at cluster creation

    When you create the cluster, the platform engineer defines both links with the link addresses for each node so that Corosync knows about the second path from the start, using the cluster creation options described in the Proxmox VE documentation. Confirm the exact command options against the version you are deploying, since syntax changes between releases. Done means the cluster is created with two link addresses listed for every node in the cluster configuration, and no node was joined on a single link. If you are building the cluster from a single node first, plan the second link before the first node joins so you do not have to rebuild membership later.

  4. Set link priorities

    Set the priority of each link so Corosync prefers the dedicated low-latency path and falls back to the second link only when the first is unavailable. The platform engineer sets the priority values in the cluster configuration, keeps the same ordering on every node, and writes the chosen values into the design record. Done means every node reports the same priority for each link in the cluster configuration, and the ordering matches the design document. Ask the vendor or the official documentation which priority values are supported for your version before you choose numbers.

  5. Verify each node sees both links

    After the configuration is applied, the platform engineer checks the Corosync status on every node and confirms that each peer is reachable on both links with no flapping. Review the link state output and the cluster membership listing from each host, not only from one node. Done means every node shows all peers connected on link 0 and link 1, quorum is held by the full membership, and the log for the Corosync service contains no repeated link down messages over a sustained observation period. If any peer shows only one link, return to the subnet and firewall checks in the previous steps.

  6. Test a single-link failure in a maintenance window

    Schedule a maintenance window with the change owner and the application owners, and confirm that HA is paused for guests whose behavior you do not want to test. The platform engineer disables one link on one node at a time, by unplugging or administratively downing the interface, and watches whether the remaining link carries cluster traffic and whether any node is fenced. Repeat for each node and for the other link. Done means each single-link failure leaves all nodes in quorum with no fencing, and the test results, timestamps and log excerpts are saved with the change record. Restore the link and confirm both paths are healthy again before closing the window.

Security and operational considerations for the Corosync network

The Corosync network carries cluster membership and quorum traffic, so its exposure and its upkeep matter as much as its design. The cards below cover isolation, access, link monitoring, documentation and change control, each of which should be confirmed in your environment before go-live.

Isolate Corosync from guest and user traffic

Keep the cluster ring on its own physical switches or VLAN, with no guest bridges, user access or backup streams sharing the path. Guest traffic and bulk transfers can saturate a link and delay the token messages Corosync depends on, which is a common route to unexpected fencing. Confirm with your network team that no VLAN trunk, uplink or firewall policy on that segment carries anything other than cluster traffic.

Restrict who can reach the ring

Corosync traffic should only be reachable from the cluster node addresses on the ring subnets. Anyone who can inject packets into that segment can disrupt membership, so host firewalls and switch port policies should allow only the expected peers. Ask your security team to confirm that management access to the ring network is limited to administrators and that the ring is not routed to user networks.

Monitor link state continuously

A ring that looks healthy at go-live can degrade silently, for example when a cable fails and the other link carries everything. Alert on link down events, flapping interfaces and error counters on each ring interface, not only on cluster membership changes. Check that your monitoring system can see the ring NICs separately from the bond or management interfaces, so a single failed path is visible before the second one fails.

Document addressing and switch ports

Keep a current record of each node's ring addresses, the interface names used for each link, the switch and port each link plugs into, and the priority assigned to each ring. During an incident, this record is what lets an operator confirm which path failed without guessing. Stable interface names should be pinned so a reboot or hardware swap does not silently move a ring to another NIC. Ask for this document as a deliverable before handover.

Route ring changes through change control

Changing IP addresses, MTU, switch configuration or ring priorities can break quorum on a live cluster. Require a written change plan, a rollback path and a maintenance window for every ring modification, and review the cluster status after each step. Confirm that your change board knows which network changes affect Corosync, since a routine switch firmware update can alter latency on the ring.

Corosync network questions buyers ask before hiring help

Do I need a dedicated physical NIC for Corosync in Proxmox VE?

A dedicated NIC is strongly preferred, but the real requirement is that cluster heartbeat traffic is not delayed by anything else. Corosync sends small, frequent messages, and when those messages share a link with backups, live migration, storage replication or heavy guest traffic, queueing delay can exceed the timeouts that decide whether a node is considered lost. A separate physical network, or at minimum a link that carries nothing else, removes that dependency. Confirm the design against the Proxmox VE High Availability guidance and your own latency measurements before you accept any shared arrangement.

Is a bond acceptable for the Corosync network?

A bond can be acceptable when it is used only for cluster traffic and its members are on separate switches, but it is not a substitute for a second Corosync link. Bonding protects against a single NIC or cable failure, while Corosync redundancy with multiple links lets the cluster fail over between networks it can reach independently. The common trouble is a bond that also carries migration, storage or VM traffic, because a saturated bond delays heartbeats just as a saturated single link does. Ask your engineers to show the traffic mapping for each link before go-live.

What drives the cost and effort of a Corosync network redesign?

The main drivers are the number of nodes, how many networks are already in use, whether NICs, switches and cabling must be added, and how much of the current traffic must be moved off shared links. Cost splits into hardware you buy, change windows you schedule, and engineering time for the design, the change and the testing. Hardware is usually one-time, while monitoring and periodic failover testing recur. Ask any partner for a quote that lists the current topology, the target topology, every change to switches and host configuration, and the test plan.

How long does it take to retrofit a new Corosync network into a running cluster?

Duration depends on the number of nodes, the availability of cabling and switch ports, the size of the maintenance window, and whether guests must be moved off nodes during each change. Adding a link is usually done one node at a time so the cluster keeps quorum throughout, and each step needs verification before the next begins. Because no timeline figure is supplied for this work, ask the vendor or partner for a schedule based on your topology, and confirm which node changes require HA to be paused.

What does my team need to provide for a network redesign?

Your team should provide an accurate inventory of hosts, NICs, switches, VLANs and current traffic flows, plus access to change windows and a named owner for network and hypervisor decisions. You also need documented IP plans for each cluster network, out-of-band access to every node in case a change breaks connectivity, and recent backups of cluster configuration. Engineers should be available to approve switch changes, because many redesigns fail on port settings or MTU mismatches rather than on Proxmox VE itself.

Can my own team redesign the Corosync network without outside help?

Yes, if your team has hands-on experience with Linux networking, Corosync, switch configuration and Proxmox VE cluster operations, and can test failover without risking production. The difficult part is rarely the configuration file; it is proving that a latency spike or a failed link does not fence a node during real load. An external partner can run the design review, the staged change and the failover tests as a fixed-scope piece of work, while your team keeps ownership of the result. Decide based on whether you can staff those tests in your own environment.

How do I validate a Corosync network design before go-live?

Validation should prove three things: each link can carry cluster traffic independently, failover between links works under load, and the cluster does not fence a node during a realistic latency event. Test each link by pulling it while guests run, then measure Corosync status and HA behavior. Add background load on shared networks to show the effect of contention, and check that fencing status and watchdog behavior match the design. Record every result so the evidence can be reviewed later, and repeat the tests after any switch or kernel change.

How DeployOpen scopes and delivers Corosync network design

DeployOpen plans, builds, tests and documents the Corosync network for your Proxmox VE cluster inside your own infrastructure. The work is fixed-scope, with the network layout, link priorities and verification steps agreed in writing before any node is changed.

How we scope

  • We review node count, NIC inventory, switch topology and where storage and migration traffic currently run.
  • The written scope names each Corosync link, its subnet, its priority and the cluster nodes it covers.
  • Engagements are fixed-scope, and ongoing support is available as a retainer once the cluster is live.

How we build

  • We configure a dedicated physical network for cluster traffic and keep it separate from VM, storage and migration networks.
  • We set redundant links with explicit priorities and confirm that failover between them behaves as designed.
  • We test latency spikes and link loss under load and record the results against the agreed acceptance criteria.

How we hand over

  • You receive the network diagram, the Corosync configuration as deployed and the addressing plan for each node.
  • The runbook covers adding a link to an existing cluster, checking link status and the steps for a failed NIC.
  • We walk your platform and network teams through the verification evidence so they can repeat the tests themselves.

How we support

  • Support covers changes to link layout, new nodes and switch replacements, scoped in writing as each change arrives.
  • Periodic retesting after Proxmox VE upgrades or switch firmware changes can be included in a retainer.
  • Operational questions about link health are answered against the documented design, so your team keeps a single source of truth.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.