How to work with dynamic ips from ippool and static ips for clients?

Alan DeKok aland at deployingradius.com
Sun Jul 10 00:20:16 CEST 2016


On Jul 9, 2016, at 2:31 PM, Diorges Rocha - Radionet Telecom <diorges at radionet.net.br> wrote:
> 
> Is there a way to do this in the same database?

  The simplest way is via separate tables.

> I would like to work with ippool, but some users need static ip.

  Create a table for static IP users.  Put the MAC address and IP into that table.  Then, check the table using an SQL query.  If there are results, the user has a static IP.  If there are no results, then run the dynamic IP pool module.

  Alan DeKok.




More information about the Freeradius-Users mailing list