[Dnsmasq-discuss] DHCP mangling IP address, host name [SOLVED]

duane-dnsmasq-discuss at evenson.ca duane-dnsmasq-discuss at evenson.ca
Fri Dec 18 16:48:54 GMT 2020


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-discuss at 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 at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20201218/8a8c4aef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: duane.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20201218/8a8c4aef/attachment.vcf>


More information about the Dnsmasq-discuss mailing list