SPAM: Re: [PVE-User] how to set proxmox box to connect to trunk interface

Stefan M. Radman smr at
Tue Dec 15 00:07:47 CET 2020

Hi Leandro

Find below a network configuration, assuming that PVE resides on the native/untagged VLAN like the other VMs you did not list.
As you did not mention the IP address of the PVE host I assumed

You can either enter this in /etc/network/interfaces directly or configure it in the PVE GUI.
vmbr0 already exists, I guess, for the untagged Vlan. and is connected to en1 which used to be an untagged interface but now is a trunk, carrying the untagged traffic in addition to the tagged traffic from vlans 10 and 20.
You just need to a vmbridge for each of them, linking it to the vlan sub-interface of trunk en1.
1.Create: Linux Bridge
Name: vmbr10
Bridge ports: en1.10
Comment: access ports for VLAN 10
2.Create: Linux Bridge
Name: vmbr20
Bridge ports: en1.20
Comment: access ports for VLAN 10
That's where you hook up your VMs to.

Starting with PVE 6.1 you can apply changes without rebooting the host.
The working VMs without VLAN tags should continue to work.

I would recommend though, to reboot the host after fundamental network changes like this.

Note that I could not test the proposed config but I am running a very similar one and it has been working for years (since 5.x).



auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
bridge_ports eno1
bridge_stp off
bridge_fd 0
#PVE host and VMs on the untagged VLAN

auto vmbr10
iface vmbr10 inet manual
bridge_ports en1.10
bridge_stp off
bridge_fd 0
#access ports VLAN 10

auto vmbr10
iface vmbr10 inet manual
bridge_ports en1.20
bridge_stp off
bridge_fd 0
#access ports VLAN 20

> On Dec 14, 2020, at 14:15, Leandro Roggerone <leandro at> wrote:
> Hi guys , please taek a look to attached text file, thas is what I need to
> achieve.
> looking at official docs , couldn't find any direct example.
> Do I need to proceed with cli or is it fully done at pve gui  ?
> Should I restart the server to make it work ?
> Other:
> I have some working VMs with no vlan taggs.
> Can I proceed with this change with no outage?
> Regards.
> Leandro.
> <vlan_diag.txt>_______________________________________________
> pve-user mailing list
> pve-user at

CONFIDENTIALITY NOTICE: This communication may contain privileged and confidential information, or may otherwise be protected from disclosure, and is intended solely for use of the intended recipient(s). If you are not the intended recipient of this communication, please notify the sender that you have received this communication in error and delete and destroy all copies in your possession.

More information about the pve-user mailing list