Edward Smith wrote:
I would like be able to set a default for the addresses in
/etc/ethers. Which reminds me. When I had an /etc/ethers defining
addresses from 192.168.5.100 to 200 AND a line like this
dhcp-range=192.168.5.100,192.168.5.200,2h
People were getting double leases. So the guy who was assigned .100
by ethers would get 100 and also someone who had no entry in ethers
would get 100. So now I just have ethers and no dhcp-range statements
in use.
I suspect that you have another DHCP server somewhere on your network,
that would explain both the double leases and the fact that you can
still get DHCP leases without any dhcp-range line in /etc/dnsmasq.conf.
(dhcp-range is mandatory, no dhcp-range line turn off the dnsmasq DHCP
server completely.)
Cheers,
Simon.