just migrated to dnsmasq (need this IPv6 prefix)
;)
;)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: meyergru on January 20, 2026, 08:38:55 AMYes, I linked it in my first answer.
Quote from: meyergru on January 19, 2026, 08:24:55 PMAnd the difference to DHCPv6-derived IPs is that SLAAC-provided IPs are pushed, i.e. they are applied immediately when the GUA prefix changes.
The only thing you do not have is "known" static IPv6s that you can reference in DNS names (because the prefix can change). Usually, you do not need them anyways, because you can always use the IPv4 for internal purposes in DNS. All of that is covered in the HOWTO I linked above.
Quote from: Patrick M. Hausen on January 19, 2026, 07:50:19 PMQuote from: stanthewizzard on January 19, 2026, 07:44:48 PMISC DHCPv6 gives wan routable ipv6 from my ISP [...] to other devices
SLAAC can do that without any DHCP present at all.
Quote from: meyergru on January 19, 2026, 07:25:10 PMQuote from: stanthewizzard on January 19, 2026, 07:13:54 PMevery server inside the lan (homelab) has a statiq IP fddd:31e8:3076:XX:YY
DHCPv6 with prefix and RA managed on carpv6 (also updated with IPv6 changes) and RA advertises fddd:31e8:3076:XX:YY
Do not send any DNS configuration to clients
fddd:31e8:3076:: is an ULA prefix that is not routed outside of your LAN, unless you use NAT66 or you still have the assigned GUA prefix IPv6s on top for outside access. If you use those ULA IPs for server access, fine.
But then, why / how do you rely on ISC DHCPv6?
I can see only two things it could provide: routeable IPv6 addresses, which can be handed out via SLAAC as well and leases and/or reservations which allow to use internal DNS names (which you say you do not use).
Frankly, I do not get what you are missing.
Quote from: Monviech (Cedrik) on January 19, 2026, 10:17:50 AMIf you have a changing prefix use dnsmasq for dhcpv6, it can construct from a partial prefix:
https://docs.opnsense.org/manual/dnsmasq.html#dhcpv6-and-router-advertisements
Quote from: meyergru on January 19, 2026, 10:19:58 AMThere is a problem with your approach with ISC DHCPv6 as well: The prefix change will potentially go unnoticed for as long as your lease time, because your clients will use the old prefix for as long.
With dynamic IPv6 prefixes, you basically have two choices:
a. Use SLAAC in "assisted" mode, where DHCPv6 only supplies the DNS server (besides RDNSS) - if at all, because DNSv4 is sufficient to supply both IPv4 and IPv6 resolution. This is the safest/easiest approach and shown here. Any local traffic is done via IPv4, such that you do not need DHCPv6 to supply specific IPv6 to your devices in order to adress those in DNS.
b. If you need to have fixed IPv6, you will need to use some adresses on top of GUA that you can use for internal DNS purposes. Keep in mind that LUA will probably not work, because it is prioritized lower than even IPv4. Still, you can use any unused IPv6 prefix.