[pve-devel] [PATCH] add bridge_vlan option to brige in /etc/network/interface
Alexandre DERUMIER
aderumier at odiso.com
Thu Jan 2 10:35:38 CET 2014
>>How does this interact with standard VLAN setting on bridge port?
>>For example when you have 'ports eth0.10 eth0.11'?
This shouldn't break, but I think that packet will be rettaged with vlan10/11 by the eth interface.
Maybe can we add a better regex for eth*|bond*|wlan* ? (I'm not too expert with regex in bash)
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com
Envoyé: Jeudi 2 Janvier 2014 09:15:38
Objet: RE: [pve-devel] [PATCH] add bridge_vlan option to brige in /etc/network/interface
> + if [ "$MODE" = "start" ] && [ -d /sys/class/net/$IFACE/brif/$port ]; then
> + #we allow vlan to pass through attached interface
> + if [ -n "$IF_BRIDGE_VLAN" ]
> + then
> + case "$port" in
> + eth*|bond*|wlan*)
> + bridge vlan add dev $port vid $IF_BRIDGE_VLAN
> + ;;
> + esac
> + fi
> + fi
> + done
> +done
How does this interact with standard VLAN setting on bridge port?
For example when you have 'ports eth0.10 eth0.11'?
More information about the pve-devel
mailing list