Rlm_sqlippool with Simultaneous-Use > 1
Alan DeKok
aland at deployingradius.com
Tue Oct 14 16:11:23 CEST 2014
Amir Tal wrote:
> Is it possible to use rlm_sqlippool with Simultaneous-Use > 1 ?
Yes. But you will need to change the key used to assign IP addresses.
> Currently on second connection user is assigned same IP, causing a
> conflict on client side.
Yes. Because the default is to assign the IP based on MAC address.
> Is it possible to add some other unique parameter to allow to assign
> multiple IPs for duplicate connections from same user?
Yes. But only *you* know what that unique parameter is. You can
discover the unique parameter by reading the debug output. Compare
packets for two sessions, and see what's unique. Then, change the SQL
queries to use that instead of using the MAC address.
> (assuming the two sessions are registered correctly in accounting DB)
Accounting is not important. What's important is what's in the
Access-Request packet.
Alan DeKok.
More information about the Freeradius-Users
mailing list