Promox Official VLAN Method

sdfsdfsdfsdf

Active Member
Oct 21, 2015
6
1
43
I've setup a few proxmox setups using vlans, and found three or four methods to setting up vlans.

I've not been able to find documentation on the official method of setting up vlans.

Before I would setup bridges in the networking tab for the server using eth0.<vlan> and then pass those to my guests.

I've not tried using the vlan tag inside the guest's network interface, but I had passed the entire bridge to the guest, and relied upon it to handle the vlans (This resulted in the guest being unable to communicate via vlans from time to time).

The other method of course is to setup the eth0.<vlan> interface in the interfaces file and reboot.

We just setup Proxmox 4 and was trying it out, went to create a new bridge and add eth0.<vlan> to it's ports and was greeted by a "port not found" error message.

Whats the official way I'm suppose to be adding vlans to guests?

Thanks,

Jeff
 
Last edited:
Simply configure the VLAN ID one the GUI for the VM/CT network device.

Yes but in previous versions, it was possible to define a bond, say :

auto bond1
iface bond1 inet manual
slaves eth7 eth9
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer2+3
mtu 9000

Than create a vmbr like this :

auto vmbr0
iface vmbr0 inet static
address 192.168.203.1
netmask 255.255.255.0
bridge_ports bond1.2003
bridge_stp off
bridge_fd 0

And continue create tagged vmbr via GUI.

Now, in pve4, it becomes impossible to remove any vmbr with a /etc/network/interfaces from pve 3.4 :
Error 500 : unable to find bond port bond1.2003...

Is it to say that tagged vmbr are not only deprecated but not anymore supported?

And what about the "vlan aware" check box when creating a new bridge?
And about "source" or "source-directory"' directives?

We need some docs...

Thanks,

Christophe.
 

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!