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

Alexandre DERUMIER aderumier at odiso.com
Wed Jul 29 14:08:59 CEST 2015


>>both the testbridge 
>>>>and dum0 interface disappear even from the output of `ip link` which 
>>>>also throws that error. This is highly annoying. 

>>I have seen that too :( 
maybe
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fed0a159c8c5e453d79d6a73897c576efea0a8a5
"bridge: fix link notification skb size calculation to include vlan ranges"

?


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "Wolfgang Bumiller" <w.bumiller at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 29 Juillet 2015 13:59:15
Objet: Re: [pve-devel] [PATCH] add vlan aware ifupdown script v3

both the testbridge 
>>and dum0 interface disappear even from the output of `ip link` which 
>>also throws that error. This is highly annoying. 

I have seen that too :( 




----- Mail original ----- 
De: "Wolfgang Bumiller" <w.bumiller at proxmox.com> 
À: "aderumier" <aderumier at odiso.com> 
Cc: "dietmar" <dietmar at proxmox.com>, "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mercredi 29 Juillet 2015 13:47:20 
Objet: Re: [pve-devel] [PATCH] add vlan aware ifupdown script v3 

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 
_______________________________________________ 
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