How do I configure IPv6 /64 subnet?


I just bought a dedicated server from Hetzner and they’re given IPv6 /64 subnet. How can I use this to attach public IPv6 addresses for my containers?

I’ve activated IPv6 by default during lxd init but looks like it’s attaching private IPv6 addresses instead of public because if I run curl -6 from inside the container, it returns the dedicated server’s IP address.


There has been a recent discussion on this. Have a look at

1 Like

Thank you, though it didn’t solve mine. I’ll keep digging.