Dynamic Ipaddress using rlm_ippool
I've got the dynmaic ippool handling working. Looking at the source code, it seems to me, that ipaddresses are freed, when an Accounting-Stop record comes along. As those records arrive via udp (true??) some might be lost and the associated addresses will never be freed. Is this true? If so: how can those addresses be set to unused during normal operations? The module ippool is declared experimental. Does anyone have real experience with it? Thanks Norbert Wegener -- Norbert WegenerPhone:(49)2012661379 Fax:(49)2012661377 SBS Essen,Germany Mail: [EMAIL PROTECTED] Mailfax:(49)2018165521379 smime.p7s Description: S/MIME Cryptographic Signature
Re: Dynamic Ipaddress using rlm_ippool
Norbert Wegener [EMAIL PROTECTED] wrote: I've got the dynmaic ippool handling working. Looking at the source code, it seems to me, that ipaddresses are freed, when an Accounting-Stop record comes along. As those records arrive via udp (true??) some might be lost and the associated addresses will never be freed. Is this true? Sort of. The UDP packets may be lost, but the NAS *should* re-send them. If it doesn't, it's broken. If so: how can those addresses be set to unused during normal operations? Use a non-broken NAS. Hmm... the module SHOULD handle the case where a stop is lost completely (rare, but possible) and a new start packet comes in for the same port. I haven't looked at the source to see if/how it does this, though. The module ippool is declared experimental. Does anyone have real experience with it? I'm not using it, but a lot of other people are. If there are no objections, it should be declared 'stable' before the next release. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Dynamic Ipaddress using rlm_ippool
On Tue, 21 Jan 2003, Alan DeKok wrote: Norbert Wegener [EMAIL PROTECTED] wrote: I've got the dynmaic ippool handling working. Looking at the source code, it seems to me, that ipaddresses are freed, when an Accounting-Stop record comes along. As those records arrive via udp (true??) some might be lost and the associated addresses will never be freed. Is this true? Sort of. The UDP packets may be lost, but the NAS *should* re-send them. If it doesn't, it's broken. If so: how can those addresses be set to unused during normal operations? Use a non-broken NAS. Hmm... the module SHOULD handle the case where a stop is lost completely (rare, but possible) and a new start packet comes in for the same port. I haven't looked at the source to see if/how it does this, though. If an Access-Request comes in for a port that has already an assigned ip that ip is freed. The module ippool is declared experimental. Does anyone have real experience with it? I'm not using it, but a lot of other people are. If there are no objections, it should be declared 'stable' before the next release. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Dynamic Ipaddress using rlm_ippool
Kostas Kalevras schrieb: On Tue, 21 Jan 2003, Alan DeKok wrote: Norbert Wegener [EMAIL PROTECTED] wrote: I've got the dynmaic ippool handling working. Looking at the source code, it seems to me, that ipaddresses are freed, when an Accounting-Stop record comes along. As those records arrive via udp (true??) some might be lost and the associated addresses will never be freed. Is this true? Sort of. The UDP packets may be lost, but the NAS *should* re-send them. If it doesn't, it's broken. If so: how can those addresses be set to unused during normal operations? Use a non-broken NAS. Hmm... the module SHOULD handle the case where a stop is lost completely (rare, but possible) and a new start packet comes in for the same port. I haven't looked at the source to see if/how it does this, though. If an Access-Request comes in for a port that has already an assigned ip that ip is freed. This is a reasonable behaviour. Nevertheless I would like to know, whether there is a chance to monitor how many ips are in use. Does a tool for this already exist? Norbert Wegener -- Norbert Wegener Phone : (49) 201 2661 379 SBS Essen Fax:(49) 201 2661 377 Germany Mail: [EMAIL PROTECTED] http://relax.sbs.de (intranet) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html