Using a SDN VNET with a VLAN already present on Proxmox

EnhancedC

New Member
Oct 4, 2023
3
0
1
On my nodes i have this

enp0s31f6 -> vmbr0 -> vmbr0.16 Proxmox Management network
vmbr0.1000 Cluster network
SDN -> lzone

Network is a VLAN SDN zone

i have working VNET on lzone
e.g.

lnet10 - VLAN 10
lnet20 - VLAN 20

Attached to this zone, which is able to communicate with devices across the network including physical devices.

However when creating lnet16 - VLAN 16, that node that it gets applied to is no longer reachable on the Management network, luckily i can still access it from the Cluster network and undo the changes.

I assume when is creates the lnet16 interface, it would need to create vmbr0.16, and therefore overwrite my own vmbr0.16 config.

Does anyone know how i can get this to work?

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface enp0s31f6 inet manual
    mtu 9000
#Root

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

iface wlp4s0 inet manual

auto vmbr0.1000
iface vmbr0.1000 inet static
    address 10.12.0.15/24
    mtu 9000
#Storage Net

auto vmbr0.17
iface vmbr0.17 inet static
    address 10.11.0.15/22
    mtu 9000
#Ceph Public

auto vmbr16
iface vmbr16 inet static
    address 10.10.0.15/22
    gateway 10.10.0.1
    bridge-ports vmbr0.16
    bridge-stp off
    bridge-fd 0
    mtu 9000

source /etc/network/interfaces.d/*


Code:
#version:19

auto lnet10
iface lnet10
    bridge_ports vmbr0.10
    bridge_stp off
    bridge_fd 0
    mtu 9000

auto lnet16
iface lnet16
    bridge_ports vmbr0.16
    bridge_stp off
    bridge_fd 0
    mtu 9000

auto lnet20
iface lnet20
    bridge_ports vmbr0.20
    bridge_stp off
    bridge_fd 0
    mtu 9000
 
Last edited:

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!