Artica Meta: DHCP service policy
Define the DHCP settings, scopes and reservations of your Artica appliances once on Artica Meta and apply them to nodes and groups.
A DHCP service policy holds the DHCP configuration of your Artica appliances.
You define it once on Artica Meta.

Meta sends it to every node and group attached to the policy when you click Apply.
The policy carries three parts:
- the common settings of the DHCP server
- the scopes, one per network
- the reservations, fixed IP addresses for known devices
Each part can stay Not defined.
A part that is not defined is not sent: each node keeps its own values for it.
Create the policy
- In Artica Meta, open Artica Meta service > Policies.
- Click New policy.

- Give a name and a description.
- Type
dhcpin the type search field and select DHCP. - Click Create.

The editor opens on the Common settings tab.
Nothing is sent to the nodes until you click Apply.
Common settings
The common settings are global settings of the DHCP server of each node.
Click Edit section to change them.

| Setting | Effect on each node |
|---|---|
| Use hostnames on fixed reservations | The node resolves the IP address of each fixed reservation and uses the hostname when the resolution succeeds. |
| Use the local computers database | The fixed computers of the Artica computers database are added to the DHCP configuration. Reservations need this setting. |
| Save new computers in the local database | A new client of the DHCP server is saved in the Artica computers database. |
| Fix the addresses of new computers automatically | A new client is saved as a fixed DHCP reservation. |
| Update the DNS database dynamically | The DHCP server updates the PowerDNS database from its leases. The TSIG key stays local on each node. |
A setting left as Not defined keeps the value of each node.
The card shows the Artica default for information.
A policy that defines reservations and sets Use the local computers database to Off is refused.
The reservations would not be served.
Leave the setting Not defined, or set it to On.
Scopes
A scope is identified by its network, for example 10.10.20.0/24.
The policy never stores an interface name.
Each node places the scope on the interface that already serves this network.
Otherwise, it uses the first interface whose IPv4 address belongs to the network.

- Click New scope to add a network.
- Click the pencil icon to edit a scope.
- The layers icon opens the pools of the scope.

A scope holds the address range, the gateway, the broadcast address, the DNS servers, the domain name, the lease time, PXE boot options, the proxy auto-configuration address and the routes given to the clients.
Switch off Scope enabled to keep a scope on the nodes without serving it.
How the nodes apply the scopes:
- When at least one scope of the policy fits a network of the node, the policy replaces the local scopes of the matching interfaces.
- A local scope of such an interface that the policy does not contain is removed.
- A node where no scope of the policy fits keeps all its local scopes.
- An interface without an IPv4 address keeps its local scope.
- Relays and the MAC members of the pools stay local on each node.
Emptying the scopes of a policy does not stop DHCP on a node.
To stop it, detach the policy, then change the scopes in the console of the node.
Limits: 64 scopes per policy, lease time up to 31,536,000 seconds (one year).
Targets
Open the Targets: nodes and groups tab.
- Click Attach a node or Attach a group.
- Every member of an attached group receives the policy.
- A node that joins the group later receives it too.

The DHCP policy only applies to nodes running Artica.
A node without Artica is shown as rejected until Artica is detected on it.
Members of an Artica cluster are not redirected to their master for this policy.
Each node, slave included, receives its own DHCP configuration, because the scopes depend on the network cards of each machine.
Apply
Click Apply in the editor or in the policy list.
Meta freezes the content as a new revision and sends it to the targets.
Only the nodes whose configuration differs are changed.
When the policy has already been applied, a new target receives it automatically.
On each node, the policy:
- writes the defined settings
- places the scopes
- writes the reservations
- locks the DHCP pages of the local console in read only mode
- rebuilds the configuration of the DHCP server and reloads it only when the file changed
Delivery status
The Delivery status tab shows each target node.

| Column | Content |
|---|---|
| Delivery status | Not sent, In progress, Up to date, Rejected or Suspended |
| Cluster role | Standalone, master or slave |
| Services | State of the proxy, HotSpot and DHCP services, and whether Kea runs, read every hour |
| Report | What the node did: scopes applied or ignored, settings written, reservations |
The Reservations button opens the reservations the node reports in its inventory.
- A waiting node is retried every 3 minutes until it confirms.
- A rejected node is not retried.
Fix the cause, then use Send again. - A disabled or blacklisted node is suspended.
Common rejections:
| Report | Cause |
|---|---|
unsupported: no Artica |
The node does not run Artica. |
Kea, or dhcpd -t failed |
The DHCP server of the node is Kea, or the configuration is refused by the DHCP server. |
merged policies exceed the limit of 5000 DHCP reservations |
Several policies reach this node and their reservations add up to more than 5,000. |
unsupported: node does not support DHCP reservations, or its DHCP inventory is not refreshed yet |
The node is too old for reservations, or Meta has not read its inventory yet. The whole policy waits, scopes included. Meta reads the inventory again within 10 minutes. |
Several policies on one node
A node can receive several DHCP policies, directly and through its groups.
Meta merges them in the order they were attached:
- settings: key by key, the most recent defined value wins
- scopes: one per network, the scope of the most recent policy wins and the other is reported as
scope_conflict - reservations: one per MAC address, the most recent policy wins and the other is reported as
reservation_conflict
Automatic import from a node
Meta reads the DHCP inventory of each Artica node every hour.
When a node already runs a DHCP server, Meta turns its configuration into a policy, once:
- the policy is named
DHCP service — <hostname> - it holds the settings, scopes and reservations of the node
- it is attached to the node and applied, so the node changes nothing
Conditions:
- the node is enabled, not blacklisted and runs Artica
- the DHCP service is enabled and running, and it is not Kea
- no DHCP policy is attached to the node or to its groups
- the node is not a cluster slave
The import happens once per node.
Deleting the imported policy does not trigger a new import.
To import again, open the DHCP inventory of the node and click Reimport.
Meta refuses it while a DHCP policy is attached to the node or to one of its groups.
Release
When the last DHCP policy leaves a node, the node is released.
The lock of its local console is removed.
The reservations Meta wrote on the node become local reservations of the node.
They keep serving the same addresses until you change them in the local console.