ORIONOS 7.11 · BNGCLUSTER
FULL-CGNAT HIGH AVAILABILITY · DECEMBER 2026
NEW OrionOS 7.11 · bngcluster

One BNG fails. Nobody redials.Sessions, public IP:port and routes move to the peer.

bngcluster joins two or more OrionOS BNGs into one subscriber edge. Each box carries its own subscribers and keeps a live copy of its peer's. When a box loses power, its PPPoE and IPoE sessions come up on the surviving box: the subscriber does not dial again, keeps the same addresses, and, with full-CGNAT, keeps the same public IP and port for connections that are already open. The routes to those subscribers follow them. In the lab, the moved sessions were running on the peer about 10 seconds after the power was cut.1

  1. 01Watch a failoverStep by step, animated
  2. 02Same public IP:portOpen connections survive
  3. 03IPv6 moves tooAddresses and delegated prefixes
  4. 04Routes followBGP shifts to the survivor
  5. 05FailbackThe box returns, no surprise
  6. 06Cable pulledAccess-link failover
  7. 07Zero-downtime upgradesMembers upgraded live
  8. 08MeasuredLab results, 7.11 candidate
A hard failover at a glance · one cluster member powered off · lab measurement1
~7 suntil the cluster declares the silent box dead
~10 suntil its sessions run on the peer (median traffic pause 9.5 s)
0redials: no subscriber had to log in again
100 %of tested open connections kept the same public IP:port
0 s2 s4 s6 s8 s10 s12 s14 s SUBSCRIBER TRAFFIC paused · median 9.5 s · session stays up, no redial flowing again on the peer max 10.15 s WHAT THE CLUSTER DOES power off 5.7 s · lease runs out 6.7 s · box declared down 9.7 s · takeover: groups + NAT state 10.7 s · all moved sessions running 7.11 release candidate · hard power-off of one member · full-CGNAT, connection copies on · times ±1 s SECONDS AFTER POWER-OFF 0 s · power off 5.7 s · lease runs out 6.7 s · box declared down 9.7 s · takeover: groups + NAT 10.7 s · all moved sessions up traffic paused · median 9.5 s, max 10.15 s flowing again on the peer · same session 7.11 candidate · power-off · ±1 s
1,900–2,500 /s
PPPoE sessions brought up on the peer at takeover, up to 10× the previous build
800–1,200 /s
IPoE sessions brought up on the peer at takeover, up to 5× the previous build
0 refused
at failback: every subscriber group moved home, 0 flaps
8 million
NAT translations: scale the connection-copy engine was tested to

00What your company gets with bngcluster

A failed BNG is usually a phone storm: thousands of subscribers redial at once, video calls drop, gamers reconnect, VPNs re-key and the support line lights up. bngcluster turns that event into a short pause that most subscribers will never connect to an outage.

No redial storm

The sessions of a failed box come up on its peer as they were. The CPE does not dial again, and RADIUS does not see a wave of new logins.

Connections survive

With full-CGNAT, the subscriber's public IP and port move too. A connection that was open keeps the same public IP:port on the other box.

Routes follow by themselves

The surviving box announces the public address ranges it took over. Return traffic finds the subscriber again without a manual route change.

Billing stays clean

A moved session is not closed and reopened. In the lab, no Accounting-Stop was sent for a moved session, so no false logout reaches billing.

Maintenance without a window

Move every subscriber off one box, upgrade it, and move them back. The cluster software itself restarts and upgrades without a takeover.

Commodity servers

The same x86 servers and the same OrionOS image you run today. A peer is a second BNG, not a dormant chassis waiting for a failure.

01How a cluster is built

Every subscriber belongs to one of 256 groups. Each group has one owner that carries its sessions and one standby that holds a live copy of them. Both boxes work: each owns its share of the groups and stands by for the other's share.

A two-member bngcluster

by design
Upstream routers · Internet learn which box serves which public range BGP: A's NAT slices BGP: B's NAT slices BNG A · full-CGNAT XDP owns half the groups live sessions NAT translations gateway MACs standby for B copy of B's sessions copy of B's NAT kept current BNG B · full-CGNAT XDP owns half the groups live sessions NAT translations gateway MACs standby for A copy of A's sessions copy of A's NAT kept current encrypted state channel heartbeats + copies Access network · OLT / switches both boxes see the same access VLANs PPPoE + IPoE subscribers NOC2 activates and manages Upstream routers Internet BGP: A's slices BGP: B's slices BNG A · full-CGNAT owns halfthe groups live sessionsNAT + MACs standbyfor B B's sessions+ NAT state BNG B · full-CGNAT owns halfthe groups live sessionsNAT + MACs standbyfor A A's sessions+ NAT state encrypted channel heartbeats + copies Access · OLT / switches both boxes see the same access VLANs NOC2 · manages
full-CGNAT BNG and its BGP announcementshot standby copies and the state channelmanagement

The gateway moves, not the subscriber

Each group of subscribers talks to its own gateway MAC address. On a takeover that MAC comes up on the peer, so the CPE keeps talking to "its" gateway and has no reason to dial again.

Copies that stay current

The standby keeps a copy of every session of the groups it protects and, in full-CGNAT, of their NAT state and open translations. It is ready before anything fails.

Both boxes earn their keep

There is no idle backup. Both members carry subscribers every day; size them so that one can carry the whole load if the other fails.

02Watch a failover, step by step

BNG A loses power with its subscribers online. Follow what the cluster does, and what the subscriber sees. Click a step, or let it play.

Hard failover: power lost on one member

times measured
TIME SINCE POWER LOSS normal Upstream · Internet video calls · games · VPNs A's public ranges now announced by B BNG A ● online dashed: hot copy of B's subscribers ✕ power lost BNG B ● online dashed: hot copy of A's subscribers A's subscribers B's subscribers no heartbeat · lease runs out takeover: groups + NAT state Access switch A's subscribers B's subscribers traffic paused · session still up · no redial flowing again · same session · same IP:port SINCE POWER LOSS normal Upstream · Internet BNG A ● online dashed: copy of B's subscribers ✕ power lost BNG B ● online B's subscribers dashed: copy of A's subscribers A's subscribers no heartbeat · lease runs out takeover: groups + NAT A's ranges now announced by B Access switch A's subscribers B's subscribers paused · session still up · no redial flowing again · same session · same IP:port
What the subscriber notices: a pause in traffic of about ten seconds. The PPPoE or IPoE session is never torn down, the addresses do not change, and connections that were open are still there on the same public IP:port when traffic resumes. Compare that with a classic failover, where every subscriber of the failed box must dial in again, gets a new public address, and every application has to reconnect.

03Your subscriber's public IP:port moves with them

In full-CGNAT mode the NAT runs inside the traffic engine of each BNG. bngcluster copies each group's NAT address block and its open translations to the standby, so the survivor rebuilds the same mapping: the same public IP, the same public port, for the same connection.

One open connection through a hard failover

by design
Subscriber private 100.64.7.21 video call open Far end call server sees one peer BNG A · NAT in XDP 100.64.7.21:51022 ⇄ 203.0.113.45:40112 live translation ✕ power lost BNG B · NAT in XDP 100.64.7.21:51022 ⇄ 203.0.113.45:40112 standby copy, kept current now live: the same mapping ✓ same public IP:port Subscriber 100.64.7.21 video call open Far end call server sees one peer BNG A · NAT in XDP ✕ power lost 100.64.7.21:51022 ⇄ 203.0.113.45:40112 BNG B · NAT in XDP 100.64.7.21:51022 ⇄ 203.0.113.45:40112 standby copy, kept current now live: the same mapping ✓ same public IP:port

Open connections that kept their public IP:port

measured

Share of long-lived test connections, checked at the far end, that kept their public IP:port through a hard failover. Every tested connection did, in every drill.

Why it matters to your subscribers

outcome
ApplicationClassic failoverbngcluster
Video callcall drops, rejoinshort freeze, same call
Online gamekicked from the matchsame server connection
Remote desktop, VPNreconnect, log in againsame tunnel endpoint
IP-bound loginsnew IP, new checkssame public IP

Whether an application rides through a ten-second pause depends on its own timers. What bngcluster guarantees is that the connection is still valid on the network side.

Good to know. A translation is copied once it has been open for 30 s; very short exchanges such as DNS lookups are simply repeated. The standby takes connection copies only while it has at least 2 GiB of free memory; below that it refuses them cleanly, and sessions still move with their public address block. In the lab, keeping 8 million translations in step cost about 300 ns per entry to scan.1

04IPv6 subscribers and delegated prefixes move too

A dual-stack subscriber is one session with an IPv4 address, an IPv6 address and often a delegated prefix for the home network. bngcluster moves that session as one record, so the CPE's whole LAN keeps its IPv6 addressing.

One session record, carried whole

by design
BNG A BNG B SESSION RECORD sessionPPPoE / IPoE IPv4100.64.7.21 IPv62001:db8:10:2a::/64 delegated2001:db8:4400::/56 gateway MACmoves with its group moved as one record · nothing reassigned home LAN keeps 2001:db8:4400::/56 moved as one record · nothing reassigned BNG A BNG B SESSION RECORD sessionPPPoE / IPoE IPv4100.64.7.21 IPv62001:db8:10:2a::/64 delegated2001:db8:4400::/56 gatewayMAC moves too home LAN keeps 2001:db8:4400::/56

No new prefix

The delegated prefix travels inside the session. Devices in the home do not renumber, and firewall rules or port openings built on the prefix keep working.

No address clash

Before a moved session comes up, the importing box checks its IPv4 address, IPv6 prefix and delegated prefix against every session it holds. A duplicate is refused cleanly, never brought up twice.

Planned moves forward traffic

When a subscriber is moved on purpose, the old box forwards its public IPv4 /32 and its IPv6 /64s to the new box for a short hold, so download traffic still in flight is delivered while routing settles.

05BGP routes follow the subscribers

The cluster's CGNAT pool is cut into 256 slices, one for each subscriber group. Every box announces by BGP the slices it owns. When groups change owner, the new owner announces their slices, so traffic from the Internet goes straight to the box that now serves those subscribers.

Who announces which public slice

by design
Upstream BGP router best path per slice BNG A announces its slices ✕ down BNG B announces its slices B keeps announcing + forwardinguntil A's route is confirmed CLUSTER CGNAT POOL · 256 SLICES (drawn as 32 blocks) Normal: each box announces the slices of the groups it owns. A fails: B takes over A's slices and announces them; return traffic lands on B. Failback: A announces again; B holds its route and forwards until A's route is seen. Back to normal: every slice is announced by the box that serves it. Upstream BGP router best path per slice BNG A its slices ✕ down BNG B its slices B keeps announcing + forwardinguntil A's route is confirmed CGNAT POOL · 256 SLICES top: A's slices · bottom: B's slices Normal: each box announces theslices of the groups it owns. A fails: B announces A's slices;return traffic now lands on B. Failback: B holds its route andforwards until A's route is seen. Back to normal: every slice isannounced by the box that serves it.

Standard BGP, your routers

Each box announces its slices from its own routing daemon. Your upstream routers need nothing special: they see a normal route move from one next hop to another.

Never a black hole on hand-over

In a planned move, the old owner keeps announcing a slice and forwards its traffic to the new owner. It withdraws only after it has seen the new owner's announcement and the hold time (60 s by default) has passed.

Checked, not assumed

Before NAT protection is switched on, the cluster proves it can see each peer's slices in the BGP table. If a new owner's announcement is not confirmed in time, it raises a critical alarm and the old owner keeps forwarding.

06Failback: when the box returns

A box that comes back does not grab its subscribers back. It first rejoins as a standby, refreshes its copies, and only then are the groups moved back, by an operator or automatically after a stable period you choose.

From power-on to carrying subscribers again

by design
1 · fenced reads who owns what takes nothing back no subscriber is disturbed 2 · syncing fresh session copies fresh NAT copies confirmed by the owner 3 · standby protects the peer the cluster is N+1 again before anything moves 4 · failback groups move back live by the operator, or auto after ≥ 10 min stable Lab: every group moved back · 0 refused · 0 sessions dropped 1 · fenced reads who owns whattakes nothing back 2 · syncing fresh session and NAT copiesconfirmed by the owner 3 · standby protects the peerthe cluster is N+1 again 4 · failback groups move back live, by the operatoror automatically after ≥ 10 min stable Lab: every group moved back 0 refused · 0 sessions dropped

Automatic failback is off by default, so the operator chooses the moment. When it is on, a box must be stable for 10 minutes or more (configurable up to 24 hours) before its groups go back. A planned failback uses the same live move as maintenance: sessions keep running, the old owner forwards in-flight traffic, and the routes follow.

07Access-link failover: the cable is pulled, the box stays up

A box can be alive and still useless to its subscribers: a cut fibre, a dead optic, a switch port gone. bngcluster watches the access links too. When a box loses its access side, it hands its groups to the peer itself, NAT state first, then the sessions.

Cable pull on the access link

measured
0 s5 s10 s15 s19 s deliberate 15 s hold · a short NIC reset must not cause a takeover NAT sessions on the peer cable pulled ~15.6 s link declared dead end to end ~18 s · 0 sessions flapped · 0 Accounting-Stops 0 s5 s10 s15 s cable pulled ~15.6 s link dead deliberate 15 s hold sessions on the peer end to end ~18 s · 0 sessions flapped violet: NAT · teal: sessions

Why the hold is there

A NIC firmware reset can take both legs of a bond down for about 15 seconds and then recover by itself. Moving thousands of subscribers for that would cause more disruption than it saves, so the cluster waits out the hold first. About 85 % of the hand-over time is this deliberate wait.

When the link returns

The original box sees its link back and clears its out-of-date copies of the moved sessions by itself. The peer keeps carrying them; nothing is sent to billing, and nobody is disconnected.

08Zero-downtime upgrades of cluster members

A cluster changes how you do maintenance. Each OrionOS component already updates live on its own box; with bngcluster you can also empty a box completely, work on it, and bring its subscribers back, without a maintenance window.

Maintenance modeThe box stops taking new logins; its existing subscribers stay. One member at a time.
Evacuate liveIts groups move to the peer with their sessions, NAT state and routes, the same way as a failback.
Upgrade or repairImage, hardware, optics, anything. The peer carries the subscribers meanwhile.
Rejoin and returnThe box rejoins as a standby, then its groups move back live. Repeat for the next member.

Live updates on a running member: no takeover needed

measured
Session servicelive upgrade Cluster daemonlive restart Traffic enginezero-downtime restart old version keeper holds sessions new version · all sessions kept, 0 flaps old daemon tells peers "restarting" new daemon resumes · no takeover old engine forwards new engine forwards · XDP never detached Members on neighbouring versions work together, so a rolling upgrade never splits the cluster. Session service · live upgradeold versionkeeper holdsnew version✓ all sessions kept · 0 flaps Cluster daemon · live restartold daemon“restarting”new daemon✓ peers wait · no takeover Traffic engine · zero-downtime restartold enginenew engine✓ XDP never detached Neighbouring versions work together, so a rolling upgrade never splits the cluster.

09Why the takeover is fast: sessions imported in one batch

At takeover, the surviving box brings up the protected sessions from its copies. 7.11 hands them to the session service as one batch per protocol instead of one by one, so the import itself is now a fraction of a second of the total.

Session import rate at takeover (sessions per second)

measured

Mixed PPPoE and IPoE load; the box holding about half the subscribers was powered off. Ranges span the final 7.11 builds. Earlier builds imported each session separately. With batches, PPPoE goes first, then IPoE, and the import is the last 0.5–0.9 s of the takeover; the rest is detecting the failure and taking over the groups.1

10Measured in the lab

Outcomes and rates from repeated hard-failover drills on a lab cluster running the OrionOS 7.11 release candidate.1

How we measured method

A two-member cluster of virtual machines on a shared lab host, in full-CGNAT mode, with emulated PPPoE and IPoE subscribers carrying long-lived test connections. In each drill one member was hard powered off (no warning, no clean shutdown); the drill was repeated across the 7.11 release candidate and its immediate predecessors. Times are taken from the power-off on the cluster's own event log, at 1 s resolution (±1 s). Every drill on the 7.11 candidate also checked the NIC driver and kernel: no page-pool errors, no soft lockups.

11What a cluster needs

Full-CGNAT mode

bngcluster runs on BNGs in full-CGNAT XDP mode, where NAT lives in the traffic engine and can be copied and moved per subscriber group.

Shared access, one operator

Members belong to the same operator, see the same access VLANs and are fully interconnected. The cluster is set up and switched on from NOC2.

N+1 headroom

Size the members so that the survivor can carry its peer's subscribers too. A planned drill only starts when the headroom is there.

A protected interconnect

Peers authenticate every message with a strong shared key; session copies travel over an encrypted channel; the cluster ports are filtered to the peers only.

Memory for connection copies

The standby keeps open-connection copies while it has at least 2 GiB free. Below that it declines them, and subscribers still move with their sessions and public address blocks.

Drills you can run

One command evacuates a member and, optionally, fails it back, with a measured report and a pass or fail verdict. Prove the failover on your network before you need it.

Watch a BNG fail, live

We can run a hard-failover drill on a lab cluster while you watch your own test sessions move, and size a cluster for your subscriber base, access layout and upstream routing.

Request a demo Read the sizing guide →
  1. Figures marked measured come from a BNGSOFT lab cluster of two virtual machines on a shared, busy host (paravirtual NICs, full-CGNAT mode), with emulated PPPoE and IPoE subscribers from a BNG traffic generator, in November and December 2026, on the OrionOS 7.11 release candidate and its immediate predecessors. Event times have a 1 s resolution, so each time is ±1 s. Dedicated hardware is expected to do as well or better, but that is not yet measured, and failover at large subscriber counts has not yet been measured. The 8 million figure is a synthetic scale test of the connection-copy engine, not a live failover. Figures marked by design describe how the software works.

Product page: BNGSOFT platform · Talk to us