<!DOCTYPE html><html><head><title></title></head><body><div>Hello dnsmasq people!</div><div><br></div><div>I have this in /etc/dnsmaq.d/99-DNSDHCP</div><div><br></div><div># Always allocate the host with Ethernet address 00:e0:4c:36:07:25</div><div># The IP address 192.168.2.4</div><div>dhcp-host=00:e0:4c:36:07:25,192.168.2.4</div><div><br></div><div># Uncomment this to enable the integrated DHCP server, you need</div><div># to supply the range of addresses available for lease and optionally</div><div># a lease time. If you have more than one network, you will need to</div><div># repeat this for each network on which you want to supply DHCP</div><div># service.</div><div>dhcp-range=192.168.2.50,192.168.2.150,12h</div><div><br></div><div>The problem is that before I knew this host's MAC address, it got a lease (192.168.2.58) from the range, now it always requests that IP address, and dnsmasq always accedes to that request, despite my explicit allocation of a low address (192.168.2.4), not from the pool 50-150 of random clients. This is what I see when I watch the logs on the server with "journalctl -u dnsmasq -f"</div><div><br></div><div>Apr 20 11:43:46 pizero dnsmasq-dhcp[4134]: DHCPDISCOVER(eth0) 00:e0:4c:36:07:25</div><div>Apr 20 11:43:46 pizero dnsmasq-dhcp[4134]: DHCPOFFER(eth0) 192.168.2.58 00:e0:4c:36:07:25</div><div>Apr 20 11:43:46 pizero dnsmasq-dhcp[4134]: DHCPREQUEST(eth0) 192.168.2.58 00:e0:4c:36:07:25</div><div>Apr 20 11:43:46 pizero dnsmasq-dhcp[4134]: DHCPACK(eth0) 192.168.2.58 00:e0:4c:36:07:25 pizero1</div><div><br></div><div>Note that previously I had the config lines dhcp-host and dhcp-discover reversed, but I changed it, thinking that maybe it was doing this because I listed the range before the host, but it doesn't seem to make any difference. I have tried to get that client to forget it's previous leases but to no effect that I can see.</div><div><br></div><div>Thanks in anticipation for anything anyone can suggest.</div><div><br></div><div>Ian</div></body></html>