Harri Suutari <[email protected]> writes:

> Like with IPv4 you could define a static private IPv6 address
> (e.g. fc01::1/64) for the internal interface of the router and let
> Dnsmasq use that interface as a constructor for the internal DHCP
> addresses. Private DNS follows automatically like on IPv4.
>
> # /etc/dnsmasq.d/dnsmasq.local
> #IPv6
> enable-ra
> dhcp-range=::64,::c8,constructor:<internal_router_interface_name_here>,slaac,ra-names

I've actually tried that but dnsmasq thinks the clients have one address
while they actually have something else so the address dnsmasq returns
doesn't work. The only successful name+address allocations from dnsmasq
I've managed with IPv6 have been the EUI-64 kind. Good enough since my
external temp address is not EUI-64 but I wonder if I'm still doing
something wrong, any hints? Clients are using systemd-networkd or
NetworkManager.

Reply via email to