VM Can't connect network when their bridge is on a specific NIC

Oct 27, 2015
24
0
21
France
Hello Everyone, I need your help

I'm a Proxmox user and enthousiast. I've recently changed one of the 2 Physical server (node) of my office and I've spent hours trying to understand why my vms couldn't get connected to the network despite I've done exactly like all the other time I've installed proxmox in the past on other machines.

Problem : When my VM has it Virtual LAN card on a VMBR that is on my QNAP Network card, the VM can't connect the physical LAN and LAN can't connect the VM, BUT the LAN can connect the proxmox which is connect to this VMBR. The Proxmox can connect the VM also. When I change the VMBR link to another Network Card, everything work correctly.

A resume for the Hardware :
The server has 4 Network cards :
On Motherboard (MSI MAG B550 TOMAHAWK) :
  • Realtek Semiconductor Co., Ltd. Device 8125 (rev 04)
    • Identify : enp42s0
    • Bandwith : 2.5G
    • driver declared by system : r8169, r8125 (had to install them manually)
    • Use for : LAN
  • RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    • Identify : enp40s0
    • Bandwith : 1G
    • Driver declared by system : r8169
    • use for : WAN connection (my pfsense is a VM)
On a QNAP PCIe Card (QNAP QXG-2G2T-I225) (The Cards where the problem occurs)
  • Ethernet controller: Intel Corporation Device 15f2 (rev 02)
    • identify : enp35s0
    • Bandwith : 2.5G
    • Driver : igc
    • Use for NAS network
  • Ethernet controller: Intel Corporation Device 15f2 (rev 02)
    • identify : enp38s0
    • Bandwith : 2.5G
    • Driver : igc
    • Use for LAN bis and Management network
Here is my /etc/network/interfaces :
Code:
auto lo
iface lo inet loopback

iface enp40s0 inet manual
#Wan Interface

iface enp35s0 inet manual
        mtu 9000
#NAS Interface

iface enp38s0 inet manual
#LAN Interface

iface enp42s0 inet manual
#Non working Management Interface

auto vmbr0
iface vmbr0 inet static
#       address 192.168.5.5/24
#       gateway 192.168.5.252
        bridge-ports enp42s0
        bridge-stp off
        bridge-fd 0
#Lan Network

auto vmbr1
iface vmbr1 inet static
        address 192.168.2.5/24
        bridge-ports enp35s0
        bridge-stp off
        bridge-fd 0
        mtu 9000
        pre-up ( ifconfig enp35s0 mtu 9000 )
#NAS Network

auto vmbr2
iface vmbr2 inet manual
        bridge-ports enp42s0.6
        bridge-stp off
        bridge-fd 0
#DMZ Network 192.168.6.5/24

auto vmbr3
iface vmbr3 inet static
        address 192.168.7.5/24
        bridge-ports enp42s0.7
        bridge-stp off
        bridge-fd 0
#DCLIC Network

auto vmbr4
iface vmbr4 inet static
        address 192.168.8.5/24
        bridge-ports enp42s0.8
        bridge-stp off
        bridge-fd 0
#SASERP Network

auto vmbr5
iface vmbr5 inet manual
        address 192.168.1.5/24
        bridge-ports enp40s0
        bridge-stp off
        bridge-fd 0
#Wan Network 192.168.1.5/24

auto vmbr6
iface vmbr6 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#Guest Network 192.168.9.5/24

auto vmbr7
iface vmbr7 inet manual
        address 192.168.5.5/24
        gateway 192.168.5.252
        bridge-ports enp38s0
        bridge-stp off
        bridge-fd 0
#Management Network

here is my Versions pveversion :
Code:
pve-manager/6.2-15/48bd51b6 (running kernel: 5.4.65-1-pve)

I hope this will help you to help me. I might have done something wrong or haven't done something necessary but I really have the impression not to have done differently than usually and thing that my config is not so special. I would really appreciate your help please.
Kind regards,
 
Last edited:
Hi all, I finally found out. these QNAP Lan card use drivers that are only compatible after kernel 5.8. Before it doesn't support bridging mode.
Thanks for coming back and providing details of your resolution
 

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!