Re: Affect Static IP by Freeradius/ASA5510
>> Can perl overwrite the value from users file? From debug he did give the >> new address for $RAD_REPLY but it did not overwrite the previous value >> (from users file). > > The perl module is supposed to *replace* the reply attributes with >whatever it has. So a "lingering" IP address is strange. > > Alan DeKok. >- I have tested it on 2.1.3 and it works that way - value from users file is replaced by the value entered in perl. The man from Phibee: what freeradius version are you using? That looks like 1.x. You should use latest version for new installations in order to avoid bugs like this. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Affect Static IP by Freeradius/ASA5510
t...@kalik.net wrote: > Can perl overwrite the value from users file? From debug he did give the > new address for $RAD_REPLY but it did not overwrite the previous value > (from users file). The perl module is supposed to *replace* the reply attributes with whatever it has. So a "lingering" IP address is strange. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Affect Static IP by Freeradius/ASA5510
>> >>> I see "Framed-IP-Address = 10.218.3.41" but at the end of the logs he have: >>> >>> "Sending Access-Accept of id 32 to 10.218.7.243 port 1025 >>>Framed-IP-Address = 255.255.255.254" >>> >>> Why he sending 255.255.255.254 . >>> >> >> Some part of the configuration *you* added does this. The default >> configuration as shipped with the server doesn't add a Framed-IP-Address >> of 255.255.255.254. >> >> Look at the debug output, and look at the "users" file entries it matches. >> >> You could also simply "grep" the configuration files for >> 255.255.255.254, and see where it comes from. >> >> Alan DeKok. >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> >> >> > >H very thanks Alan ! > >I have add a "#" into "users": > >DEFAULT Service-Type == Framed-User ># Framed-IP-Address = 255.255.255.254, >Framed-MTU = 576, >Service-Type = Framed-User, >Fall-Through = Yes > > >And now, the user have the good IP address > Can perl overwrite the value from users file? From debug he did give the new address for $RAD_REPLY but it did not overwrite the previous value (from users file). Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Affect Static IP by Freeradius/ASA5510
Alan DeKok a écrit : Phibee Network Operation Center wrote: I see "Framed-IP-Address = 10.218.3.41" but at the end of the logs he have: "Sending Access-Accept of id 32 to 10.218.7.243 port 1025 Framed-IP-Address = 255.255.255.254" Why he sending 255.255.255.254 . Some part of the configuration *you* added does this. The default configuration as shipped with the server doesn't add a Framed-IP-Address of 255.255.255.254. Look at the debug output, and look at the "users" file entries it matches. You could also simply "grep" the configuration files for 255.255.255.254, and see where it comes from. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html H very thanks Alan ! I have add a "#" into "users": DEFAULT Service-Type == Framed-User # Framed-IP-Address = 255.255.255.254, Framed-MTU = 576, Service-Type = Framed-User, Fall-Through = Yes And now, the user have the good IP address - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Affect Static IP by Freeradius/ASA5510
Phibee Network Operation Center wrote: > I see "Framed-IP-Address = 10.218.3.41" but at the end of the logs he have: > > "Sending Access-Accept of id 32 to 10.218.7.243 port 1025 >Framed-IP-Address = 255.255.255.254" > > Why he sending 255.255.255.254 . Some part of the configuration *you* added does this. The default configuration as shipped with the server doesn't add a Framed-IP-Address of 255.255.255.254. Look at the debug output, and look at the "users" file entries it matches. You could also simply "grep" the configuration files for 255.255.255.254, and see where it comes from. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html