public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Alex Goodkind via pve-devel <pve-devel@lists.proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Alex Goodkind <alex@goodkind.io>, tarick@bedeir.com
Subject: [pve-devel] [PATCH container 1/1] fix #5538: network: enable accept_ra for DHCPv6 configurations
Date: Mon, 10 Nov 2025 23:14:50 -0800	[thread overview]
Message-ID: <mailman.869.1762845304.362.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <20251111071450.10188-1-alex@goodkind.io>

[-- Attachment #1: Type: message/rfc822, Size: 6338 bytes --]

From: Alex Goodkind <alex@goodkind.io>
To: pve-devel@lists.proxmox.com
Cc: tarick@bedeir.com, Alex Goodkind <alex@goodkind.io>
Subject: [PATCH container 1/1] fix #5538: network: enable accept_ra for DHCPv6 configurations
Date: Mon, 10 Nov 2025 23:14:50 -0800
Message-ID: <20251111071450.10188-2-alex@goodkind.io>

DHCPv6 requires Router Advertisements to function as specified in
the IPv6 standard. Previously, accept_ra was only enabled for 'auto'
mode, causing DHCPv6 configurations to fail when RAs were needed.

Enable accept_ra for both 'auto' and 'dhcp' IPv6 modes.

Signed-off-by: Alex Goodkind <alex@goodkind.io>
---
 src/PVE/LXC/Setup/Base.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm
index a2c88ed..bb4a12b 100644
--- a/src/PVE/LXC/Setup/Base.pm
+++ b/src/PVE/LXC/Setup/Base.pm
@@ -296,6 +296,7 @@ DATA
         if (defined(my $ip = $d->{ip6})) {
             if ($ip eq 'dhcp') {
                 $dhcp |= $DHCP6;
+                $accept_ra = 'true';
             } elsif ($ip eq 'auto') {
                 $accept_ra = 'true';
             } elsif ($ip ne 'manual') {
-- 
2.43.0



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

       reply	other threads:[~2025-11-11  7:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20251111071450.10188-1-alex@goodkind.io>
2025-11-11  7:14 ` Alex Goodkind via pve-devel [this message]
2025-11-11 11:50   ` Gabriel Goller
2025-11-12  7:57   ` [pve-devel] applied: " Thomas Lamprecht
     [not found] ` <20251111071450.10188-2-alex@goodkind.io>
2025-11-11 15:46   ` [pve-devel] " Thomas Lamprecht
2025-11-11 17:02     ` Alex Goodkind via pve-devel
     [not found]     ` <CAAbO5hZ4SzcQRivyJC7tompikRMESgE+FJincNX7hryjY2TyHA@mail.gmail.com>
2025-11-12  1:55       ` Alex Goodkind via pve-devel
2025-11-13 13:05         ` Gabriel Goller
2025-11-13 14:40           ` Alex Goodkind via pve-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailman.869.1762845304.362.pve-devel@lists.proxmox.com \
    --to=pve-devel@lists.proxmox.com \
    --cc=alex@goodkind.io \
    --cc=tarick@bedeir.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal