Okay is this L2TP with your RADIUS handling both the initial tunnel and the termination authentication ? If it is then you can temporarily make all new sessions go to the second BNG by changing the reply to the first authentication step. Then disconnect using RADIUS disconnect packets. If not I'd setup RADIUS to reject auth from the BNG you are taking offline. Send RADIUS Disconnects to all sessions on that BNG and then once the accounting stops have arrived down the L2 tunnel (the services should move and come up on the backup). Remember to undo the RADIUS change before bringing back online. -- Alister Winfield. From: David Lake via Freeradius-Users <freeradius-users@lists.freeradius.org> Date: Tuesday, 10 November 2026 at 09:47 To: Bjørn Mork <bjorn@mork.no>; David Lake via Freeradius-Users <freeradius-users@lists.freeradius.org> Cc: David Lake <d.lake@surrey.ac.uk> Subject: [EXTERNAL] Re: Fast BNG failover and FreeRadius Thanks… The issue is that we will be forcibly disconnecting the first BNG from the Radius so we will lose acct-stop. We have a l2 tunnel that will then kick-in and the CPEs will appear on the second BNG. And yes, we have sqlippool running but one pool with one active radius server. The problem we have is that at the moment we have one connection between the BNGs and the Radius via aggregation to core routing (the BNGs and Radius are not co-located). Part of the plan is to put in a second connection. It is all horrible. So our plan is to fail one BNG, rehome 8,000 CPEs to the other BNG, upgrade the BNG (about 30 minutes work), allow CPEs to come back up on the new upgraded BNG and then repeat for the second BNG. It really is all horrible… David ________________________________ From: Bjørn Mork <bjorn@mork.no> Date: Friday, 6 November 2026 at 15:51 To: David Lake via Freeradius-Users <freeradius-users@lists.freeradius.org> Cc: Lake, David Dr (FEPS Faculty Admin) <d.lake@surrey.ac.uk> Subject: Re: Fast BNG failover and FreeRadius David Lake via Freeradius-Users <freeradius-users@lists.freeradius.org> writes:
Hello
I have 16,000 CPEs (PPPoE) connected across two BNGs - 8,000 homed on each.
The issue I have is that we only have 16,000 IP addresses, 8,000 on each BNG and one IP pool. I advertise /32 routes. I know this is not ideal but needs must. I have a total of 59 "spare" addresses and everything is in the same prefix.
My question is:
If I loose a BNG and the CPEs rehome to the other BNG, how can I be sure that the previous sessions are immediately cleared and the addresses previously on the first BNG become available on the second?
You don't say how you manage the pool, but if sqlippoll then this is what you have the accounting on/off queries for: https://urldefense.com/v3/__https://eur02.safelinks.protection.outlook.com/?... <https://urldefense.com/v3/__https://github.com/FreeRADIUS/freeradius-server/... > Of course, if you actually mean "lose a BNG" and there is no accounting off request, then you lose too. Don't do that ;-) But it sounds like you have 59 addresses more than you have users? If so, then why not just allocate them statically and ignore which BNG "owns" a specific user session/address? Bjørn - List info/subscribe/unsubscribe? See https://urldefense.com/v3/__http://www.freeradius.org/list/users.html__;!!Il... -------------------------------------------------------------------- This email is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. Phishing attempts can be reported by using the report message button in Outlook or sending them as an attachment to phishing@sky.uk. Thank you -------------------------------------------------------------------- Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky Limited and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075), Sky Subscribers Services Limited (Registration No. 2340150) and Sky CP Limited (Registration No. 9513259) are direct or indirect subsidiaries of Sky Limited (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD