ippool seems to be consistent about the IP addresses that it's giving out
Hi all, I am using ippool and it seems that it is using the same IP addresses all the time(given that they are available). So when I am testing with just one client, I get two alternating addresses. Am I missing something or this is the wanted behaviour? ippool related information: Module: Loaded IPPOOL ippool: session-db = "/usr/local/etc/raddb/db.ippool" ippool: ip-index = "/usr/local/etc/raddb/db.ipindex" ippool: range-start = 213.142.157.1 IP address [213.142.157.1] ippool: range-stop = 213.142.157.254 IP address [213.142.157.254] ippool: netmask = 255.255.255.255 IP address [255.255.255.255] ippool: cache-size = 254 ippool: override = no ippool: maximum-timeout = 0 Module: Instantiated ippool (main_pool) radlast: nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 16:39 still logged in nikos.2048 000:mpd 213.142.157.151 Mon Apr 17 16:38 - 16:38 (00:00) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 16:37 - 16:38 (00:00) nikos.2048 000:mpd 213.142.157.151 Mon Apr 17 16:37 - 16:37 (00:00) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 16:37 - 16:37 (00:00) nikos.2048 000:mpd 213.142.157.151 Mon Apr 17 16:37 - 16:37 (00:00) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 16:36 - 16:36 (00:00) nikos.2048 000:mpd 213.142.157.151 Mon Apr 17 16:10 - 16:35 (00:25) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 16:09 - 16:10 (00:00) nikos.2048 000:mpd 213.142.157.151 Mon Apr 17 16:03 - 16:09 (00:05) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 15:54 - 16:00 (00:06) nikos.2048 000:mpd 213.142.157.160 Mon Apr 17 15:53 - 15:54 (00:01) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 15:52 - 15:53 (00:00) nikos.2048 000:mpd 213.142.157.160 Mon Apr 17 15:41 - 15:52 (00:11) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 14:50 - 15:40 (00:50) nikos.2048 000:mpd 213.142.157.160 Mon Apr 17 14:50 - 14:50 (00:00) nikos.2048 000:mpd 213.142.157.182 Mon Apr 17 14:47 - 14:50 (00:02) nikos.2048 000:mpd 213.142.157.160 Mon Apr 17 14:41 - 14:47 (00:06) BTW I am using FreeRADIUS 1.1.0 Thanks in advance, Nikos
Nikos Vassiliadis <nvass@teledomenet.gr> wrote:
I am using ippool and it seems that it is using the same IP addresses all the time(given that they are available). So when I am testing with just one client, I get two alternating addresses. Am I missing something or this is the wanted behaviour?
I think it's the way the module works, but it could allocate addresses by "last used". i.e. Don't re-use an address until every other address has been re-used. Also, it *should* try to give a particular MAC address (if it has the MAC) the same address, where possible. Alan DeKok.
On Monday 17 April 2006 17:48, Alan DeKok wrote:
Nikos Vassiliadis <nvass@teledomenet.gr> wrote:
I am using ippool and it seems that it is using the same IP addresses all the time(given that they are available). So when I am testing with just one client, I get two alternating addresses. Am I missing something or this is the wanted behaviour?
I think it's the way the module works, but it could allocate addresses by "last used". i.e. Don't re-use an address until every other address has been re-used.
Or at least random one. In my example, I had a /24 network and only one client and it was giving consistently only two addresses from that. Anyway, nobody is stopping me from fixing it. Thanks Alan
Also, it *should* try to give a particular MAC address (if it has the MAC) the same address, where possible.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Nikos Vassiliadis