The below assumes that a client can use a fix IP address even though it
is configured on the DHCP server as DHCP static lease.


On 12/26/2020 2:57 PM, Chris Green wrote:
Is it possible to tell dnsmasq not to use one IP address in a
dhcp-range assignment? I have a user on my LAN who has set
192.168.1.121 in their system as their IP address and it's in my
dhcp-range=192.168.1.80,192.168.1.223,12h


You could split your range in two smaller ranges living out the IP in
question.

(I think they originally used dnsmasq's DHCP to get 192.168.1.121 so
it's unlikely to get re-assigned but better safe than sorry)


You could also make Dnsmasq awair of this IP by having a fixed DHCP
lease by using MAC addr/client ID.


As a follow-up I guess that if I want dnsmasq to return a system name
for 192.168.1.121 (which it hasn't assigned itself) I'll need to add
it to /etc/hosts on the dnsmasq system.


I would use 'dhcp-host' instead of the hosts file.

--
John Doe

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to