But the only way to force my miners to get IP addresses in a row is by setting them all static. Unfortunately the router decides to change that later on for no reason

If you use static addresses, make sure you select addresses that are outside of the DHCP range.