News for hackers. Stuff that matters.
Re:I spent a week without IPv4 (2023) by candiddevmike on Saturday December 20, 2025 @02:06PM (#46338639)
I can't run SLAAC and DHCPv6 at the same time without giving devices multiple addresses, and Android doesn't support DHCPv6, so I'd have to carve out a separate, SLAAC-based, android-only network. And then figure out firewall rules, multicast reflection, etc.
Re:I spent a week without IPv4 (2023) by justincormack on Saturday December 20, 2025 @02:34PM (#46338859)
Why is giving multiple addresses a problem?
Re:I spent a week without IPv4 (2023) by candiddevmike on Saturday December 20, 2025 @02:43PM (#46338926)
No control over which source address is used. I'm assigning a lot of clients DHCP reservations so I can use static addresses for monitoring and firewall rules. With multiple addresses on the same network, clients may use their SLAAC address which won't match the firewall rule.
Re:I spent a week without IPv4 (2023) by db48x on Saturday December 20, 2025 @05:27PM (#46340233)
That still doesn’t really make sense. Why not run SLAAC on one subnet and have a single firewall rule for the whole thing? You’re not running any major servers on an Android phone, so it won’t be anything complex.
Re:I spent a week without IPv4 (2023) by tsimionescu on Saturday December 20, 2025 @07:40PM (#46341162)
SLAAC can only run on a subnet that's larger than /64, which they might not have access to.
Re:I spent a week without IPv4 (2023) by db48x on Sunday December 21, 2025 @12:51AM (#46342569)
Strictly speaking it can and does run on subnets that are exactly /64. Does anyone actually hand out smaller delegations today?
Re:I spent a week without IPv4 (2023) by tsimionescu on Sunday December 21, 2025 @01:15AM (#46342697)
My point is that they might only be getting 1 /64 from their ISP; or getting a /62 or something small, and needing more subnets anyway. In these situations, you may not have an extra /64 to dedicate to SLAAC for certain devices.
Re:I spent a week without IPv4 (2023) by db48x on Sunday December 21, 2025 @02:07AM (#46342866)
Right. I was merely correcting your statement that SLAAC needs more than 64 bits to work with. But my question remains; do any ISPs hand out smaller delegations than a /64?
Re:I spent a week without IPv4 (2023) by franklyworks on Sunday December 21, 2025 @01:04AM (#46342635)
Ah, this makes sense.
Re:I spent a week without IPv4 (2023) by justincormack on Sunday December 21, 2025 @04:14AM (#46343401)
There are APIs in Linux to control source address selection but might be fiddly https://www.davidc.net/networking/ipv6-source-address-select...
Re:I spent a week without IPv4 (2023) by gspr on Saturday December 20, 2025 @02:42PM (#46338910)
I thought this was a problem too. Then I realized that addresses are not in short supply, so I stopped caring that some devices get multiple addresses. The ones I care about are handed out over DHCPv6, and the firewall works accordingly. The rest gets basic connectivity and nothing else.

Works great for me.

Re:I spent a week without IPv4 (2023) by candiddevmike on Saturday December 20, 2025 @02:44PM (#46338934)
Don't you have problems with clients using the wrong source address and not matching firewall rules?
Re:I spent a week without IPv4 (2023) by gspr on Saturday December 20, 2025 @03:22PM (#46339281)
No. Admittedly, my firewall rules are all about granting something extra beyond the basics. I only do this for clients I care about anyway, so I can always tell them to use the right address.
Re:I spent a week without IPv4 (2023) by kstrauser on Saturday December 20, 2025 @11:00PM (#46342139)
Different person here, but no. I never write firewall rules based on individual source addresses. They’re too easy to fake. And with IPv6’s privacy extensions, you never know what source address a given machine will have anyway.
Re:I spent a week without IPv4 (2023) by gspr on Sunday December 21, 2025 @03:49AM (#46343265)
Interesting. How do you deal with destination addresses on your local network? DHCPv6 like the other poster and myself?
Re:I spent a week without IPv4 (2023) by kstrauser on Sunday December 21, 2025 @10:31AM (#46345536)
I haven’t had a need for DHCPv6. I’d use DNS (or better, mDNS) to assign a hostname to the destination’s fixed IPv6 address or ULA, both of which are static. I don’t ever manually assign an IPv6 address to a host, though. I just let SLAAC do the thing it was designed for.