I did some more testing and found any network mask on the 'dhcp-host" line causes it to be ignored. If the line ends with a CIDR netmask, it generates the "Ignoring domain" message. "dnsmasq --test" doesn't catch these issues.

Looking at the example config file, I found regular netmasks only for "dhcp-range" and "alias" lines, and CIDR netmask for "dhcp-option=121" (classless-static-route) and "domain" lines.

I guess I need to be more careful and that we must use tags and domain-option lines to set some common DHCP options.

Thanks for the suggestions and help.



On 2020-12-17 2:42 p.m., Erik Edwards wrote:
Can you provide a *.pcap (wireshark?) for this group of packets?

On 12/17/20 12:14 PM, duane-dnsmasq-disc...@evenson.ca wrote:
Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: DHCPDISCOVER(eth0) 00:25:f6:03:2a:5d Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: DHCPOFFER(eth0) 192.168.0.178 00:25:f6:03:2a:5d Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: DHCPREQUEST(eth0) 192.168.0.178 00:25:f6:03:2a:5d Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: Ignoring domain 168.0.10/24 for DHCP host name 192 Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: DHCPACK(eth0) 192.168.0.178 00:25:f6:03:2a:5d 192


This packet is the most curious:

Dec 17 09:36:51 ian dnsmasq-dhcp[14599]: DHCPREQUEST(eth0) 192.168.0.178 00:25:f6:03:2a:5d



_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

<<attachment: duane.vcf>>

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to