DHCP configuration using freeradius

kabin mool kabin_mool at hotmail.com
Tue Mar 10 16:18:52 CET 2020

hi Alan,

Let me explain for the beginning

Initially I started with the small configuration using client.conf and user.conf and my authorization is working then I integrate with mysql database and it is working as well now .

Sent Access-Request Id 193 from to length 75
        User-Name = "kabin"
        User-Password = "kabin"
        NAS-IP-Address =
        NAS-Port = 1001
        Message-Authenticator = 0x00
        Cleartext-Password = "kabin"
Received Access-Accept Id 193 from to length 20

Now, i want to try dhcp static IP assignment whenever this user is used.

I am using this document :  https://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation#let-s-start_prepare-mysql-database

guide/dhcp for static ip allocation - FreeRADIUS<https://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation#let-s-start_prepare-mysql-database>
Why using Freeradius as a DHCP instead of the traditional ISC DHCP server?-Because it has the possibility to manage IP's configuration of each host directly from a DB, while ISC only accepts text archives.

I using centos and this document is for ubuntu and got confused on


Can you help me on this ?


From: Freeradius-Users <freeradius-users-bounces+kabin_mool=hotmail.com at lists.freeradius.org> on behalf of Alan DeKok <aland at deployingradius.com>
Sent: Tuesday, March 10, 2020 7:26 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: DHCP configuration using freeradius

On Mar 10, 2020, at 9:33 AM, kabin mool <kabin_mool at hotmail.com> wrote:
> I read the document but I am not getting the concept.

  Of... what?

> I want to provide static IP using DHCP of free radius. Authorization part is working now need the step to provide static IP using DHCP as well.

  The document shows an example of assigning a static IP.

  What part of that is unclear?

> Can you provide me the steps for this?

  Apparently not.  The documentation should be clear.

  In order to understand the document, you need to know how DHCP works.  FreeRADIUS isn't a "point and click GUI" that does everything for you.  You have to understand the technical details of the protocol.  This includes what packets arrive when and where.  This includes what's in the packets.

  If you can't understand the text I already wrote in that document, I'm not sure what else I can write that will help.  I suggest reading up on how DHCP works.

  Alan DeKok.

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 15279 bytes
Desc: image.png
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20200310/fa590cb5/attachment-0001.png>

More information about the Freeradius-Users mailing list