sqlippool and exhausted pool

Alan DeKok aland at deployingradius.com
Mon Jul 19 14:08:31 CEST 2021


On Jul 19, 2021, at 3:19 AM, Alberio Mirko via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> because of the IPv4 shortage we exhausted our PPPOE assignment public IP address pool,
> 
> I could not find documentation on this: what happens if pool is full and an AAA request arrives to the radius?

  The module returns FAIL if it can't assign an IP address.

  What happens after that depends on your local configuration

> At the moment it seems we have cases of users having a public IP address

  Which comes from where?

> and actually accessing internet with that BUT in the pool table it is not correcty taken, so this generate cases where 2 different users have the same IP address, only one working.

  The server doesn't randomly assign IP addresses.  It only assigns IP addresses when you tell it to assign IP addresses.

  The IP pool module doesn't assign the same IP to two different users.  It relies on the database to track usage.

  Now, if the NAS lies to FreeRADIUS about who is online, then anything can happen.  But you can't blame FreeRADIUS for that.

  Alan DeKok.




More information about the Freeradius-Users mailing list