From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 3E18C1FF13C for ; Thu, 30 Apr 2026 16:31:19 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D9226C755; Thu, 30 Apr 2026 16:30:34 +0200 (CEST) From: Hannes Laimer To: pve-devel@lists.proxmox.com Subject: [PATCH pve-docs v2 10/11] sdn: document IPv6 RA / SLAAC configuration Date: Thu, 30 Apr 2026 16:29:52 +0200 Message-ID: <20260430142953.315412-11-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260430142953.315412-1-h.laimer@proxmox.com> References: <20260430142953.315412-1-h.laimer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1777559297212 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.080 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 2EPAU7TZXYWABOFDDTMYKKN6RNBYTTTR X-Message-ID-Hash: 2EPAU7TZXYWABOFDDTMYKKN6RNBYTTTR X-MailFrom: h.laimer@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Document the per-VNet and per-subnet RA configuration and how they combine, so the typical SLAAC setup is one toggle on the VNet plus the IPv6 subnets' default per-prefix settings. Signed-off-by: Hannes Laimer --- pvesdn.adoc | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/pvesdn.adoc b/pvesdn.adoc index 9501bd4..74ce953 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -422,6 +422,37 @@ xref:pvesdn_firewall_integration[VNET Firewall] to further isolate traffic in the VNET across nodes. For example, DROP by default and only allow traffic from the IP subnet to the gateway and vice versa. +[[pvesdn_config_vnet_ipv6_ra]] +IPv6 Router Advertisement (EVPN) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +For VNets in an EVPN zone, the per-node anycast gateway can emit IPv6 Router +Advertisements so guests configure addresses via SLAAC. Per-RA settings live on +the VNet, per-prefix overrides on each subnet (see +xref:pvesdn_config_subnet_nd_prefix[Per-prefix RA overrides]). + +Send Router Advertisements:: Master toggle. When enabled, the VNet bridge emits + RAs. Only valid in EVPN zones. + +DHCP Managed (M):: Set the managed-address configuration (M) flag in emitted + RAs. Hosts should obtain addresses via DHCPv6. + +DHCP Other (O):: Set the other-configuration (O) flag in emitted RAs. Hosts + should obtain non-address configuration (e.g. DNS) via DHCPv6. + +RDNSS:: Comma-separated list of IPv6 addresses advertised as Recursive DNS + Servers in RAs. + +Router Lifetime:: Default-router lifetime advertised in RAs (seconds). `0` tells + hosts not to use this gateway as a default router. Defaults to FRR's built-in + value (1800s) if unset. + +RA Interval:: Maximum interval between unsolicited RAs (seconds). Defaults to + FRR's built-in value (600s) if unset. + +Advertised MTU:: Optional MTU to advertise in the RA. Omit to suppress the MTU + option entirely. + [[pvesdn_config_subnet]] Subnets ------- @@ -455,6 +486,31 @@ SNAT:: Enable Source NAT which allows VMs from inside a DNS Zone Prefix:: Add a prefix to the domain registration, like .prefix. Optional. +[[pvesdn_config_subnet_nd_prefix]] +Per-prefix RA overrides (EVPN) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +For IPv6 subnets on a VNet that has +xref:pvesdn_config_vnet_ipv6_ra[Router Advertisements] enabled, each subnet +contributes a prefix to the RA. The defaults (advertise the prefix with the +autonomous and on-link flags set, FRR's default lifetimes) cover the typical +SLAAC case. The options below let you override per prefix. + +SLAAC (A):: Set the autonomous configuration (A) flag for this prefix, enabling + SLAAC. Defaults to enabled. Only valid on `/64` prefixes + footnote:[RFC-4862 https://datatracker.ietf.org/doc/html/rfc4862]. + Uncheck it for non-/64 prefixes (e.g. `/96`) so the prefix is announced + without autoconfig. + +On-link (L):: Set the on-link (L) flag for this prefix. Defaults to on-link. + Uncheck for off-link prefixes hosts should reach only via the router. + +Valid Lifetime:: Valid lifetime for the prefix advertised in RAs, in seconds. + Defaults to 30 days (2592000s). + +Preferred Lifetime:: Preferred lifetime for the prefix advertised in RAs, in + seconds. Defaults to 7 days (604800s). + [[pvesdn_config_controllers]] Controllers @@ -1495,7 +1551,6 @@ can reply back. If you have configured an external BGP router, the BGP-EVPN routes (10.0.1.0/24 and 10.0.2.0/24 in this example), will be announced dynamically. - [[pvesdn_notes]] Notes ----- -- 2.47.3