Obviously there is a mismatch between gui and real configuration. What count is content of /etc/network/interfaces, probably vmbr does not exist there any more - in that case I would ignore the problem , you can use vmbr1 instead.
How to call a port is completely free - why not port0, port1 ...
Yes, I think it is the right hierarchy.
For better understanding I made a "global example" where I combined a lot of configuration variants (regardless if a real customer will ever need such a configuration), I´ve tested by trying pings between the endpoints. Here the description:
Global example for OVS use in PROXMOX:
Scenario:
LAN physically connected with eth2
- transports 3 vlan
tag=11 192.168.11.0/24
tag=12 192.168.12.0/24
tag=14 192.168.14.0/24
- and as non-vlan
notag 192.168.10.0/24
implemented as vmbr2
local virtual network (is NOT a vlan, just a LAN without wire)
192.168.13.0/24
implemented as vmbr3
6 virtual machines
ct 10
ct 11
ct 12
vm 10
vm 11
vm 12
each machine is connected with
192.168.xx.0/24 (xx = machine number)
as well as
192.168.13.0/24
Config files
If not mentioned otherwise all can be configured by PROXMOX web gui, after configuring all and all machines up they have to look as follows:
---- /etc/network/interfaces -----
allow-vmbr2 ipo14 <==== this is the virtual port for PROXMOST host
iface ipo14 inet static
address 192.168.14.1
netmask 255.255.255.0
ovs_type OVSIntPort
ovs_bridge vmbr2
ovs_options tag=14
allow-vmbr2 eth2
iface eth2 inet manual
ovs_type OVSPort
ovs_bridge vmbr2
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
ovs_ports eth2 ipo14
auto vmbr3 <===== a bridge without physical connection
iface vmbr3 inet static
address 192.168.13.1
netmask 255.255.255.0
ovs_type OVSBridge
VM config files /etc/pve/qemu-server/xxx.conf:
---- vm 10 -----
name: LUC-10
net0: virtio=0AC:F5:197:A0,bridge=vmbr3 <=== for PROXMOX internal network 192.168.13.0/24
net1: virtio=72:E2:52:57:C21,bridge=vmbr2 <=== no vlan tag for network 192.168.10.0/24
---- vm 11 -----
name: LUC-11
net0: virtio=BE:23:5F:9B:F0:1D,bridge=vmbr3
net1: virtio=DE:10:31:72:90:17,bridge=vmbr2,tag=11 <=== tag 11 for network 192.168.11.0/24
----- vm 12 ----
net0: virtio=E2:B9:62:1A:AD:AD,bridge=vmbr3
net1: virtio=42:F2:90:73:BA:94,bridge=vmbr2,tag=12 <=== tag 12 for network 192.168.12.0/24
CT config files /etc/pve/openvz/xxx.conf:
--- ct 10 ----
NETIF="ifname=eth0,bridge=vmbr2,mac=A2:AE:5B:78:B4:90,host_ifname=veth301.0,host_mac=DA:96:1A:65:B0:4D;
ifname=eth1,bridge=vmbr3,mac=CE:83:20:87:5E:2A,host_ifname=veth301.1,host_mac=CE:06:B8:49:C0:67"
---- ct 11 ---
NETIF="ifname=eth0,bridge=vmbr2,mac=FE:39:16:E6:F3:3A,host_ifname=veth302.0,host_mac=4E:5C:88:32:40:AD;
ifname=eth1,bridge=vmbr3,mac=92:BB:3F:FB:35:F0,host_ifname=veth302.1,host_mac=E2:58:3C:E1:35:BA"
---- ct 12 ----
NETIF="ifname=eth0,bridge=vmbr2,mac=82:79:1D:B8:5B:18,host_ifname=veth303.0,host_mac=7A:84:EA:EC:94:30;
ifname=rth1,bridge=vmbr3,mac=26:C9:2C:51:45:60,host_ifname=veth303.1,host_mac=D6:F5:13:31:6A:F7"
----- ovs-vsctl show -------------
Bridge "vmbr3"
Port "veth303.1"
Interface "veth303.1" <====
Port "tap103i0"
Interface "tap103i0"
Port "veth301.1" <==== configuring OVS bridges to CTs by gui does not work - use "ovs-vsctl add-port vmbr3 veth301.1 [tag=xx]" etc. instead
Interface "veth301.1"
Port "vmbr3"
Interface "vmbr3"
type: internal
Port "veth302.1"
Interface "veth302.1" <====
Port "tap102i0"
Interface "tap102i0"
Port "tap101i0"
Interface "tap101i0"
Bridge "vmbr2"
Port "tap102i1"
tag: 11
Interface "tap102i1"
Port "veth301.0" <====
Interface "veth301.0"
Port "veth303.0" <====
tag: 12
Interface "veth303.0"
Port "tap103i1"
tag: 12
Interface "tap103i1"
Port "ipo14"
tag: 14
Interface "ipo14"
type: internal
Port "eth2"
Interface "eth2"
Port "veth302.0"
tag: 11
Interface "veth302.0" <====
Port "tap101i1"
Interface "tap101i1"
Port "vmbr2"
Interface "vmbr2"
type: internal