Should the dhcp-range "constructor" feature work with a prefix length greater 
than 64?

The man page says:

----
For  IPv6,  the parameters are slightly different: instead of netmask and 
broadcast address, there is an optional prefix length which must be equal to or 
larger th[a]n the prefix length on the local interface. If not given, this 
defaults to 64. Unlike the IPv4 case, the prefix length is not automatically 
derived from the interface configuration. The minimum size of the prefix length 
is 64.

IPv6  (only) supports another type of range. In this, the start address and optional 
end address contain only the network part (ie ::1) and they are followed by 
constructor:<interface>.  ...
----

But, when the prefix length is set equal to the prefix length on the local interface, but 
the value is larger than "64", then dnsmasq gives an error message:

----
dnsmasq: prefix length must be exactly 64 for subnet constructors at line 266 
of /etc/dnsmasq.conf
----

This appears to be a bug.

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

Reply via email to