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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!