Proxmox setup vlan tag for management interface

FuTe77

New Member
Jan 22, 2024
2
0
1
Hi all,

I am currently setting up a Proxmox on a recovery location
However, my supplier who manage the network needs me to tag the vlan I use to manage the proxmox in order to let packet pass through the switchs (the port is carrying several VLANs)

I have read a lot online documentation on both debian and proxmox, and I find out that I "only have to modify the /etc/network/Interfaces" files to make it work

my problem it that it does not

Here is the content of the inerfaces file :
Code:
auto lo
iface lo inet  manual

iface eno08303 inet manual

auto vmbr0
iface vmbr0 inet static

    address 10.75.215.15/24
    gateway 10.75.215.1
    bridge-ports eno08303
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 215

iface eno08403 inet manual

iface eno12399 inet manual

iface eno12409 inet manual

do I have to load any module for that ?

I have another device on the same network that is reachable from the outside

Symptoms :
I can't reach the server by distance :
- ping does not work through the VPN
- https does not work through the VPN
- locally I can't ping the gateway
 
An example from one of my hosts.

This gives an interface named "Management" on VLAN 27.

In the Web UI "Management" is a "Linux VLAN" interface.

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

iface enp3s0 inet manual

iface enp4s0 inet manual

iface enp5s0 inet manual

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

auto Management
iface Management inet static
    address 10.42.27.26/24
    gateway 10.42.27.11
    vlan-id 27
    vlan-raw-device vmbr0
 
An example from one of my hosts.

This gives an interface named "Management" on VLAN 27.

In the Web UI "Management" is a "Linux VLAN" interface.

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

iface enp3s0 inet manual

iface enp4s0 inet manual

iface enp5s0 inet manual

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

auto Management
iface Management inet static
    address 10.42.27.26/24
    gateway 10.42.27.11
    vlan-id 27
    vlan-raw-device vmbr0

another possible syntax:

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

auto vmbr0.27
iface vmbr0.27 inet static
    address 10.42.27.26/24
    gateway 10.42.27.11