[Dnsmasq-discuss] ipv6 slaac or stateless - No address or no address range available

Simon Kelley simon at thekelleys.org.uk
Mon Feb 27 21:22:51 UTC 2023



On 27/02/2023 20:10, Eric Fahlgren wrote:
> 
> On Mon, Feb 27, 2023 at 8:15 AM Simon Kelley <simon at thekelleys.org.uk 
> <mailto:simon at thekelleys.org.uk>> wrote:
> 
> 
>     On 25/02/2023 16:19, Daniel via Dnsmasq-discuss wrote:
>      > dhcp-option=tag:computer6,option6:3,fd99:1234:beef:cafe::2
>      > dhcp-option=tag:computer6,option6:6,fd99:1234:beef:cafe::1
>      > dhcp-option=tag:computer6,option6:ntp-server,fd99:1234:beef:cafe::2
> 
>     ...This all got a bit superseded
>     when the IETF started defining options on the RA packets for the common
>     configuration options.
> 
> 
> Sort of on-topic, but sort of tangential, how will dnsmasq interpret the 
> above three settings?
> 
> https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml <https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml>
> 
> Does 'option6:3' translate this from DHCPv4's 'router' to an RA, or does 
> it consider it to be DHCPv6 'OPTION_IA_NA'?  Does the 'option6:6' 
> (OPTION_ORO) use DHCPv4 dns-server semantics, or does it interpret it as 
> DHCPv6 23, OPTION_DNS_SERVERs, or maybe even translate it to an RA RDNSS 
> message???
> 
> I can see how with 'option6:ntp-server' using the logical name it would 
> use DHCPv6 56,  OPTION_NTP_SERVER, but with the numerical 'option6:' 
> values does it "do the right thing", or are those two option settings 
> basically nonsense?

They are nonsense. If numeric option codes are used with option6 they 
need to be numbers from the DHCPv6 option namespace.


Simon.

> 
> Eric
> 
> 



More information about the Dnsmasq-discuss mailing list