Freeradius 3.0.16 DHCP static IP assignment

Alan DeKok aland at deployingradius.com
Tue Mar 20 13:57:43 CET 2018


On Mar 20, 2018, at 12:50 PM, Wessel de Schrijver <wessel.de.schrijver at simservices.com> wrote:
> 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?

  It's possible.  Just list "sql" in the "recv DHCP-..." section.

  You'll have to use the DHCP attribute names in SQL, and edit the "key", but it will work.

  Alan DeKok.




More information about the Freeradius-Users mailing list