Dynamic IP Allocation With Freeradius

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Sun Apr 13 17:23:49 CEST 2008


A.L.M.Buxey at lboro.ac.uk wrote:
> 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?

That would be the magical mythical network of one mask I was talking 
about at NW. It's valid for any range of IPs and allows communication 
only via the default root.

> 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
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list