NAS with dynamic IP

Phil Mayers p.mayers at imperial.ac.uk
Mon Apr 21 11:38:24 CEST 2008


Jack Murgia wrote:
> Alex,
> 
> Is there a command I can run periodically that would flush the dns cache?

pkill radiusd; /usr/sbin/radiusd

i.e. restart the server. Otherwise, no.

> 
> I use the NAS table in MySQL rather than clients.conf to register my NAS
> devices. The only problem with NAS devices on PPOE ADSL links is that a
> restart of Freeradius server is required in order to pick up the new IP
> address from DYNDNS.org.
> 
> Would this problem be solved by a rlm_nsupdate module (scheduled for future
> release)? I would be willing to donate to the creation of this module.

How does that help?

The problem is that the server might have outstanding requests for a 
given client record when it's removed. It's a hard problem.

Does re-starting the server *really* take so long it's a problem for you?

> 
> Jack Murgia
> 
> on 2/26/08 2:31 AM, freeradius-users-request at lists.freeradius.org at
> freeradius-users-request at lists.freeradius.org wrote:
> 
>> Date: Tue, 26 Feb 2008 10:30:59 +0100
>> From: Alan DeKok <aland at deployingradius.com>
>> Subject: Re: NAS with dynamic IP
>> To: FreeRadius users mailing list
>> <freeradius-users at lists.freeradius.org>
>> Message-ID: <47C3DC53.9040703 at deployingradius.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Rui Oliveira wrote:
>>> If anyone want to do the patch i can help with some donations because i
>>> will use it a lot :)
>>   Alternatively, you could define the client as a network (e.g.
>> 192.168/24).  See clients.conf for details.
>>
>>   Alan DeKok.
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list