Whenever I have faced this problem (since Windows XP/Server 2000) I have successfully used "DCHP Reservations" (other terminology may be used) to always return the same IP address (based on MAC address) to a device following a DHCP request. This gives the advantages of central management for all such devices combined with the flexibility to be able to connect a device at different locations with different IP settings e.g. IP, gateway, DNS etc. without configuration changes. Windows AD certainly has always supported this approach. I would guess that Linux etc would be able to do as well. If you are not in a managed domain then there are open source DHCP servers available that could be used to give the same result
M
Member 7703431
@Member 7703431