Hi,<br><br>I use radius sqlippool to assign IP address to my users, yesterday, after a restart on radius service, it started to assign IP address that were already in use to the users. I'm almost crazy here, I don't know what can be causing this, we have been using this scheme for at least three months and this problem never happened.<br>
<br>freeradius-2.1.12_1<br><br>I have this configuration in sites-enabled/default, post-auth block:<br><br> if (Framed-Protocol == PPP) {<br><br> sqlippool<br> }<br><br>and this in the accounting block:<br><br>sqlippool<br>
<br><br>this in the authorize block:<br><br> update control {<br> Pool-Name := "%{sql: SELECT nas_pool_name FROM naspool WHERE nas_ip=INET_ATON('%{NAS-IP-Address}')}"<br> }<br><br><br>mysql> desc naspool;<br>
+---------------+------------------+------+-----+---------+-------+<br> | Field | Type | Null | Key | Default | Extra |<br>+---------------+------------------+------+-----+---------+-------+<br>| nas_ip | int(10) unsigned | NO | PRI | 0 | |<br>
| nas_pool_name | varchar(30) | YES | | NULL | |<br> +---------------+------------------+------+-----+---------+-------+<br><br><br><div>The strange is that most, if not all of the duplicated address, are between a specific NAS and a random one.<br>
</div><div><br></div><div>Obs. The expiry-time is set on 1h, and the interim update is set on 10m.</div><br>Any suggestions?<br>