Does anyone have a basic tutorial on how to set up the DHCP server? I see a 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? David
On Wed, Oct 17, 2012 at 1:23 AM, David Peterson <davidp@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... 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
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@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@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
David Peterson wrote:
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.
That's pretty much it. The goal of the DHCP configuration is for the server to automatically do as much as possible. The sqlippool code does IP allocation. Anything else needs to be added manually. As more people use the DHCP code, we'll probably add more modules to make it easier to configure. Alan DeKok.
It would be great. For CableTV + Wireless network companies which users DHCP and PPPoE, freeRadius with DHCP seems like a "golden solution" ;) On 10/17/2012 4:17 PM, Alan DeKok wrote:
David Peterson wrote:
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. That's pretty much it. The goal of the DHCP configuration is for the server to automatically do as much as possible. The sqlippool code does IP allocation. Anything else needs to be added manually.
As more people use the DHCP code, we'll probably add more modules to make it easier to configure.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 17 Oct 2012, at 17:30, Marinko Tarlac <mangia81@gmail.com> wrote:
It would be great.
For CableTV + Wireless network companies which users DHCP and PPPoE, freeRadius with DHCP seems like a "golden solution" ;)
You'd think so, but they seem to like reinventing the wheel more :) There's also problems with cross site resiliance (unless you like being unemployed, probably not such a good idea to base your entire IP allocation solution on a single instance of clustered MySQL), so you still need a protocol to manage IP pool allocations to individual sites. -Arran
participants (5)
-
Alan DeKok -
Arran Cudbard-Bell -
David Peterson -
Fajar A. Nugraha -
Marinko Tarlac