DHCP

David Peterson davidp at wirelessconnections.net
Wed Oct 17 15:34:26 CEST 2012


So is it as easy as adding in the scope to the sites-available/dhcp and
creating a sqlippool for the clients?  Or am I vastly over simplifying this.

David

-----Original Message-----
From: Fajar A. Nugraha [mailto:list at fajar.net] 
Sent: Tuesday, October 16, 2012 3:46 PM
To: David Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: DHCP

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-avai
lable/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2818 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20121017/43665376/attachment.bin>


More information about the Freeradius-Users mailing list