Framed-IP-Address Help

Jorge Pereira jpereira at freeradius.org
Thu Mar 12 19:42:23 CET 2020


You could override attributes using _unlang_ syntax: “update { &<list>:attr := value }” or “update <list> { &attr := value }”

e.g:

update {
     &control:Pool-Name := "mkt_pool"
}


—
Jorge Pereira
jpereira at freeradius.org




> On 12 Mar 2020, at 15:34, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
> 
> Alan,
> 
>     Sorry.
> 
>     I want to override users Framed-IP-Address with mkt_pool IP.
> 
>     How can I do this? I'm using FreeRadius 3.0.20 with MySQL database
> 
> Thanks again
> 
> 
> Em 11/03/2020 18:18, Alan DeKok escreveu:
>> On Mar 11, 2020, at 4:45 PM, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>>>     I'm using, and is not working. What I'm doing wrong? :(
>>> 
>>>                          if(reject) {
>>>                           update control {
>>>                             Pool-Name := "mkt_pool"
>>>                          }
>>   WHAT is not working?  What is the debug output?  What do you EXPECT it to do?
>> 
>>   The server does NOT normally do IP pool assignment when sending Access-Rejects.
>> 
>>   Please post USEFUL messages with content.  Saying "stuff doesn't work" is unhelpful.
>> 
>>   I can't read your mind.  I don't know what you want it to do.  I don't know what's "wrong" according to your opinion.  You need to EXPLAIN yourself.
>> 
>>   Alan DeKok.
>> 
> 
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list