this post was submitted on 15 Jul 2023
9 points (90.9% liked)

Selfhosted

38768 readers
126 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have tried using the debian 10/11/12 LXC templates on Proxmox, but I can't get IPv6 to work as expected. Which is weird, since just setting IPv6 to SLAAC/auto works as expected for ubuntu 20.04 containers with no additional configuration in the container itself.

What I encountered:

  1. Debian overrides the DNS settings set in proxmox with values from DHCP
  2. DHCPv6 DNS updates required manually setting send fqdn.fqdn "..."; in dhclient.conf
  3. DHCPv6 DNS updates only work when manually calling dhclient -6

Those all can be fixed, but are bit of a pain, since I have to manually update configuration files in the container itself. I also have to duplicate the configuration, for example the hostname/domain name in the configuration.

Has anyone got IPv6 working on debian LXCs without any additional config in each container? Or any ideas what's different between the debian and ubuntu LXCs?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

Yeah, SLAAC works as expected on Debian 10-12 LXCs as well, only DHCPv6 has issues.

[–] [email protected] 2 points 1 year ago (1 children)

Last time I checked this was a known bug. DHCPv6 would even cause many containers to not start or to not get an address.

[–] [email protected] 2 points 1 year ago (1 children)

Ok, thanks, guess I'll stick with Ubuntu 20.04 for as long as possible, hopefully IPv6 support improves until then. I'm really surprised by the amount of IPv6 bugs in Debian, some of them even over a decade old, for example simply not being able to configure sssd without IPv4.

[–] [email protected] 1 points 1 year ago

I think I misunderstood you. The one I was talking about was a bug in proxmox. If it's an issues inside lxc, you can replicate the Ubuntu networking stack using nmcli or use systemd-networkd and resolved directly. It behaves identically as far as I know.