IPv6 and LXC with DHCP

Hi,

Do I need to assign the host also with IPv6 address?
No, usually a bridge will forward all packages to the bridge ports.
Did you check if you get the correct packages in the container?
TCP dump on the bridge and in the container can help.
 
Im having issues with this aswell, somehow the DUID is identical for every container aswell, wierd.
I have assigned every container a static ipv6 address but DHCP still assign them another ipv6 address.
For ipv4 there is no problem at all, but its sometihng about ipv6 that doesnt work.
 
Where you able to solve it? DUID for Ubuntu 20.04 lxc containers is still always identical. Static ip and SLAAC works but not DHCP.
 
You need to generate a new unique machine-id:

You can find the current one in /var/lib/dbus/machine-id && /etc/machine-id

To generate a new one (Ubuntu):
Bash:
rm /etc/machine-id
rm /var/lib/dbus/machine-id
# Create /var/lib/dbus/machine-id
dbus-uuidgen --ensure
# Create /etc/machine-id, this will basically get the id from /var/lib/dbus/machine-id
systemd-machine-id-setup
reboot