sqlippool IP conflict problem

Fajar A. Nugraha list at fajar.net
Tue Dec 20 07:30:36 CET 2011


2011/12/20 Коньков Евгений <kes-kes at yandex.ru>:
> Hi, FreeRadius.
>
> while frame IP address to user there are three stage in sqlippool
>
> clear
> find
> update
>
> clear stage - clear info about expired framed IP (JUST CLEAR!)
> so *new* connected user have a chance get IP address of *current* online user
>  whose IP address is expired.

That is how sqlippool works

>
> This will cause IP conflict.

Not if you configure it correctly.

>
> does radius make any signal to nitify this situation?
> or is it possible to frame other IP address to *current* online user?
> or at least drop *current* online user?

For sqlipool to work correctly, the NAS needs to send accounting
packets, and interim updates must be enabled. You'd then set
sqlippool's lease-duration to a reasonable value (two times
Acct-Interim-Interval would be a good choice). Follow that, and you
won't have IP address conflict.

-- 
Fajar




More information about the Freeradius-Users mailing list