[Dnsmasq-discuss] dhcp-range - must ip address of server be outside that?

richardvoigt at gmail.com richardvoigt at gmail.com
Sun Dec 27 23:47:11 GMT 2009

On Sun, Dec 27, 2009 at 11:31 AM,  <dnsmasq.to.peejay at spamgourmet.com> wrote:
> dnsmasq.conf has a line:
> dhcp-range=,,,12h
> (hostmin,hostmax,netmask,leasetime)
> If I enable that line, must the dnsmasq server itself be outside that range?
> Ie, for the dnsmasq server:
> on the LAN interface would be wrong
> but
> would be ok.

In my experience, dnsmasq is smart enough to not give out its own
address, or any addresses mentioned in dhcp-host lines (except to the
computer to which it is reserved).

It may be confusing, because your address pool is smaller than the
dhcp-range suggests, and you'll have fewer leases than expected when
dhcp starts failing, but dnsmasq won't do anything so broken as giving
away its own address.

> regards
> PJ
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list