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

Alexandre DERUMIER aderumier at odiso.com
Wed Jul 29 11:58:49 CEST 2015


>>This does not work at all for me.

I tested your config, and it's working fine for me

#iproute2 4.0.0-1

#kernel 3.19.8-1-pve (with vlan-range patches)



simply enabling vlan filtering

echo 1 > /sys/class/net/vmbr0/bridge/vlan_filtering

should at least give you vmbr0 with default vlan 1 VID


# bridge -c vlan 
port vlan ids 
vmbr0 1 PVID Egress Untagged 




----- 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 11:18:56
Objet: Re: [pve-devel] [PATCH] add vlan aware ifupdown script v3

> #ip addr ? 
> 
> #brctl show ? 
> 

those are quite normal. 

> can you post your /etc/network/interfaces ? 

see previous post, but here it is: 

---------------- 
auto vmbr0 
iface vmbr0 inet static 
address 192.168.2.35 
netmask 255.255.240.0 
gateway 192.168.2.1 
bridge_vlan_aware yes 
bridge_ports eth0 
bridge_stp off 
bridge_fd 0 

auto vmbr0.100 
iface vmbr0.100 inet manual 
------------- 


I also tested with the "tap_plug : add support for vlan aware linux bridge" 
patch. 

the code correctly executes: 

/sbin/bridge vlan add dev tap111i0 vid 14 pvid untagged 

but I get: 

# bridge -c vlan 
port vlan ids 
eth0 1 PVID Egress Untagged 
2-4094 


# brctl show 
bridge name bridge id STP enabled interfaces 
vmbr0 8000.002590d75402 no eth0 
tap111i0 

This does not work at all for me. 


More information about the pve-devel mailing list