Proxmox 8.2 with openvswitch installed Network cards acting strange?

FluxSine

New Member
Mar 29, 2024
11
1
3
Hello,

On my server, I have a total of six physical network interfaces, with two being 10 Gigabit and the remaining four being 1 Gigabit. Currently, I'm using one of the 1 Gigabit ports exclusively for management access to the Proxmox GUI, while I'd like to utilize one of the 10 Gigabit link as a trunk port for other users on my network to access VMs on the Proxmox server. However, I've encountered an issue where disconnecting the 1 Gigabit management port also disrupts the functionality of the 10 Gigabit link.

Is this behavior normal? Does Proxmox treat all physical network cards as part of the same virtual switch, with the network card containing the gateway configured as the primary access point?

Ideally, I should be able to unplug the management port and still have access to my vm's via the 10gig. Any assistance in this setup would be much appreciated.

Here is my current config file:
Code:
auto lo
iface lo inet loopback

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto enp4s0f0
iface enp4s0f0 inet manual

auto enp4s0f1
iface enp4s0f1 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr1

auto eno1
iface eno1 inet manual

auto vmbr1_10g
iface vmbr1_10g inet static
        address 10.0.0.170/21
        ovs_type OVSIntPort
        ovs_bridge vmbr1
#Main Virtual Switch Port

auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_ports enp4s0f1 vmbr1_10g
#Main Virtual Switch

auto vmbr0
iface vmbr0 inet static
        address 10.0.0.200/21
        gateway 10.0.0.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
#Management Port
 
Last edited:
i guess it is because your gateway resides on vmbr0 - if you take vmbr0 offline, anything within 10.0.0.0/21 will not be able to route into other subnets.
 
  • Like
Reactions: sungta_ted
Thats what i was guessing. I think this is what I want.
iface lo inet loopback
# Configure loopback

iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
# eno2, eno3, eno4 are left as manual

auto enp4s0f0
iface enp4s0f0 inet manual
# enp4s0f0 is left as manual

auto enp4s0f1
iface enp4s0f1 inet manual
ovs_type OVSPort
ovs_bridge vmbr1
# Configure enp4s0f1 for Open vSwitch

auto eno1
iface eno1 inet static
address 10.0.0.220/21
gateway 10.0.0.1
# Configure eno1 for management access

auto vmbr1_10g
iface vmbr1_10g inet static
address 10.0.0.170/21
ovs_type OVSIntPort
ovs_bridge vmbr1
# Allow all VLANs to pass through (trunk port)
ovs_options tag=4095
# Create a virtual interface for enp4s0f1 to serve as a 10G trunk

auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports enp4s0f1 vmbr1_10g
# Configure vmbr1 for Open vSwitch
 

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!