Skip to content
Contents
GuidesOpenWrt

What does Set Static do in OpenWrt? Reserving an IP in LuCI

For a printer that needs a predictable IPv4 address, reserve its lease and leave the printer on automatic DHCP. If you assign an address on the printer itself, exclude it from the dynamic pool and maintain the mask, gateway and DNS there.

For a printer that needs a predictable IPv4 address, reserve its lease and leave the printer on automatic DHCP. If you assign an address on the printer itself, exclude it from the dynamic pool and maintain the mask, gateway and DNS there.

Find the server that issued the lease

Check the DHCP server in the client's network details. If OpenWrt only bridges Wi-Fi, use the upstream server. In Status → Overview, match the active DHCPv4 lease by MAC, including any private address used on this SSID. The screenshots use two isolated virtual machines and a client named desk-test.

OpenWrt 25.12.6 · LuCI · DHCPv4 · Reserve IP

desk-test · 52:54:00:44:00:04 → 192.168.1.178

Reserve the address and inspect the change

Click Reserve IP, called Set Static in some builds. Open pending changes and check the host, MAC and address. Use Save & Apply only when there are no unrelated edits. To change the address, edit the entry under Network → DHCP → Leases (some builds label the menu DHCP and DNS). Pick a free address on this subnet that no other reservation or manual assignment uses. Apply again.

OpenWrt 25.12.6 · LuCI · Save & Apply · desk-test

Renew and test the service

OpenWrt 25.12.6 · LuCI · Leases · 192.168.1.178

Keep a separate admin connection. Reconnect the client, reload the saved entry, check the server and address on the client and print a test page. If they disagree, check for a changed MAC or a second server. To undo, delete just this reservation, apply and renew. A dynamic lease can return the same address. Check IPv6 separately. In our OpenWrt 25.12.6 lab the client received .178 even after we removed the reservation. The saved host entry disappeared. Check both the configuration and the active lease.

What does an OpenWrt configuration backup restore?

Explore hardware

Comments