[Dnsmasq-discuss] dhcp-host ipv6 not get assigned yet ipv4 does

Buck Horn buckhorn at weibsvolk.org
Mon Nov 11 13:43:52 UTC 2024


On 19.10.24 21:50, Glen Huang wrote:
> I have this flag set
>
> dhcp-host=example,[::10],192.168.1.10
>
> and my machine correctly gets 192.168.1.10 for ipv4, but gets a random
> ipv6 address from the dhcp-range flag. Seems the ipv6 in dhcp-host is
> simply ignored. Any idea why that could happen?


Your observation would suggest that IPv6 clients in your network would
use NDP/SLAAC to acquire their IPv6 addresses.

While DHCPv6 is roughly equivalent to IPv4's DHCP, it is not widely in
use for IPv6 address assignments.

Instead, IPv6 strongly emphasises autoconfiguration, where a client
would construct its IPv6 itself, and never request an IPv6 address from
a DHCPv6 server. There are even OSs that do not support DHCPv6 at all,
Android being the prime example.

Kind regards,
     Buck





More information about the Dnsmasq-discuss mailing list