From 5a7fa02909f8d7e5eb333cfdaa6cafb63368f978 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 5 May 2024 12:56:58 +0200 Subject: [PATCH] =?UTF-8?q?proxmox:=20don=E2=80=99t=20route=20host=20traff?= =?UTF-8?q?ic=20over=20VNIs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Very bad, much slow. --- roles/proxmox/templates/interfaces.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/proxmox/templates/interfaces.j2 b/roles/proxmox/templates/interfaces.j2 index 6104302..3f90b7b 100644 --- a/roles/proxmox/templates/interfaces.j2 +++ b/roles/proxmox/templates/interfaces.j2 @@ -4,7 +4,7 @@ # bridges must be named vmbrN for proxmox to care {% for vlan in my_cluster.custom_fields.vlans | default([], true) | sort(attribute='vid') %} auto vmbr{{ vlan.vid }} -iface vmbr{{ vlan.vid }} inet manual +iface vmbr{{ vlan.vid }} # {{ vlan.name }} bridge-vlan-aware no bridge-ports vni{{ vlan.vid }} @@ -12,7 +12,7 @@ iface vmbr{{ vlan.vid }} inet manual bridge-fd 0 auto vni{{ vlan.vid }} -iface vni{{ vlan.vid }} inet static +iface vni{{ vlan.vid }} vxlan-id {{ vlan.vid }} mstpctl-bpduguard yes mstpctl-portbpdufilter yes