--- Begin Message ---
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 <[email protected]>
---
 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



--- End Message ---
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to