Affect IP with script perl into freeradius
Phibee Network Operation Center
noc at phibee.net
Tue Jan 27 17:04:22 CET 2009
tnt at kalik.net a écrit :
> Your perl script changes this:
>
>> rlm_perl: Added pair Framed-IP-Address = 10.218.4.120
>>
>
> into this (use IP pool on the NAS):
>
>
>> rlm_perl: Added pair Framed-IP-Address = 255.255.255.254
>>
>
> I don't see this:
>
> $RAD_REPLY{'Framed-IP-Address'} = "10.218.6.1";
>
> at all. Fix your script.
>
>
Hi
sorry, i have change my script for test into the pool:
$RAD_REPLY{'Framed-IP-Address'} = "10.218.4.120";
$RAD_REPLY{'Framed-IP-Netmask'} = "255.255.255.0";
return RLM_MODULE_OK;
i don't know why i have a " Framed-IP-Address = 255.255.255.254"
On the cisco, i see:
5|Jan 27 2009|17:01:00|713130|||Group = XXX, Username = usertest, IP =
88.XX.XX.xx, Received unsupported transaction mode attribute: 5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090127/136157cf/attachment.html>
More information about the Freeradius-Users
mailing list