I just started using Proxmox last night, but immediately run into issues with Openvswitch unfortunately.
I'm porting a setup that I had on Ubuntu, and used your Openvswitch guide as a reference. Unfortunately something isn't right.
What I'm trying to achieve is to tag the interface and trunk a few VLANs (which will then be used in the VMs).
My config looks like this (generated by the web interface):
However, when I reboot, the interface does not come up. Digging deeper, I find that I cannot cleanly restart the networking service.
If I comment out the `ovs_options`, it starts just fine.
I also tried using just a subset (such as `ovs_options tag=200`), but that doesn't work either.
I read on the forums that it could be an issue with the wrong openvswitch module being used, so I ensured that I got the one from your repository.
I've also ensured that the server is updated as of today:
Please advise. I need this server up and running tonight.
I'm porting a setup that I had on Ubuntu, and used your Openvswitch guide as a reference. Unfortunately something isn't right.
What I'm trying to achieve is to tag the interface and trunk a few VLANs (which will then be used in the VMs).
My config looks like this (generated by the web interface):
Code:
allow-vmbr0 eno1
iface eno1 inet manual
ovs_type OVSPort
ovs_bridge vmbr0
auto vmbr0
iface vmbr0 inet static
address 192.168.200.2
netmask 255.255.255.0
gateway 192.168.200.1
ovs_type OVSBridge
ovs_ports eno1
ovs_options tag=200 trunk=10,201,202 vlan_mode=native-tagged
However, when I reboot, the interface does not come up. Digging deeper, I find that I cannot cleanly restart the networking service.
If I comment out the `ovs_options`, it starts just fine.
I also tried using just a subset (such as `ovs_options tag=200`), but that doesn't work either.
I read on the forums that it could be an issue with the wrong openvswitch module being used, so I ensured that I got the one from your repository.
Code:
root@nuc:~# dpkg -l openvswitch*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================================-===========================-===========================-===============================================================================================
ii openvswitch-common 2.7.0-2 amd64 Open vSwitch common components
un openvswitch-datapath-module (no description available)
ii openvswitch-switch 2.7.0-2 amd64 Open vSwitch switch
implementations
I've also ensured that the server is updated as of today:
Code:
root@nuc:~# apt update && apt upgrade
[...]
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Please advise. I need this server up and running tonight.
Last edited: