I have problems with dhcp leases that are not renewed correctly.
I have setup a rpi4 on my network as replacement for my old rpi2. I need the ip-address of the new rpi to be the same as the old because multiple devices connect to the mqtt-broker on that address.
At first boot the rpi4 booted and was assigned an ip-address through dhcp.
I changed the setup in the router to static dhcp assignment for the relevant mac-address.
I expected that a reboot would cause the rpi4 to get the assigned ip-address. Or at least when the lease duration ran out.
But now after multiple network disconnects, multiple reboots of both router and rpi4 and multiple days (lease time is 24hrs), it is still stuck on the initially assigned ip-address.
How do I make the rpi forget the currently assiged ip and aquire a new one from the dhcp-server?
system: rpi4 4gb; hassos 4.10; hass 0.111.4