<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I'm trying to implement Freeradius v2.1.10 to provide a different IP Pool depending on the IP address of the NAS (Mikrotik PPPoE) the request comes from. I'm using radgroupcheck in this way and it works:<br>

<br>'300', 'grp_test', 'Pool-Name', ':=', 'pool_Test'<br>'301', 'grp_test', 'NAS-IP-Address', '==', '192.168.1.1'<br>'302', 'grp_test', 'Simultaneous-Use', ':=', '1'<br>

<br>'303', 'grp_test2', 'Pool-Name', ':=', 'pool_Test2'<br>'304', 'grp_test2', 'NAS-IP-Address', '==', '192.168.1.2'<br>'302', 'grp_test2', 'Simultaneous-Use', ':=', '1'<br>

<br></div>(username belongs to both groups)<br><br></div>The problem is that I would like to group some NAS and provide the same IP Pool:<br><br>'310', 'grp_test3', 'Pool-Name', ':=', 'pool_Test2'<br>

'311', 'grp_test3', 'NAS-IP-Address', '==', '192.168.1.1'<br>'312', 'grp_test3', 'NAS-IP-Address', '==', '192.168.1.2'<br>'313', 'grp_test3', 'Simultaneous-Use', ':=', '1'<br>

<br></div>This doesn't work, FR doesn't get an IP pool when checking radgroupcheck and so the client doesn't get an IP.<br><br></div>Am I missing something? Do I a need to implement huntgroups in SQL?<br><br>
</div>
Thanks!<br></div>