Separate Linux Bridge on Same Network (Separate NICs)

ikecomp

Member
Apr 9, 2020
12
1
8
54
I'm about 95% sure I'm doing something wrong here but I'm at my wits end so I thought I would ask here

Proxmox Network Setup

5 Network Ports
- 1 integrated Realtek NIC vmbr0 (management nic on 192.168.1.x)
- Dual port intel 10 GB nic
-1 port connects directly to my NAS as vmbr1 from the proxmox host
-1 port is passed through to windows 10 VM that then connects directly to my NAS
- Dual port Realtek 1 GB nic
-1 port is passed through to windows 10 VM that functions on a separate vlan as my NVR
-1 port is setup as vmbr2 to be a separate pipe on the same 192.168.1.x network as the proxmox host (I host a local speedtest server in a Linux container on this so I want it to still be accessible to all the devices on my network but don't want it to hog the bandwidth so don't want it on vmbr0)

As it stands the only item I'm having trouble with is the one in bold. The problem I'm having is that if I leave my LXC on bridge vmbr0 everything works fine. I can run a speedtest from any device on my network. If I switch the LXC over to the vmbr2 it is no longer accessible on my network. it will show that it has the ip address I assigned in the LXC network page but it can not get out to the internet and no device on my network can ping it

vmbr2 is setup like below. I tried leaving the ip address blank in the bridge configuration and setting a static one and noticed no different with the LXC.

Code:
auto vmbr2
iface vmbr2 inet static
        address 192.168.1.129/24
        bridge-ports enp11s0
        bridge-stp off
        bridge-fd 0

I'm able to ping the 192.168.1.129 bridge ip so I know it functions on my network but the LXC still shows no network connectivity



LXC.PNG

Is it possible to have 2 linux bridges on 2 separate ports on the same network?
If so what could be wrong with my configuration that's preventing this from working?

Additional info:
LXC is ubuntu 20.04 LTS
Proxmox is 6.2-10
 
Without a bond it is not possible to use two NICs in the same subnet for the same machine.
This always leads to routing issues. You should use another subnet for the second NIC.
 
  • Like
Reactions: golem

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!