[Dnsmasq-discuss] Missing something obvious #known
Simon Kelley
simon at thekelleys.org.uk
Sun Aug 3 21:32:11 BST 2008
B. Cook wrote:
> Hello All,
>
> I thought all of this was working as it should.. but apparently it is not..
>
> from the dnsmasq.log:
> Aug 1 11:42:56 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored
> Aug 1 11:43:11 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored
> Aug 1 11:43:14 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored
> Aug 1 11:43:21 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored
>
> and from the config:
>
> 20 # 100 stuff
> 21 dhcp-option=net:phsalt,option:router,10.20.100.1
> 22 dhcp-range=phsalt,10.20.100.2,10.20.100.254,255.255.255.0,5m
> 23 dhcp-ignore=net:phsalt,#known
> 24
> 25 dhcp-host=00:0e:7f:3b:ba:2d,10.20.100.3,net:phsalt # someprinter
> 26 dhcp-host=00:30:6e:c6:13:e6,10.20.100.57,net:phsalt # hplj1150_hs143
>
> I have tried dhcp-ignore without the net: as well and it does not seem to
> cause an error either way..
>
> I am trying to only let certain hosts end up in the 100.0/24..
>
> Not sure what I am missing..
>
> can anyone help?
>
>
You don't need to use dhcp-ignore to achieve what you're trying to do,
the "net:phsalt" in the dhcp-range is enough to ensure that the range
only gets used for the hosts which set the phsalt tag.
However, I'm not sure _why_ the configuration you have is behaving as it
does. Please could you set --log-dhcp and send me the information that
dnsmasq logs during these DHCP transactions?
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list