[pve-devel] [PATCH] add vlan aware ifupdown script v3

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jul 29 13:47:20 CEST 2015


The manual way works for me on my host. The /etc/network/interfaces way
doesn't. Presumably because I didn't `apt-get purge vlan`.
In my test VMs where I purged vlan and pve-manager and reinstalled the
patched pve-manager it all works fine.

What I really hate about this is the whole "Message truncated" issue, as
this doesn't only apply to the output of `bridge vlan show`, but also if
I add vlans 2-4094 to my test dummy interface dum0, both the testbridge
and dum0 interface disappear even from the output of `ip link` which
also throws that error. This is highly annoying.

On Wed, Jul 29, 2015 at 01:20:19PM +0200, Alexandre DERUMIER wrote:
> >>no 
> 
> Damn, with an empty /etc/network/interfaces
> 
> 
> #brctl addbr testbridge
> #echo 1 > /sys/class/net/testbridge/bridge/vlan_filtering
> #bridge vlan add dev testbridge vid 100 self
> 
> #bridge -c vlan
> 
> testbridge 1 PVID Egress Untagged
> 	 100
> 
> #brctl addif testbridge eth0
> #bridge -c vlan
> 
> eth0 1PVID Egress Untagged
> 	
> testbridge 1 PVID Egress Untagged
> 	 100
> 
> 
> #bridge vlan add dev eth0 vid 2-4094
> 
> eth0 1PVID Egress Untagged
>       2-4094
> testbridge 1 PVID Egress Untagged
> 	 100
> 
> 
> can you reproduce it ?
> 
> 
> ----- Mail original -----
> De: "dietmar" <dietmar at proxmox.com>
> À: "aderumier" <aderumier at odiso.com>
> Cc: "pve-devel" <pve-devel at pve.proxmox.com>
> Envoyé: Mercredi 29 Juillet 2015 12:47:32
> Objet: Re: [pve-devel] [PATCH] add vlan aware ifupdown script v3
> 
> > does it work better if you setup the ip on bridge vlan interface ? 
> 
> no 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list