configuring vlans on a linux bridge for use in proxmox (not vm's)

nullmames

New Member
Oct 20, 2024
1
0
1
Hi Gang.

I have a linux bridge vmbr0 configured on a 1g interface for management (192.168.99.0/24). The switch taking this traffic uses an untagged port to translate traffic to vlan id 99 (management vlan). This works fine and is the default route for proxmox to fetch updates, etc.

I am trying to configure vmbr1 (25g link) to both; transit vlan traffic from vm's (working fine, vlan id 10 (10.0.10.0/24) specified in vm configuration on vmbr1), as well as create a vmbr1 vlan on proxmox with vlan id 100 (192.168.100.0/24) for use with ceph. When i create the linux vlan in the networking configuration, i am unable to contact the other hosts or the switch/router ip's on this subnet. I have also tried to join other vlans (10,20) which all work within vm's on this same vmbr1 bridge, but do not work when specified in proxmox networking.

My hunch is that there must be no route created in proxmox. I must confess, i am new to proxmox as well as messing with linux routes.

Bash:
$ ip route show
default via 192.168.99.1 dev vmbr0 proto kernel onlink
192.168.99.0/24 dev vmbr0 proto kernel scope link src 192.168.99.240
192.168.100.0/24 dev ceph proto kernel scope link src 192.168.100.101

Code:
# /etc/network/interfaces

auto lo
iface lo inet loopback

iface enp7s0f0np0 inet manual

iface enp7s0f1np1 inet manual

iface enp129s0f0np0 inet manual

iface enx1a0a7bbb0449 inet manual

iface enp129s0f1np1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.99.240/24
        gateway 192.168.99.1
        bridge-ports enp7s0f0np0
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp129s0f0np0
        bridge-stp on
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto ceph
iface ceph inet static
        address 192.168.100.101/24
        vlan-id 100
        vlan-raw-device vmbr1

source /etc/network/interfaces.d/*
 

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!