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

Alexandre DERUMIER aderumier at odiso.com
Wed Jul 29 12:40:13 CEST 2015


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

>>Why is there no entry for eth0?

Just have done a test with only a standalone bridge



does it work better if you setup the ip on bridge vlan interface ?


auto vmbr0
iface vmbr0 inet manual
        bridge_vlan_aware yes
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr0.100
iface vmbr0.100 inet static
        address 192.168.2.35
        netmask 255.255.240.0




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

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

same versions here 

> 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 

Why is there no entry for eth0? 


More information about the pve-devel mailing list