DHCP

Fajar A. Nugraha list at fajar.net
Tue Oct 16 21:45:34 CEST 2012


On Wed, Oct 17, 2012 at 1:23 AM, David Peterson
<davidp at wirelessconnections.net> wrote:
> Does anyone have a basic tutorial on how to set up the DHCP server?  I see a

Did you read the config file?
https://github.com/FreeRADIUS/freeradius-server/blob/master/raddb/sites-available/dhcp

Most of it is still valid. Note that DHCP is enabled by default in
2.2.0, so no need to recompile the server.

> way to define the scope but does it just assign the IPs from the ippool or
> do I need to send reply attributes in radius?

See the "update reply" sections. You need to edit those lines as necessary.

The dhcp_sqlipool module (which is an instance of sqlipool module)
only provides DHCP-Your-IP-Address attribute (look at the last section
on policy.conf to see how it does that).

-- 
Fajar


More information about the Freeradius-Users mailing list