DHCP¶
Where: Connectivity > Interfaces & network > DHCP tab.
Hand out addresses to the LAN behind each interface. The subnet is taken from the interface's own static IPv4 address.
An interface needs a static address first
With none, the tab says No interface has a static IPv4 address to serve DHCP on. Give a LAN interface an address first. Set one on the Interfaces & network tab. An interface that gets its own address by DHCP cannot serve DHCP.
Networks created on the Local networks tab already have DHCP set up; this tab is where you fine-tune it.
Serving DHCP on an interface¶
Each interface with a static address has a card. Switch it on, then fill in:
| Field | Meaning |
|---|---|
| Range start / Range end | The dynamic pool, inside the interface's subnet and excluding its own address |
| Gateway (router) | The default route given to clients |
| DNS servers | Resolvers given to clients |
| Domain | The search domain |
| Lease (hours) | How long a lease lasts |
Reservations¶
A reservation pins a MAC address to a fixed IP.
- Click + Add reservation.
- Enter the MAC (
aa:bb:cc:dd:ee:ff), the IP and an optional name.
A reservation must be inside the subnet and outside the dynamic range, and neither address nor MAC may repeat. With none, the card says No reservations — the pool is fully dynamic.
Active leases¶
Active leases lists what the device has handed out: IP, MAC, Hostname, State, Expires. Leases come from the device, so an offline device shows none.
Reserve on a lease gives that device a fixed address in one click. If the leased address is inside the dynamic pool, a free address outside the pool is chosen instead, and the device picks it up at its next renewal.