SQLIppool and multiple NAS IPs

Alan DeKok aland at deployingradius.com
Tue Nov 19 15:17:36 CET 2013


Victor Rodriguez wrote:
> The problem is that I would like to group some NAS and provide the same
> IP Pool:
> 
> '310', 'grp_test3', 'Pool-Name', ':=', 'pool_Test2'
> '311', 'grp_test3', 'NAS-IP-Address', '==', '192.168.1.1'
> '312', 'grp_test3', 'NAS-IP-Address', '==', '192.168.1.2'
> '313', 'grp_test3', 'Simultaneous-Use', ':=', '1'
> 
> This doesn't work, FR doesn't get an IP pool when checking radgroupcheck
> and so the client doesn't get an IP.

  The checks are all ANDed together.  You're trying to do NAS1 OR NAS2.
 That's impossible with the current SQL module.

> Am I missing something? Do I a need to implement huntgroups in SQL?

  No.  You just need to implement huntgroups elsewhere, and then do
huntgroup checking in SQL.

  Alan DeKok.


More information about the Freeradius-Users mailing list