David Lake via Freeradius-Users <freeradius-users@lists.freeradius.org> writes:
$INCLUDE ${modconfdir}/sql/ippool/${dialect}/queries.conf
Take a look at that file. The SQL queries shows what the sqlippool module does in different phases.
I’m getting a bit confused here. I can see that ‘control:Pool-Name’ works for authentication because addresses are being allocated from that pool
But do I need to uncomment sqlippool and then how to I tell it to use the pool name ‘Pool’? Is pool_name=‘Pool-Name’ referencing the Pool-Name above or is that the actual name of the pool it will use?
You need to do that both to extend the "lease" on acct updates and to release the address on stop. The pool name is irrelevant for accounting, assuming the default SQL queries are used. The entries are looked up by attributes from the accounting packet. Bjørn