OVSPatchPort patch ovs_type availability for OpenVSwitch

zimbres

Member
Sep 13, 2020
4
1
8
47
Would be nice if Proxmox add option to handle patch ports for OpenVSwitch in UI.

I achieved a working configuration by:


Code:
/etc/network/interfaces

auto lo
iface lo inet loopback

auto enp2s0
iface enp2s0 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0

auto vlan100
iface vlan100 inet static
        address 192.168.100.254/24
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=100

auto vlan1000
iface vlan1000 inet static
        address 192.168.1.254/24
        gateway 192.168.1.1
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=1000

auto vlan172
iface vlan172 inet static
        address 172.16.1.1/24
        ovs_type OVSIntPort
        ovs_bridge vmbr0
        ovs_options tag=172

auto vmbr0
iface vmbr0 inet manual
        ovs_type OVSBridge
        ovs_ports enp2s0 vlan100 vlan1000 vlan172 patch0

auto patch0
iface patch0 inet manual
    ovs_bridge vmbr0
    ovs_type OVSPatchPort
    ovs_patch_peer patch2
    ovs_options vlan_mode=trunk trunk=5,10,100,1000

auto vmbr1
iface vmbr1 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr2
iface vmbr2 inet manual
    ovs_type OVSBridge
    ovs_ports patch2

auto patch2
iface patch2 inet manual
    ovs_bridge vmbr2
    ovs_type OVSPatchPort
    ovs_patch_peer patch0
 

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!