What it is for
DNS and DHCP → DHCP decides who assigns the addresses on each internal interface of the appliance (a network card or a VLAN). For each interface there is a single service:
- the appliance’s DHCP server: the appliance assigns the addresses of that network;
- the relay: another DHCP server assigns the addresses — for example headquarters’ domain controller, an EDON Atlas or the server of another site — and the appliance forwards the clients’ requests to it through an internal network or a VPN.
The WAN side is never served or relayed.
How the page is laid out
The list shows the appliance’s internal interfaces: in the bar, the title “DHCP”, the count, the search and “Reload”. There is no “New” button: the interfaces appear by themselves. Each row shows the interface’s name, its network with the zone in brackets (for example “192.168.10.0/24 (LAN)”) and, if it has a service, a label such as “Server · Enabled” or “Relay · Disabled”. For a relay the row also shows the destination servers.
Some rows are faded or different:
- “no static address”: the interface takes its address via DHCP, or has none. It cannot be served: first give it a static address in Network and uplinks → Interfaces.
- “now on the WAN side” and “interface gone”: DHCP settings left on an interface that has moved to the WAN side or no longer exists. They serve nothing: remove them.
The interfaces of the WAN side are not in the list: they are those of the wan zone and those that have a gateway (see Network and uplinks).
With no interface selected, the detail explains the page and gives the state of the service: “The DHCP service is running.”, “The DHCP service is not running: no interface has a server or a relay switched on.” or, in red, “The DHCP service is not installed (package dnsmasq-base): install it to switch a server or a relay on.”
Once an interface is open, the title becomes “DHCP / eth1 · 192.168.10.0/24 (LAN)”. If the interface already has a service, “Remove the DHCP settings” appears in the bar.
The interface’s service
The first block, “DHCP service”, has a single field: “On this interface”, with the choices “DHCP server” and “Relay to another server”. Below it, the form changes according to the choice.
If the interface already has a server and you choose the relay (or the other way round), the console asks for confirmation when you save: “Switch eth1 to the relay? Its DHCP server settings and their reservations are removed.” or “Switch eth1 to the DHCP server? Its relay is removed.” The confirmation button is “Switch”.
The DHCP server


The “DHCP server” block contains:
| Field | What it does | Values | Default |
|---|---|---|---|
| “Server active” | Switches the server on for this interface | on / off | off for a new interface |
| “Pool start” | The first address that can be assigned | IPv4 inside the interface’s network | the upper half of the network |
| “Pool end” | The last address that can be assigned | IPv4 inside the network, not before the start | the upper half of the network |
| “Gateway” | The router the client receives | IPv4 inside the network; empty = this interface’s address | empty |
| “Lease time (hours)” | How long an assignment lasts | 1–720 | 24 |
| “DNS servers” | The DNS servers the client receives | up to four IPv4 addresses separated by commas; empty = automatic | empty |
| “Domain” | The domain the clients complete names with | a DNS name; empty = the appliance’s domain | empty |
| “Comment” | A note | optional | empty |
The pool. For a new interface the console proposes the upper half of the network, away from the appliance’s address: on eth1 with 192.168.10.1/24 it proposes 192.168.10.128 to 192.168.10.254. If the appliance has an address in the upper half, it proposes the lower one. The pool cannot hold an address of the appliance. The network must have room for clients: a /31 or a /32 cannot be served.
Automatic DNS. With “DNS servers” empty:
- if DNS protection is on (on port 53, or the zone is forced), the client receives this interface’s address: it uses the appliance’s resolver;
- otherwise it receives the DNS protection forwarders that answer on port 53 (for a server written
IP#nameit receives the IP).
The field’s placeholder shows what will be handed out. If the client receives the appliance as its DNS but the interface’s zone does not accept DNS, the console warns in red: “The clients are told to ask this appliance for DNS, but zone GUESTS does not accept it: open DNS (udp 53) as one of its services.” (or, if the interface is in no zone, “…but the interface is in no zone: nothing it receives is accepted.”). Open the service in the zone, or force the zone’s DNS.
If the interface is not up at that moment, the block says so: “The interface is not up right now: it is served once it is.”
Reservations
The “Reservations · N” block ties an address to a device: the client with that MAC address always receives the same IP address, outside the pool too. It is the right way for NAS units, printers, phones and cameras that must have a fixed address without it being configured by hand on the device.
The list is a table with the columns “MAC address”, “Address”, “Host name” and “Provisioning”, and for each row the “Edit reservation” and “Remove the reservation” buttons. The “Add reservation” button, at the right of the block’s header, opens the dialog:
| Field | What it does | Rules |
|---|---|---|
| “MAC address” | The device | required; six hexadecimal pairs (with :, - or no separators); not a group address; not already reserved |
| “IP address” | The address to hand it | required; inside the interface’s network; it may sit outside the pool; not an address of the appliance; not already reserved |
| “Host name” | The name given to the client | optional; a single DNS label (letters, digits, hyphens); not ignore, infinite or a number such as 30 or 2h |
| “Provisioning URL” | DHCP option 66, for the phones that download their configuration | optional; http://, https:// or tftp://, without spaces, commas or quotes, at most 255 characters |
For example the NAS: “MAC address” 00:00:5e:00:53:20, “IP address” 192.168.10.20, “Host name” nas. In the example company the LAN has three reservations: the NAS, the NVR (192.168.10.30, 00:00:5e:00:53:30) and the supervision PC (192.168.10.50, 00:00:5e:00:53:50). A phone: “Provisioning URL” http://prov.johnsmith.test/phone1.cfg.
The dialog checks the fields when you press “Add” (or “Save”), but the reservation enters the form as a draft: it takes effect only when you save the server with “Save” at the bottom of the page. There can be at most 512 reservations per interface.
Active leases
Below the form, the “Active leases · N” block lists the addresses assigned right now in the interface’s network: “Address”, “MAC address”, “Host name”, “Expires” (in the appliance’s time). For a lease that has no reservation yet there is the “Reserve this address” button: it opens the reservation dialog already filled in with the client’s MAC, address and name (for example pc-admin-03, 192.168.10.142, 00:00:5e:00:53:42). A lease that is already reserved carries the “Reserved” label. Here too the reservation takes effect with “Save”.
The DHCP relay


In the example company the production VLAN eth1.30 (10.30.0.1/24) has no DHCP server on the appliance: it forwards the requests to the domain controller’s DHCP server, 192.168.10.10, with the comment “Production: DHCP from the domain controller”. The guests, on the other hand, have their own DHCP server on the appliance.
With “Relay to another server”, the requests of the interface’s clients go to the servers named, with this interface’s address as their reference: the server picks the network from that address and answers the appliance, which hands the answer to the client.
The “DHCP relay” block contains:
| Field | What it does | Rules |
|---|---|---|
| “DHCP servers” | The servers to forward to | required; one or two IPv4 addresses separated by commas; for an EDON Atlas, its address on the tunnel, not the one on its LAN |
| “Relay active” | Off, nobody assigns addresses on this interface | on by default |
| “Comment” | A note | at most 128 characters |
Under the servers the console shows, for each one, how it reaches it: in the example “192.168.10.10: through the network of eth1”; for a server behind a tunnel “through the VPN Branch (wg0)”, “through the IPsec tunnel Warehouse (ipsec0)” or “through the Atlas tunnel (wg-atlas)”; or “through a static route (…)”. If it finds no way there, it says so in red: “…: no way there outside the WAN (the tunnel is off, or nothing routes to it) — the relay leaves it out”.
The relay never crosses the WAN. A server can be used only if the appliance reaches it through a VPN tunnel (WireGuard or IPsec), the Atlas link, a static route or an internal network. If the only way is the default route to the internet, saving with “Relay active” on is refused: “No way there outside the WAN: it needs a VPN tunnel, a static route or an internal network”. The reason: the server’s answer is addressed to the interface’s private address and would never come back from the internet, and DHCP would travel in clear text. A server that sits in the interface’s own network needs no relay: “On this interface’s own network: that server hears the clients without a relay”.
The “On the server” block says what must be configured on the other side, with this interface’s values. For the production VLAN eth1.30 (10.30.0.1/24):
- on the server, declare the network 10.30.0.0/24, handing out 10.30.0.1 as router and 10.30.0.1 as the server identifier, so that the renewals go through the relay too. As DNS server the console asks for one the clients can reach: the production zone does not accept udp 53, so on
eth1.30the appliance does not answer DNS. In a zone that accepts it, with DNS protection on, the advice is 10.30.0.1 as DNS server too; - a lease time of 3 to 7 days is advisable: the clients ride out a tunnel outage for at least half of that time; with the appliance as their DNS, the internet keeps resolving meanwhile;
- if the server sits behind a WireGuard VPN, the relayed network goes into the tunnel’s export (“… now travels in the export of the tunnel Branch (VPN page)…”): if the other Argos had already imported the profile, it must import it again, or the replies do not come back; for an IPsec tunnel, the tunnel’s local networks must include the relayed network; for the Atlas link, see below.
If the interface’s zone does not answer ping, the console warns: “Zone PRODUCTION does not answer ping: at boot a Windows client keeps its address only when its gateway answers. Switch ping back on for the zone.”
The relay through Atlas. With the appliance joined to an EDON Atlas (System → Atlas), the relay also reaches a server behind the link’s tunnel, wg-atlas: the hub (in the example 10.250.0.1) and the networks Atlas routes (10.20.0.0/24). The server’s replies come back only if the relayed network is among those the link sends Atlas, that is the networks of the lan zone, and the “On the server” block reminds you: “… must be among the networks the link sends Atlas (the lan zone’s), or the server’s replies never come back.” For an interface of another zone, a relay to Atlas would get no replies.
The relay’s state can be seen in System status → Status: if an active relay no longer has a way to its server (for example because the tunnel went down), the “Attention” strip reports “The DHCP relay of … has no way to its server…”.
What happens when you save
The DHCP “Effect of saving” box describes a mixed effect: “Updates the service when saved. Changes to zones or firewall enforcement may also require Apply in the header.” In practice:
- The console checks the fields, then has the DHCP service test the new configuration. If the service refuses it, nothing is saved and “Applying the DHCP server failed” appears with the reason: the previous configuration stays in service.
- Once it is accepted, the console saves it and restarts the service. The message is “DHCP server applied”.
- The firewall. Opening DHCP (udp 67) on the served or relayed interfaces is a firewall rule: the first time you switch a server or a relay on, and when you switch it off, the header shows “Unapplied changes”. Apply and confirm within 60 seconds.
- “Remove the DHCP settings” asks for confirmation (“Remove the DHCP settings of …? The server stops answering there; the addresses already handed out run until they expire.”) and takes effect at once.
The DNS handed out with the field empty follows DNS protection by itself: when you switch it on or off or change the forwarders, the appliance updates the DHCP configuration; the clients see it when they renew their lease. The same happens when you change addresses, zones, routes or tunnels.
Never on the WAN
- The DHCP server never answers on the WAN side: the wan zone and every interface that has a gateway. An interface that moves to the WAN side stops being served at once, even if its settings remain (“now on the WAN side”).
- The relay never uses a way that passes through the WAN.
- An interface has a single service: server or relay.
- Another DHCP server, or an IPv6 router, answering on an interface the appliance serves is reported: Status lists it under “Attention” with its interface, address and MAC, and the administrators get a notice (see Attention). A device that keeps changing its MAC or address does not flood Status: the 16 most recent sightings per interface stay, and there are at most 3 notices a minute.
Error messages
| Message | Meaning |
|---|---|
| “This interface no longer exists” | The interface has been deleted |
| “The DHCP server never answers on the WAN side” | The interface is in the wan zone or has a gateway |
| “This interface already has DHCP settings” | A service already exists for the interface |
| “The interface needs a static address” | The interface is on DHCP or has no address |
| “The interface’s network has no room for clients” | A /31 or /32 network |
| “This interface has a relay: switch it to the server first” / “This interface has a DHCP server: switch it to the relay first” | Conflicting service (usually from argos-cli) |
| “Not a valid IPv4 address” | An invalid address (pool, gateway, DNS, relay server) |
| “Outside the interface’s network” | Pool, gateway or reservation outside the network |
| “The pool ends before it starts” | Pool end lower than its start |
| “The pool holds an address of this appliance” | Move the pool or narrow it |
| “Four servers at most” | Too many DNS servers |
| “Not a valid domain” | The domain is not a DNS name |
| “From 1 to 720 hours” | Lease time out of range |
| “512 reservations at most” | Too many reservations |
| “Invalid MAC address” / “This MAC address already has a reservation” | Wrong or repeated MAC |
| “An address of this appliance” / “This IP address is already reserved” | The reserved address cannot be used |
| “One DNS label (letters, digits, hyphens), not ignore, infinite or a duration such as 30 or 2h” | Invalid host name |
| “An http(s):// or tftp:// URL with no spaces, commas or quotes, 255 characters at most” | Invalid provisioning URL |
| “The DHCP service is not installed (package dnsmasq-base)” | The package is missing: the server or the relay does not switch on |
| “At most two servers” / “A server is listed twice” | Relay servers over the limit or repeated |
| “An address of this appliance” | A relay server is the appliance itself |
| “On this interface’s own network: that server hears the clients without a relay” | The server is on the same network: no relay is needed |
| “No way there outside the WAN: it needs a VPN tunnel, a static route or an internal network” | The server could only be reached over the internet |
| “At most 128 characters” | Comment too long |
For the technician Server and relay run in a single dnsmasq,
argos-dhcp.service, with the configuration/etc/edon/argos-dhcp.confand the leases in/var/lib/argos/dhcp/dnsmasq.leases. dnsmasq does no DNS (port=0), is authoritative on the served networks, checks with a ping that an address is free before offering it and has the clients renew at half the lease. A new configuration is tested withdnsmasq --testbefore it replaces the one in use. Each relay becomesdhcp-relay=<interface address>,<server>,<device>, and dnsmasq accepts the replies only from the device through which it reaches the server. In the firewall,udp dport 67is accepted on the served or relayed interfaces ahead of the zone rules, and the replies of the relay servers (udp 67 → 67) are accepted from their addresses only. Do not put a second DHCP server on the appliance: two daemons cannot share port 67.
A complete scenario, from the first boot to DHCP with reservations and protected DNS, is in First office.