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 922BA1FF14C for ; Fri, 15 May 2026 13:09:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 692D896F7; Fri, 15 May 2026 13:09:09 +0200 (CEST) Message-ID: <13e8b0a7-5a85-46d7-a06f-4890a5eebe2b@proxmox.com> Date: Fri, 15 May 2026 13:08:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: superseded: [pve-devel] [PATCH network 0/6] add EVPN IPv6 underlay support To: pve-devel@lists.proxmox.com References: <20260122135151.292794-1-h.laimer@proxmox.com> From: Hannes Laimer Content-Language: en-US In-Reply-To: <20260122135151.292794-1-h.laimer@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778843306217 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.083 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: BNUU7OFQFJAWXVXOWOUIMRUKDLZDZ6SQ X-Message-ID-Hash: BNUU7OFQFJAWXVXOWOUIMRUKDLZDZ6SQ 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: superseded-by: https://lore.proxmox.com/pve-devel/20260515110648.217493-1-h.laimer@proxmox.com/ On 2026-01-22 14:51, Hannes Laimer wrote: > This adds basic IPv6 underlay support for EVPN zones. > This does rely on [1], without it FRR won't advertise v6 next-hops. So > this should not be applied before the FRR version we ship includes [1], > based on @Gabriel's estimate this could be included in a version that may > be released early next month(february). I did test this with the latest > master of FRR. > > (this also needs the changes to `get_local_route_ip` added with [2]) > > Aside from that, like for VXLAN, we prefer IPv6 if the underlaying > fabric should offer both, and we don't support peer addresses with > different IP versions. So either all v6 or all v4. > > > [1] https://github.com/FRRouting/frr/pull/19498 > [2] https://lore.proxmox.com/pve-devel/20260116110843.89615-2-h.laimer@proxmox.com/T/#u > > pve-network: > > Hannes Laimer (6): > sdn: evpn: prepare IPv6 underlay support > sdn: controller: fallback to interface mac if no master > sdn: controller: prevent invalid router-id generation from zero mac > sdn: evpn: keep router-id valid on IPv6 underlay > sdn: vxlan: sort peer IPs when generating sdn config > sdn: evpn: add tests covering ipv6 underlays > > src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 70 ++++++++++++--- > src/PVE/Network/SDN/Controllers/Plugin.pm | 9 +- > src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 28 ++++-- > src/PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +- > .../expected_controller_config | 64 ++++++++++++++ > .../expected_sdn_interfaces | 56 ++++++++++++ > .../exitnode_local_routing_ipv6/interfaces | 7 ++ > .../exitnode_local_routing_ipv6/sdn_config | 27 ++++++ > .../expected_controller_config | 86 +++++++++++++++++++ > .../expected_sdn_interfaces | 64 ++++++++++++++ > .../evpn/openfabric_fabric_ipv6/interfaces | 6 ++ > .../evpn/openfabric_fabric_ipv6/sdn_config | 83 ++++++++++++++++++ > .../expected_controller_config | 74 ++++++++++++++++ > .../expected_sdn_interfaces | 58 +++++++++++++ > .../openfabric_fabric_ipv6_only/interfaces | 6 ++ > .../openfabric_fabric_ipv6_only/sdn_config | 79 +++++++++++++++++ > 16 files changed, 701 insertions(+), 18 deletions(-) > create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/expected_controller_config > create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/expected_sdn_interfaces > create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/interfaces > create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/sdn_config > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/expected_controller_config > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/expected_sdn_interfaces > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/interfaces > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/sdn_config > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/expected_controller_config > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/expected_sdn_interfaces > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/interfaces > create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/sdn_config > > > Summary over all repositories: > 16 files changed, 701 insertions(+), 18 deletions(-) >