Freeradius 3.0.16 DHCP static IP assignment

Wessel de Schrijver wessel.de.schrijver at simservices.com
Tue Mar 20 13:50:01 CET 2018


Hi Allan,

Thanks for your quick response!
Yes I've seen them, but i'm a bit struggling with them, I understand that
if you want to use ippool-dhcp you'll need to create a separate table
(ippool) where the server will look up the data to assign the static IP's.
But what I would love to use is the same tables as Radius, eg: radreply,
radcheck, etc. In the guide they where changing the settings in the
dialup.conf to use the Client-MAC-Address as User-Name so you can put the
MAC addresses in radreply, radcheck and radusergroup to authenticate the
devices and assign them a static IP.

Is this also possible in V3 and is there some sort of guide which could
help me to configure it correctly?

Many thanks!

*Met vriendelijke groet, kind regards,*

*Wessel de Schrijver*
*Technisch Beheerder - **Technical Engineer*

<https://secure.helpscout.net/mailbox/24be88c0645281b5/new-ticket/170166/www.simservices.com>

On 20 March 2018 at 13:18, Alan DeKok <aland at deployingradius.com> wrote:

> On Mar 20, 2018, at 11:18 AM, Wessel de Schrijver <wessel.de.schrijver@
> simservices.com> wrote:
> > We're testing the new Freeradius 3.0.16 server software for assigning
> > static IP's, this works perfectly using the Radius protocol, though we
> have
> > an IP flow coming in our production network where clients are using DHCP.
> >
> > We would like to use Freeradius because we can setup just one server
> which
> > will deal with all the assignments so we can use just one MYSQL data
> table
> > and doesn't need to restart any services when changes are made.
>
>   That's good.
>
> > I've seen a guide for setting this up:
> > https://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation
> >
> > But it's referring to Freeradius 2.2.0, I would like to know if there is
> > any information available to do the same with Freeradius 3.0.16.
>
>   The examples and configuration files in v3 are much updated.
>
>   See:
>
> raddb/sites-available/dhcp
> raddb/mods-available/dhcp
> raddb/mods-config/sql/ippool-dhcp
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html


More information about the Freeradius-Users mailing list