Sources verifiedUpdated November 23, 2026
Summary: Size a post-quantum VPN gateway on two separate budgets: data-plane throughput, which depends on the symmetric cipher and packet rate, and control-plane handshake capacity, which hybrid ML-KEM makes larger and slower. Failover is the worst case, so test with every tunnel reconnecting at the same moment.

Sizing a post-quantum VPN gateway means working out two separate capacity budgets. The first is data-plane throughput: how many bits and packets per second the gateway can encrypt. The second is control-plane capacity: how many hybrid classical plus ML-KEM handshakes it can complete per second during routine rekeying and during failover. Hybrid key exchange puts its load on the second budget.

Mixing the two up leads to the most common sizing mistake in OT and critical infrastructure networks. A gateway can easily carry a site’s steady traffic and still struggle when 300 remote substations, pumping stations or wind parks all reconnect after a WAN outage. This article goes through each budget, the arithmetic behind it, and a test sequence to run before a gateway goes in next to a production firewall.

Does hybrid ML-KEM reduce VPN gateway throughput, or only affect handshake time?

Hybrid ML-KEM mainly affects the handshake. It does not affect the per-packet encryption cost of the tunnel. After the key exchange, traffic is still protected with a symmetric AEAD cipher whose key is the same size as before, so the steady-state Gbit/s figure stays essentially the same.

Under RFC 9370, IKEv2 can combine several key exchanges into one security association, typically a classical (EC)DH exchange plus a post-quantum KEM. RFC 9370 defines seven new Transform Types for negotiating these additional key exchanges. All the key exchanges feed into one key derivation. That derivation produces symmetric keys for ESP (or for whatever data-plane protocol the gateway uses), and every packet after that costs the same no matter how the key was agreed.

Throughput is still affected indirectly in three ways:

  • Shared CPU. On software and virtual gateways, ML-KEM operations, signature checks and packet encryption often run on the same cores. A burst of rekeys takes cycles away from forwarding.
  • Extra round trips. Classical IKEv2 needs two round trips. Adding one IKE_INTERMEDIATE exchange for RFC 9370 hybrid key exchange makes it three (arXiv 2610.25799, 2026). On a satellite or long-haul radio link, that extra round trip adds directly to tunnel setup time.
  • Packet-rate limits. OT traffic such as Modbus/TCP, DNP3 or IEC 60870-5-104 consists of many small packets. Gateways usually hit their packets-per-second limit before their bandwidth limit, so size on packets per second with a realistic packet mix, not on a large-frame Gbit/s figure.

Where the gateway design keeps renewing the hybrid key often, the handshake load becomes a constant background cost rather than an occasional one. Quantum Network’s QPN gateway is an example: its classical and post-quantum (ML-KEM, FIPS 203) handshakes both renew every two minutes, and payload is encrypted with ChaCha20-Poly1305. With short renewal intervals like this, the control-plane budget below needs as much attention as raw bandwidth.

What bandwidth overhead do ML-KEM key exchanges and IKEv2 fragmentation add on site links?

Each hybrid key exchange adds a few kilobytes of key material, which is negligible on broadband but noticeable on narrowband OT links. The bigger operational risk is fragmentation, not bandwidth.

Message sizes come straight from FIPS 203:

Parameter set Encapsulation key (initiator sends) Ciphertext (responder returns) Added bytes per exchange
ML-KEM-768 1184 bytes 1088 bytes 2272 bytes plus headers
ML-KEM-1024 1568 bytes 1568 bytes 3136 bytes plus headers

Source: NIST FIPS 203, Table 3, published 2024-08-13.

To estimate continuous overhead per tunnel, multiply the added bytes by eight and divide by the rekey interval in seconds. With ML-KEM-768 and a 120-second interval, that works out to 2272 × 8 / 120, about 150 bit/s per tunnel before IKE, UDP and IP headers. This is negligible on fibre. On a licensed narrowband radio or metered satellite link shared by dozens of RTUs, it should be put in the link budget explicitly.

Why fragmentation matters more than bytes

A single ML-KEM-768 payload already takes up most of a 1500-byte Ethernet frame. Add the classical key share, nonces, IKE headers and UDP/IP encapsulation, and messages easily exceed the path MTU on PPPoE, cellular, or nested-tunnel links. RFC 7383 was written for this situation. Its author, Valery Smyslov, summarises it as describing “a way to avoid IP fragmentation of large Internet Key Exchange Protocol version 2 (IKEv2) messages.”

Two details matter for sizing. First, IKE fragmentation cannot be used in the initial IKE_SA_INIT exchange. This is why RFC 9370 carries the post-quantum exchange in IKE_INTERMEDIATE, where it can be fragmented. Second, under RFC 7383, losing any one fragment causes the sender to retransmit every fragment of the message. On a lossy link, a hybrid handshake can therefore take several retransmission timeouts. The result is slower recovery, not more throughput consumed.

Note: Firewalls and carrier equipment that silently drop IP fragments are a common reason post-quantum tunnels fail on links where classical tunnels worked. Check fragment handling on every link type before you calculate any capacity figures.

How do you calculate the handshake rate a gateway needs during site rekeying and failover?

Calculate two rates. Steady-state rekeying equals the number of tunnels divided by the rekey interval. Failover equals the number of tunnels divided by the recovery window you need. The gateway must sustain the second rate with headroom left over.

Steady state

Rekey rate = N tunnels / rekey interval (s). Rekeys of an existing security association use CREATE_CHILD_SA, and with RFC 9370 the additional key exchanges use IKE_FOLLOWUP_KE. No new authentication takes place, so each rekey costs mostly KEM and (EC)DH operations. If the gateway staggers timers, the load spreads evenly. If it does not, all tunnels that came up together will rekey together.

Failover

Establishment rate = N tunnels / target recovery window (s) × retry factor. After a hub outage or a head-end switchover, every peer runs a full establishment: IKE_SA_INIT, IKE_INTERMEDIATE with the ML-KEM exchange, and IKE_AUTH with signature verification. That is the most expensive sequence the gateway handles. The retry factor (start with 1.5 to 2 and refine it in testing) covers fragment loss and peers that time out and try again.

Scenario (worked example) Tunnels Window Required rate Exchange type
Routine rekey, 120 s interval 400 120 s about 3.3 per second Rekey, no authentication
Hub failover, 30 s target 400 30 s about 13 to 27 per second Full establishment with authentication
Hub failover, 10 s target 400 10 s about 40 to 80 per second Full establishment with authentication

Compare these figures with the gateway’s measured full-handshake rate, never with a vendor’s figure for rekeys alone. If the failover requirement comes close to the measured rate, either widen the recovery window, have peers reconnect with randomised back-off, or split the sites across more head-end gateways. For OT processes with tight watchdog timers, decide the acceptable window with the process engineers rather than inside the network team.

How many post-quantum IPsec tunnels can an encryption gateway handle at once?

There is no fixed number. The tunnel limit is whichever of three ceilings you hit first: aggregate packet throughput, failover handshake rate, or per-tunnel state memory. For hub-and-spoke OT networks, the handshake ceiling is usually the one that decides.

Memory is rarely the problem. Per FIPS 203, an ML-KEM-768 decapsulation key is 2400 bytes, and the gateway only needs it during the exchange. Established tunnels keep symmetric keys and counters, not post-quantum key material. Real limits come from elsewhere:

  • Aggregate traffic: add up the peak packet rate of all spokes. Use real values, because polling cycles in SCADA networks tend to line up and create synchronised bursts.
  • Failover rate: the tunnel count at which the recovery-window calculation above exceeds measured capacity.
  • Tunnel design: per-subnet Child SAs multiply the number of security associations. Summarising traffic selectors into fewer, broader tunnels reduces both state and rekey load.

NIST SP 800-77r1 groups IPsec designs into gateway-to-gateway, remote access, host-to-host and mesh architectures. Remote access adds its own pattern: hundreds of clients that reconnect at shift changes or after a VPN concentrator restart. Size those as a separate failover population, not as part of the site count.

Sizing also has a time dimension. NIST IR 8547 states that “NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035.” OT gateways often stay in service for ten years or more. A gateway bought now should therefore have handshake headroom for larger parameter sets or algorithm changes, not just for today’s configuration.

How should you test gateway capacity with hybrid key exchange before deploying it next to the firewall?

Test in a lab first, then on a test network, using real link impairments, a realistic packet mix and a full simultaneous reconnect. The firewall should be in the path, placed exactly as it will be in production. The authors of NIST SP 800-77r1 advise that “implementation and testing should first be performed with a lab network and then a test network.”

A test sequence that exposes the real limits

  1. Baseline data plane. Measure throughput and latency with large frames, a mixed profile, and small OT-style packets, first with hybrid key exchange disabled and then with it enabled. The two results should be nearly the same. If they are not, rekey activity is competing for CPU.
  2. Rekey under load. Keep the data plane at your planned peak while all tunnels rekey at their configured interval. Watch for packet loss, latency spikes and jitter during rekey windows.
  3. Synchronised failover. Drop all tunnels at once and measure the time until the last one carries traffic again. Repeat at your target tunnel count and at 1.5 times that count.
  4. MTU and loss sweep. Lower the path MTU step by step and add 1 to 5 percent packet loss to confirm that RFC 7383 fragmentation and retransmission recover cleanly.
  5. Firewall interaction. Check that the firewall passes IKE fragments and keeps up with the decrypted packet rate in its inspection path.

Placement changes what you are testing

Where the encryption gateway sits relative to the firewall determines which device sees encrypted traffic and which sees plaintext. QPN, for example, goes in front of the existing firewall when that firewall must keep inspecting traffic, and can sit behind it where inspection is not needed on that path. When the gateway is in front, the firewall’s inspection throughput becomes part of the end-to-end capacity and has to be tested together with the gateway. When the gateway is behind, the firewall only sees encrypted flows, so its rules must allow the gateway’s key exchange and tunnel traffic, including fragments.

Note: In IEC 62443-3-3 terms, site links are conduits between zones. Record the measured failover time and the behaviour under fragment loss in the conduit’s documentation, so that availability requirements for each zone are based on test data rather than datasheet figures.

Finally, repeat the full sequence whenever the post-quantum algorithm or parameter set changes. Message sizes, computation cost and fragmentation behaviour all depend on the algorithm. Sizing that held for one key exchange method does not automatically hold for the next.

Where Quantum Network fits

Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.

Talk to an expert

Frequently asked questions

Will switching to hybrid ML-KEM lower the Gbit/s figure on my gateway datasheet?
Usually not by itself. Bulk traffic is still encrypted with a symmetric AEAD cipher after the handshake, so per-packet cost does not change. What changes is the CPU and bandwidth spent on handshakes, which only shows up in throughput when many tunnels rekey or reconnect at once on the same cores.
Should I choose ML-KEM-768 or ML-KEM-1024 for site links?
FIPS 203 names ML-KEM-768 as the default parameter set. ML-KEM-1024 makes each key exchange larger (1568 bytes for both the encapsulation key and the ciphertext), which matters more for fragmentation and narrowband OT links than for gateway throughput. Base the choice on your security policy, then check whether your link MTU can carry the larger messages.
Why do post-quantum tunnels fail on some links when classical tunnels work fine?
The most common cause is message size. ML-KEM payloads push IKEv2 messages above the path MTU, and middleboxes that drop IP fragments then break the handshake. Enable IKEv2 fragmentation (RFC 7383), carry the post-quantum exchange in IKE_INTERMEDIATE as RFC 9370 specifies, and test with the real MTU of every link type.
How much headroom should I plan for failover handshakes?
Measure the gateway's sustained rate for full hybrid handshakes with authentication, then compare it with your tunnel count divided by the recovery time you need. If the required rate is close to or above the measured rate, stagger reconnects, spread tunnels across more gateways or accept a longer recovery window.
Does the gateway need to be retested when the post-quantum algorithm changes?
Yes. Message sizes, computation cost and fragmentation behaviour depend on the algorithm and parameter set. Any change to the key exchange should go through the same lab and test-network sequence as the original deployment before it reaches production links.

Sources