Different DHCP Pools based on User
    Alan DeKok 
    aland at deployingradius.com
       
    Mon Jun 18 13:52:27 CEST 2018
    
    
  
On Jun 16, 2018, at 10:18 AM, Thore Krüss <thore at scimeda.de> wrote:
> in a wifi setup we almost had the same requirements (the networks to choose from
> where a bit different, but that's beside the point).
> 
> What I did was to save an ip-pool name with the user attribute in the radcheck
> table
> (https://wiki.freeradius.org/guide/SQL-HOWTO-for-freeradius-3.x-on-Debian-Ubuntu).
> ...
> Then the pool name gets logged to radpostauth (you have to alter the query to do
> so). The dhcp module then queries radpostauth for the last successful
> authentication from the given mac address and now has the pool-name to work with in
> the dhcp-ippool module.
  That's a lot simpler.  I'll see if that can get written up in the docs as a suggestion.
  Alan DeKok.
    
    
More information about the Freeradius-Users
mailing list