static IP's with rlm_perl

Michael Gale michael.gale at pason.com
Fri Oct 20 16:32:10 CEST 2006


Hello,

	No, that did not work, with the setting below the debug shows:

--snip--
.....
rlm_perl: Added pair Framed-IP-Address = ��M
...
Sending Access-Accept of id 73 to 127.0.0.1 port 32813
         Framed-IP-Address = 255.255.255.254
....
--snip--

Before when I was setting it with a string I looked fine in the logs:

--snip--
....
rlm_perl: Added pair Framed-IP-Address = 192.168.77.200
.... (however it was not sent out)
...
Sending Access-Accept of id 71 to 127.0.0.1 port 32811
         Framed-IP-Address = 255.255.255.254
....
--snip--

Thanks for the suggestion.

Michael

Garber, Neal wrote:
>> $RAD_REPLY{'Framed-IP-Address'} = '192.168.77.200';
> 
> See if the following helps:
> 
> use Socket;
> .
> .
> .
> $RAD_REPLY{'Framed-IP-Address'} = inet_aton('192.168.77.200');
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.



More information about the Freeradius-Users mailing list