Dynamic IP Allocation With Freeradius

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Sun Apr 13 15:40:10 CEST 2008


Hi,

> /usr/local/etc/raddb/radiusd.conf
> 
>         ippool main_pool {
> 
>                 #  range-start,range-stop: The start and end ip
>                 #  addresses for the ip pool
>                 range-start = 192.168.1.1
>                 range-stop = 192.168.3.254
> 
>                 #  netmask: The network mask used for the ip's
>                 netmask = 255.255.255.255

forgive my foolish networking but why that netmask? some
method used to try to isolate clients from each other?
the correct netmask for that range would be 255.255.252.0
though that would also cover the 192.168.0.0/24 range
too. you need to ensure and take care that you choose
correct aligned regions for IP addresses. 

> Sun Apr 13 06:04:19 2008 : Debug: Module: Loaded radutmp 
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: filename = "/usr/local/var/log/radius/radutmp"
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: username = "%{User-Name}"
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: case_sensitive = yes
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: check_with_nas = yes
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: perm = 384
> Sun Apr 13 06:04:19 2008 : Debug:  radutmp: callerid = yes
> Sun Apr 13 06:04:19 2008 : Debug: Module: Instantiated radutmp (radutmp) 
> Segmentation fault

what are the permissions of that file and directory? (eg ls -l 
/usr/local/var/log/radius ) and whats the next module in your config file?

otherwise, docs/bugs compile it with debug support etc.

alan



More information about the Freeradius-Users mailing list