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://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-confi... 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