Most DHCP servers will continue to assign the same IP to the same client MAC provided the IP pool isn’t under pressure. It seems the RouterOS DHCP server doesn’t do this - after a lease has expired, the client will end up with a new allocation from the end of the current pool. This makes it much more annoying to write DNAT rules etc when clients can change IP even when their old IP is still available and nothing else has used IPs from the pool.
Was this behavior changed in a recent update? I don’t recall having this issue with older versions.
Yes, I could add every client as a static lease but this shouldn’t be necessary, I thought this was the point of the “store on disk” feature so that ROS would remember old allocations and continue to use them.
Lease time: 1d
Store on disk: 5m