Discussion:
[Dnsmasq-discuss] I think I've broken my setup..
Turbo Fredriksson
2016-07-27 00:12:00 UTC
Permalink
This worked previously, but for some reason it doesn't any more..

My config (part of):

* dnsmasq.conf
dhcp-range=net:vpn,192.168.6.10,192.168.6.250,2h
dhcp-range=net:vbox,192.168.5.10,192.168.5.250,2h
dhcp-range=net:lan,192.168.69.150,192.168.69.250,12h
dhcp-range=net:bc1,10.0.0.0,static

dhcp-host=net:bc1,00:1a:4b:a6:35:79,10.0.1.251,bladeAoa,infinite

* hosts
10.0.1.251 bladeAoa

But I'm getting

Jul 27 01:12:23 dhcpserver dnsmasq-dhcp[18242]: DHCPDISCOVER(eth1) 00:1a:4b:a6:35:79 no address available

If I remove the "net:lan," from the third range line, it "works"
(in that the host gets an address, but a wrong one - on the 192.168.69
network).

I've removed the leases file..
--
Michael Jackson is not going to buried or cremated
but recycled into shopping bags so he can remain white,
plastic and dangerous for kids to play with.
Turbo Fredriksson
2016-07-27 00:34:10 UTC
Permalink
Post by Turbo Fredriksson
This worked previously, but for some reason it doesn't any more..
Ha! And of course once I asked the question, it "solved itself"..

It was the IP for the network 10.0.0.0/16 that was on the wrong
interface on the DHCP server. Oups.

Sorry for the noise.
--
I love deadlines. I love the whooshing noise they
make as they go by.
- Douglas Adams
Continue reading on narkive:
Loading...