[PATCH container 1/1] fix #5538: network: enable accept_ra for DHCPv6 configurations
Alex Goodkind
alex at goodkind.io
Tue Nov 11 08:14:50 CET 2025
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 at 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
More information about the pve-devel
mailing list