proxmox: don’t route host traffic over VNIs

Very bad, much slow.
This commit is contained in:
Timotej Lazar 2024-05-05 12:56:58 +02:00
parent 05d3f82caf
commit 5a7fa02909

View file

@ -4,7 +4,7 @@
# bridges must be named vmbrN for proxmox to care # bridges must be named vmbrN for proxmox to care
{% for vlan in my_cluster.custom_fields.vlans | default([], true) | sort(attribute='vid') %} {% for vlan in my_cluster.custom_fields.vlans | default([], true) | sort(attribute='vid') %}
auto vmbr{{ vlan.vid }} auto vmbr{{ vlan.vid }}
iface vmbr{{ vlan.vid }} inet manual iface vmbr{{ vlan.vid }}
# {{ vlan.name }} # {{ vlan.name }}
bridge-vlan-aware no bridge-vlan-aware no
bridge-ports vni{{ vlan.vid }} bridge-ports vni{{ vlan.vid }}
@ -12,7 +12,7 @@ iface vmbr{{ vlan.vid }} inet manual
bridge-fd 0 bridge-fd 0
auto vni{{ vlan.vid }} auto vni{{ vlan.vid }}
iface vni{{ vlan.vid }} inet static iface vni{{ vlan.vid }}
vxlan-id {{ vlan.vid }} vxlan-id {{ vlan.vid }}
mstpctl-bpduguard yes mstpctl-bpduguard yes
mstpctl-portbpdufilter yes mstpctl-portbpdufilter yes