[pve-devel] [PATCH] add bridge_vlan option to brige in /etc/network/interface

Dietmar Maurer dietmar at proxmox.com
Thu Jan 2 09:15:38 CET 2014


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