Openwrt not respecting static leases

So currently in my openwrt I have this

For archbox and thinkbox, the IP assignment works fine, but for the homelab it seems like openwrt just ignore it and assign the IP 192.168.2.126 instead:
image

I tried to re-set the static leases, reboot openwrt, and reboot the machine in question to get it to reassign IP, but none of it seems to matter. The machine in question uses Debian Bookworm and has this in /etc/network/interfaces:


(The interface in question is enp6s0)

Any ideas?

I think this is a DHCP protocol issue, in the sense that your client will keep requesting that particular IP and the DHCP server keeps granting it, despite your setting another IP explicitly as static for that client.

Clear the local dhcp client cache/lease on the Debian box...

2 Likes

Thanks I guess relying too much on Debian's default auto setting was a bit silly of me... Replacing the default ifupdown with systemd-networkd and just networkctl renew enp6s0 works.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.