I have a few headless devices that have encrypted root partition and on boot they will stop and ask for password over ssh to actually access the partition. They get the IP from the DHCP server when booting like this, while otherwise they have a static IP configured.
They are connected to two networks (two different interfaces on two different subnets) and both have a working DHCP server on an OpenWrt router
The IP they will get on boot is randomly on one or the other interface and this is annoying because this way I need to be connected to both networks to "unlock" their root partition, and try two different IPs for each.
So my question is, can I set the dhcp server to IGNORE the dhcp requests from devices that have a specific mac address?