Rlm_ippool provides invalid IP
Hi, When I use a range of addresses greater than one network /24, the ippool provides IP to the client with zero end (eg 192.168.10.0). The IP Pool configuration on radiusd.conf ippool pool1 { range-start = xxx.xxx.36.1 range-stop = xxx.xxx.39.152 netmask = 255.255.255.255 cache-size = 922 session-db = ${raddbdir}/ippool/db.pool1 ip-index = ${raddbdir}/ippool/db.pool1index override = no maximum-timeout = 30 } Nesta configuração, frequentemente o freeradius fornece endereços IPs inválidos, exemplo: xxx.xxx.37.0 xxx.xxx.38.0 xxx.xxx.39.0 Is there any configuration to be done to solve this problem? Regards,
Arlindo F. Neto wrote:
When I use a range of addresses greater than one network /24, the ippool provides IP to the client with zero end (eg 192.168.10.0).
Yes.
Is there any configuration to be done to solve this problem?
No. It's not a problem. 192.168.10.0 is a valid IP address. It's true that many systems *assume* that .0 is invalid. Those systems are broken. Similarly, .255 is a valid IP address. Alan DeKok.
Hi Alan, Thanks for you help. I agree with you, it should not be a problem, but it is! On some systems, these addresses do not work. Looking for a way to make the freeradius does not provide addresses in .0 or .255. Regards, 2011/12/30 Alan DeKok <aland@deployingradius.com>
Arlindo F. Neto wrote:
When I use a range of addresses greater than one network /24, the ippool provides IP to the client with zero end (eg 192.168.10.0).
Yes.
Is there any configuration to be done to solve this problem?
No.
It's not a problem. 192.168.10.0 is a valid IP address.
It's true that many systems *assume* that .0 is invalid. Those systems are broken.
Similarly, .255 is a valid IP address.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Fri, Dec 30, 2011 at 11:16 PM, Arlindo F. Neto <lopan.eti@gmail.com> wrote:
On some systems, these addresses do not work. Looking for a way to make the freeradius does not provide addresses in .0 or .255.
rlm_sqlipool might suit you better. Every ip address is a table row, so you can easily exclude whatever ip you don't want by simply not having a row with that ip address. -- Fajar
participants (3)
-
Alan DeKok -
Arlindo F. Neto -
Fajar A. Nugraha