FreeRadius 3.0.3 IP Allocation Failure
Hi I have FreeRadius configured to allocate v4 from sqlippool but to send a pool name to the router for v6 allocation. Occasionally, I see v4 allocation failures. Obviously I am getting to the bottom of this but in the meantime if I see a v4 allocation fail, I want to immediately send an auth-fail. At the moment, if the v4 fails, the process continues and I send the v6 pool name. The result is that the client authenticates, gets a v6 address but no v4 address. Can someone point me in the right direction of how to modify the logic to do this please? Thanks David David Lake Visiting Professor 5G Innovation Centre (5GIC and 6GIC) Tel: +44 (0)7711 736784 Email: d.lake@surrey.ac.uk<mailto:%20d.lake@surrey.ac.uk> Web: surrey.ac.uk<http://www.surrey.ac.uk/?utm_medium=internal&utm_source=emailsignature&utm_campaign=reputation+50th+brand> [A blue text on a black background Description automatically generated]<http://www.surrey.ac.uk/?utm_source=emailsignature&utm_medium=internal&utm_campaign=emailsignature_1819&utm_content=emailsignature_homepage> James Clerk Maxwell Building, University of Surrey, Guildford, Surrey, GU2 7XH, UK
3.0.3 is *ancient*. You really should upgrade to 3.2.10. The config is pretty much identical, though over that jump there may be one or two small things that need tweaking. There have been a huge amount of fixes in the last 12 years. On 17/09/2026 12:46, David Lake via Freeradius-Users wrote:
Occasionally, I see v4 allocation failures. Obviously I am getting to the bottom of this but in the meantime if I see a v4 allocation fail, I want to immediately send an auth-fail.
Look at the debug output. The sqlippool will likely return "notfound" (check this to be sure) when it can't allocate. So update the config to do sqlippool if (notfound) { reject } -- Matthew
Thank you! David From: Matthew Newton via Freeradius-Users <freeradius-users@lists.freeradius.org> Date: Thursday, 17 September 2026 at 13:13 To: freeradius-users@lists.freeradius.org <freeradius-users@lists.freeradius.org> Cc: Matthew Newton <mcn@freeradius.org> Subject: Re: FreeRadius 3.0.3 IP Allocation Failure 3.0.3 is *ancient*. You really should upgrade to 3.2.10. The config is pretty much identical, though over that jump there may be one or two small things that need tweaking. There have been a huge amount of fixes in the last 12 years. On 17/09/2026 12:46, David Lake via Freeradius-Users wrote:
Occasionally, I see v4 allocation failures. Obviously I am getting to the bottom of this but in the meantime if I see a v4 allocation fail, I want to immediately send an auth-fail.
Look at the debug output. The sqlippool will likely return "notfound" (check this to be sure) when it can't allocate. So update the config to do sqlippool if (notfound) { reject } -- Matthew - List info/subscribe/unsubscribe? See https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeradius.org%2Flist%2Fusers.html&data=05%7C02%7Cd.lake%40surrey.ac.uk%7Cbe2facac0f624390b32f08df14b5159c%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C639252440118258437%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Eaa7vjpIV81VBjKnVLYSIyR2P2VyKztuxWiGKO0bTlQ%3D&reserved=0<http://www.freeradius.org/list/users.html>
participants (2)
-
David Lake -
Matthew Newton