Help with Network Configuration

deanfourie

Member
Jan 28, 2023
55
1
8
Hi,

I am setting up Proxmox on a new machine with 6x NICS. I am getting a little confused by the networking setup.

NIC1 will be setup as a TRUNK to allow 3 vlans, vlan 10, 20 and 30.

The remainder of the interfaces will just be standalone interfaces and will be assigned using access ports on the switch for the appropriate vlan.

I have created a separate bridge for each interface, and enabled vlan-aware on vmbr0, and allowed vlans 1-4094

the config looks like this for the trunk interface and bridge.

For some reason, this setup is not working as expected. I cannot ping some interfaces and it appears I can ping other interfaces IP addresses over the trunk that are not even in the trunk (as if all interfaces are bridged.)

Also, does the bridge-fd 0 option need to be unique for each bridge?

Any ideas?

Thanks

Code:
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
iface eno5 inet manual
iface eno6 inet manual


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


auto vmbr0.10
iface vmbr0.10 inet manual


auto vmbr0.20
iface vmbr0.20 inet manual


auto vmbr0.30
iface vmbr0.30 inet manual

auto vmbr1
iface vmbr0 inet manual
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0

auto vmbr2
iface vmbr0 inet manual
        bridge-ports eno3
        bridge-stp off
        bridge-fd 0

auto vmbr3
iface vmbr0 inet manual
        bridge-ports eno4
        bridge-stp off
        bridge-fd 0

auto vmbr4
iface vmbr0 inet manual
        address 192.168.20.1/24
        bridge-ports eno5
        bridge-stp off
        bridge-fd 0

auto vmbr5
iface vmbr0 inet manual
        address 192.168.10.1/24
        bridge-ports eno6
        bridge-stp off
        bridge-fd 0

auto vmbr5
iface vmbr0 inet manual
        address 192.168.30.1/24
        bridge-ports vmbr0.30
        bridge-stp off
        bridge-fd 0
 
Last edited:
Also, does the bridge-fd 0 option need to be unique for each bridge?
No

It seems like you made a copy-paste mistake, since in your network configuration there are several lines that use vmbr0 instead of the correct bridge name:
Code:
iface vmbr0 inet manual
 

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!