Freeradius-Users Digest, Vol 99, Issue 94
Koka Krishna
kkrish at juniper.net
Wed Jul 31 14:15:57 CEST 2013
3. Re: only 2 dynamic IPs are allocated even the ip pool has
many IPs (Alan DeKok)
Hi Alan,
Can you help me what changes do I need to do to get the new dynamic IP addresses for new sessions instead of duplicate IP addresses.
I am not able to understand your answer fully.
# key:
# The key to use for the session database (which
# holds the allocated ip's) normally it should
# just be the nas ip/port (which is the default).
#
# If your NAS sends the same value of NAS-Port
# all requests, the key should be based on some
# other attribute that is in ALL requests, AND
# is unique to each machine needing an IP address.
# key = "%{NAS-IP-Address} %{NAS-Port}"<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Thanks
Venkata Krishna
Message: 3
Date: Tue, 30 Jul 2013 08:00:24 -0400
From: Alan DeKok <aland at deployingradius.com>
To: FreeRadius users mailing list
<freeradius-users at lists.freeradius.org>
Subject: Re: only 2 dynamic IPs are allocated even the ip pool has
many IPs
Message-ID: <51F7AAD8.90004 at deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
Koka Krishna wrote:> I am using the freeradius 2.2.0 on ubuntu.
> When I try to use the dynamic IP pool allocation, RADIUS server is
> allocating only 2 IPs . afterwards those 2 IPs repeated for other
> subscribers as well. So that I am not able to create more than 2 sessions.
> May I know how to resolve this issue?
Read raddb/modules/ippool. Look for the "key" attribute. Both the problem and the solution are documented there.
i.e. if you're using a module, it helps to read the module configuration.
> ippool main_pool {
So... you posted the stock module configuration to the list. Why?
Did you think we don't have a copy of it?
And you didn't bother reading it.
<sigh>
Alan DeKok.
------------------------------
More information about the Freeradius-Users
mailing list