News for hackers. Stuff that matters.
Re:I spent a week without IPv4 to understand IPv6 transition... by dmm on Monday March 06, 2023 @04:20PM (#35047771)
It's important to distinguish between stateful and stateless DHCPv6. stateless DHCPv6 is fine. It's just a way for nodes to get dns/ntp/etc. Nodes still select their addresses with SLAAC.

Stateful DHCPv6 is the bad one. It assigns hosts specific addresses.

> the router essentially always knows the MAC address, IP address and hostname of each device.

You can still have this with ipv6 addresses. They easiest way is to use eui64, the original ipv6 addressing scheme where the address is calculated from the subnet + the MAC address of the interface. That way server VMs get deterministic addresses. If you use network-manager you can configure eui64 with the "add-gen-mode=eui64" setting.

In my homelab, I have a few server VMs that use eui64 addressing whereas the end user devices use privacy addresses randomly selected from the subnet.

Re:I spent a week without IPv4 to understand IPv6 transition... by jacob019 on Monday March 06, 2023 @09:32PM (#35050808)
SLAAC can advertise the DNS server. Why would you call stateful DHCP bad?
Re:I spent a week without IPv4 to understand IPv6 transition... by dmm on Friday March 10, 2023 @04:34PM (#35101425)
> SLAAC can advertise the DNS server.

RFC6106 ? You're right that works. I was just trying to communicate the unobjectionable nature of stateless DHCPv6.

Stateful DHCPv6 is bad because it undermines the concept of hosts selecting their own addresses as needed for privacy, tethering, etc.

The decade old Android issue where Google refuses to implement stateful DCHPv6 provides some good background: https://issuetracker.google.com/issues/36949085#comment53