DHCP sqlippool reply values

Phil Mayers p.mayers at imperial.ac.uk
Thu Feb 28 18:15:22 CET 2013

On 28/02/13 13:36, Igor Smitran wrote:
> I've added two new fields into radippool table that i am using for DHCP
> dynamic pools.
>    `gateway` varchar(15) NOT NULL DEFAULT '',
>    `netmask` varchar(15) NOT NULL DEFAULT '',
> in ippool-dhcp.conf i've added new fields:
> allocate-find = "SELECT framedipaddress,gateway,netmask FROM
> ${ippool_table} ....
> I am not able to figure out how to address new fields inside
> policy.conf. Is it even possible?

I don't think so. The sqlippool module has large parts of the logic in C 
code, including which columns it expects the query to return and what it 
does with them.

More information about the Freeradius-Users mailing list