| 1 |
= FreeRADIUS DHCP server |
| 2 |
|
| 3 |
This guide describes how FreeRADIUS can be used in place of ISC DHCP or ISC Kea |
| 4 |
to provide a significantly more performant and, above all, more flexible DHCP |
| 5 |
server. |
| 6 |
|
| 7 |
This guide provides a suggested configuration that should be somewhat familiar |
| 8 |
to anyone who has previously implemented DHCP using the most frequently used |
| 9 |
features of other DHCP server software. |
| 10 |
|
| 11 |
The modular design of FreeRADIUS means that there is no one "right" way to |
| 12 |
implement the DHCP service. FreeRADIUS allows you to put together a "mix and |
| 13 |
match" approach. |
| 14 |
|
| 15 |
For example you can manage the leases in an SQL database. You might then hard |
| 16 |
code certain DHCP reply parameters within configuration and then look up |
| 17 |
additional parameters using a datastore such as: |
| 18 |
|
| 19 |
* a local file such as a structured text file or an SQLite database |
| 20 |
* an organisational LDAP directory |
| 21 |
* an SQL or "no SQL" database |
| 22 |
* a remote endpoint such as a RESTful HTTP API |
| 23 |
|
| 24 |
The policy language and modular configuration of FreeRADIUS is sufficiently |
| 25 |
powerful and that almost any aspect of the server's behaviour can be customised |
| 26 |
to implement even the most sophisticated DHCP configurations. |
| 27 |
|
| 28 |
== Sections in this guide |
| 29 |
|
| 30 |
This guide is organised into four parts that should be read in order: |
| 31 |
|
| 32 |
1. xref:protocols/dhcp/prepare.adoc[Preparation] |
| 33 |
2. xref:protocols/dhcp/enable.adoc[Enabling the DHCP service] |
| 34 |
3. xref:protocols/dhcp/test.adoc[Testing the DHCP service] |
| 35 |
4. xref:protocols/dhcp/policy.adoc[Defining the DHCP policy] |