I have been posting information to this forum thread in regard to a problem/patch for the network bridge configuration.<div><a href="http://forum.proxmox.com/threads/10110-New-network-configuration-with-bridge-vlan-interfaces">http://forum.proxmox.com/threads/10110-New-network-configuration-with-bridge-vlan-interfaces</a></div>
<div><br></div><div>Basically the problem with the existing configuration is if you want to utilize the vmbr0 interface as a management interface or a tagged vlan trunk to a virtual machine it stops working as soon as you start a virtual machine using a vlan tag. This is because when bringing the respective vlan bridge online it is bridging to the underlying physical interface's vlan sub interface (ex, eth0.2, bond0.3). This causes the existing bridge root interface to stop working. I verified this with tcpdump on vmbr0.</div>
<div><br></div><div>The solution is to push vlan sub interface up to the vmbr0 level. (ex. vmbr0.2 vmbr0.3) then create new vlan bridges on these sub interfaces. This enables vmbr0 to be used as a management interface and as a tagged trunk to a virtual machine as a router on stick. At the same time virtual machine vlan tags can be be used with virtual machines in Proxmox. </div>
<div><br></div><div>The only changes need for this were in the Network.pm script. </div><div><br></div><div>1) Changed the vconfig command to create a subinterface on vmbr0 instead of the underlay physical interface. </div>
<div>2) Eliminated the needs for some logic to determine what type of physical interface is under vmbr0.</div><div>3) Create virtual machine bridge as before but joined sub interface of vmbr0 to the bridge instead of the sub interface of physical interface.</div>