Re: [OpenWrt-Devel] bridge operation without physical port, 'bridge_empty'

2014-03-12 Thread Conor O'Gorman

On 12/03/14 12:54, Conor O'Gorman wrote:

I'm trying to get a 'virtual' bridge up to support vlan tagging. But I
am having great difficulty in making this work. I tried trunk for the
'bridge_empty' setting, but it's not doing it for me.

Can I use some other sort of dummy interface to force it up?



Kernel veth module is working in this setup. But it seems like a hack.

Thanks,
Conor
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] bridge operation without physical port, 'bridge_empty'

2014-03-12 Thread Conor O'Gorman

Hi,

I'm trying to get a 'virtual' bridge up to support vlan tagging. But I 
am having great difficulty in making this work. I tried trunk for the 
'bridge_empty' setting, but it's not doing it for me.


Problem is with 'br-lan' not wanting to change to up state:

config interface 'lan'
option type 'bridge'
option bridge_empty '1'
option proto 'none'
option auto '1'

config interface 'vlan10'
option type 'bridge'
option ifname 'wlan0 br-lan.10'
option proto 'none'
option auto '1'

config interface 'vlan20'
option type 'bridge'
option ifname 'wlan0-1 br-lan.20'
option proto 'none'
option auto '1'

The vlan bridges work and do the tagging. If eth0 is added into br-lan, 
that works as a trigger to bring it up.


Am I missing something in the config?

Can I use some other sort of dummy interface to force it up?

Thanks,
Conor
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel