<div>Problem: client xyz requests an address, dnsmasq gives it an IP, say 192.168.1.1. My dnsmasq is configured so that after giving out that address to the client, "dhcp-host=192.168.1.1,xyz" is added to the configuration file. Now if I change that line to a new IP address, say "dhcp-host=192.168.1.2,xyz", and the client does a "release" and "renew", the server doesn't reply. Packet capture shows the client requesting 192.168.1.1 in the DHCP Discover message, and no response from the server.</div>
<div><br></div><div>My question is, what is the default behaviour when the client requests an IP different from the one specified for it in dhcp-host? What should I do if I want dnsmasq to give the client a specific IP next time it requests one?</div>
<div><br></div><div>"dhcp-authoritative" is not set. I don't know if it matters in this case, just throwing it out there.</div><div><br></div><div>My apologies if this question has been asked. (Please do point me to the thread if it has. I have searched the archive but couldn't find anything.)</div>
<div><br></div><div>Thanks.</div>