Debian Codegraph @

doc/antora/modules/howto/pages/protocols/dhcp/prepare.adoc

raw
1 == Preparation
2
3 It is necessary to consider the requirements for the installation in order to
4 devise an efficient and manageable set up.
5
6 === Understand the network topology
7
8 When multiple networks (VLANs) are in use consideration must be given to how
9 the correct "pool" (IP address ranges) from which to allocate addresses is
10 identified.
11
12 The policy for setting specific DHCP options (e.g. lease time, default gateway,
13 time server and vendor-specific parameters) for different groups of hosts,
14 based on their network or some device attributes either supplied in the DHCP
15 requests or determined by dynamic lookup, should be well defined and
16 understood.
17
18 Other DHCP servers may implement implicit assumptions about the requirement of
19 your network topology and silently define particular behaviours, such as the
20 selection of IP address pool for a request based on a relay address. Some of
21 these behaviours must be specifed explicitly when using FreeRADIUS.
22
23 === Choose a database backend
24
25 FreeRADIUS stores its leases in an SQL database, so one of the key decisions to
26 make is which database to use.
27
28 FreeRADIUS supports:
29
30 * SQLite
31 * PostgreSQL
32 * MySQL / MariaDB
33 * Microsoft SQL Server
34 * Oracle
35
36 In most configurations the SQL database is likely to be the limiting component
37 that restricts the IP allocation throughput of the overall system. Each
38 database server has its own performance characteristics and unique approach to
39 features such as high-availability.
40
41 The choice of database should be made carefully based on the performance and
42 high-availability requirements of the system, as well as any prior experience.
43
44 [TIP]
45 ====
46 SQLite is an in-process database that uses the local file system, is simple to
47 configure and is suitable for smaller installations. However, users with larger
48 address pools or high availability requirements should choose one of the other
49 standalone databases based on criteria such as performance, features,
50 familiarity and your need for commercial support.
51 ====
52
53 FreeRADIUS ships with a default database schema and set of queries for each
54 supported database. These are sufficient for most DHCP deployments but can be
55 reviewed and modified as required to suit a particular situation, for example
56 to customise the IP allocation policy such as by disabling address
57 "stickiness".
58
59 Now xref:protocols/dhcp/enable.adoc[enable the DHCP service].