I want to set a lease time on IP address assignment. Does Freeradius do this or the device the connection is terminated on? We have an L2TP tunnel terminating dialup customers on a Cisco 7403. Is there an attribute to assign users from Freeradius or a Cisco config line that does this? Thanks John -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.2/441 - Release Date: 07/09/2006
On Fri 08 Sep 2006 11:51, John Williams wrote:
I want to set a lease time on IP address assignment.
Does Freeradius do this or the device the connection is terminated on?
We have an L2TP tunnel terminating dialup customers on a Cisco 7403.
Is there an attribute to assign users from Freeradius or a Cisco config line that does this?
PPP+RADIUS does not work the same as DHCP. You assign an IP address at the start of a session and the device keeps that IP for the length of the session. If you want it to change IPs you have to either set a session timeout or manually kill the session (From the NAS) to force the user to reconnect and request a new IP. You may then assign the same or different IP address depending on your RADIUS config. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Hi; I am getting this error in the log file: Fri Sep 8 10:13:17 2006 : Error: rlm_sql: packet has no account status type. [user '', nas 'x.x.x.x'] Fri Sep 8 10:13:17 2006 : Error: rlm_unix: no Accounting-Status-Type attribute in request. Fri Sep 8 10:13:17 2006 : Error: rlm_radutmp: No Accounting-Status-Type record. But the users are logging in and everything is working fine. Any help is appreciated. Thanks Elie
"Elie Hani" <ehani@wise.net.lb> wrote:
I am getting this error in the log file:
Fri Sep 8 10:13:17 2006 : Error: rlm_sql: packet has no account status type. [user '', nas 'x.x.x.x'] Fri Sep 8 10:13:17 2006 : Error: rlm_unix: no Accounting-Status-Type attribute in request. Fri Sep 8 10:13:17 2006 : Error: rlm_radutmp: No Accounting-Status-Type record.
It's probably just a dumb packet from the NAS. Some implementations send accounting packets without useful information in them. These messages should probably be sent only in debugging mode. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (4)
-
Alan DeKok -
Elie Hani -
John Williams -
Peter Nixon