[Dnsmasq-discuss] Can I tell dnsmasq not to use one isolated address in a DHCP range

wkitty42 at gmail.com wkitty42 at gmail.com
Sat Dec 26 16:01:53 GMT 2020


On 12/26/20 8:57 AM, 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

not that i know of... my first reaction when reading this is the user needs to 
be educated to not use IPs in the DHCP range as static IPs... if they want/need 
a static IP, there should be a procedure for requesting one... depending on the 
OS, there may be remote management controls that can be used to adjust that 
setting and prevent them from doing this in the future...

> (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)

that's possible... we've seen similar here and they set the static so their 
drive mappings would work properly... this mainly because some use IPs instead 
of host names for their drive mapping linkages...

> 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.

yes, i believe this is correct...


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the Dnsmasq-discuss mailing list