Hilfe bei VLAN-Routing mit OVS

MMX74

New Member
Jun 8, 2021
1
0
1
50
Hallo Forum,
ich bräuchte mal Unterstützung - irgendwie stehe ich auf dem Schlauch...
Und zwar habe ich auf einem PVE eine OVS Bridge sowie mehrere VLANs als OVS IntPorts erstellt.
Wie bekomme ich den Traffic zwischen zwei VLANs geroutet?
In aktuellen Beispiel habe ich jeweils eine KVM im VLAN30 und 40; als Gateway der jeweiligen KVM's ist die IP des entsprechenden OVS intPorts hinterlegt.
Die Maschinen können sich aber gegenseitig nicht pingen.
Könnt ihr mir auf die Sprünge helfen?
Besten Dank

anbei die interface-config...

..............
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto enp0s31f6
iface enp0s31f6 inet manual
ovs_type OVSPort
ovs_bridge vmbr0

auto inband
iface inband inet static
address 192.168.0.56/24
gateway 192.168.0.1
ovs_type OVSIntPort
ovs_bridge vmbr0
#inband management

auto vlan10
iface vlan10 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=10
#lab

auto vlan20
iface vlan20 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=20
#labhb

auto vlan100
iface vlan100 inet manual
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=100
#GuestLAN

auto vlan30
iface vlan30 inet static
address 10.10.30.254/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=30
#vlan30_test

auto vlan40
iface vlan40 inet static
address 10.10.40.254/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=40
#vlan40_test

auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports enp0s31f6 inband vlan10 vlan20 vlan100 vlan30 vlan40

..............
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!