Mgmt VLAN on Trunked - how to configure?

cja-usask

New Member
Jun 22, 2023
8
2
3
I'm installing a new host and all the ports it can connect to are trunked. Since we can't set the management interface's VLAN ID in the installation interface, I'm trying to do it by hand from the console.

I've edited /etc/network/interfaces as follows:

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet manual
    bridge-ports eno1
    bridge-stp off
    bridge-id 0
    bridge-vlan-aware yes
    bridge-vids 2083-2096
 
auto vmbr0.2095
iface vmbr0.2095 inet static
    address 10.136.240.177/23
    gateway 10.136.240.1
 
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual

What am I doing wrong here? Nothing seems to be working.

*Thanks in advance!*
 
Last edited:
Otherwise this looks fine. Maybe bad trunk configuration on the other side?
Is ip a showing a "NO-CARRIER" or something?
The hardware can handle VLANIDs as high as 2096?
 
Last edited:
Found it. I had "bridge-id" instead of "bridge-fd".

Thanks for helping me find the right track - never considered I had a typo in the config.