IPv6 DHCP in LXC

kb1sph

New Member
Jul 26, 2026
1
0
1
Okay, I'm going to apologize ahead of time, because I know a lot of people have posted about this, but there are so many posts that I just can't find a working answer.

I'm running Proxmox VE 9.2.5. I have opnsense set up and working perfectly and giving out IPv6 addresses through DHCP and everything that gets an address for physical machines on the lan have IPv6 connectivity. The problem is, I can't seem to get this to work automatically in a LXC. There has to be something I am not seeing and I was hoping someone could help.

When any of my LXCs boot up, they get the IPv4 address and they get a link-local IPv6 address, but they do not get a global IPv6 address. I have a /56 with a /64 assigned to the LAN. However, if I manually run "dhclient -6" it gets an IP address no problem and I can ping ipv6 addresses.

What am I missing to make this work automatically? I've tried setting the IPv6 config for the LXC to DHCP as well as SLAAC, neither one works.

Strangely, if I switch from Static to DHCP, I get nothing. If while set to DHCP I check the box for host-managed, I get nothing. But, if I switch from Static to DHCP and click the host-managed button at the same time and apply it, I get an IPv6 address. However, if I reboot the LXC, it disappears, I get no IPv6 address. The same things happen going from SLAAC to DHCP.

Is this some kind of bug in Proxmox? Is there something I have misconfigured? I'm going crazy trying to figure this out and could use a little help. If there's any info you need from me, let me know.

Thanks in advance!