Trying to create a bridge with two legs

I am trying to configure a bridge with 2 legs:

# cat /etc/config/network
config interface 'bb'
	option auto '1'
	option enabled '1'
	option igmp_snooping '1'
	option mtu '1500'
	option proto 'none'
	option stp '0'
	option type 'bridge'
	option ifname 'wlan1 eth0.3170'

Interface eth0.3170 gets created and gets added as a leg to the br-bb bridge, if I invoke brctl show, it shows up one of the two legs (eth0.3170), but it lacks the wlan1 leg:

# brctl show 
bridge name	bridge id		STP enabled	interfaces
br-bb		7fff.0015619853a7	no		eth0.3170

Do you know why this leg is not added? Is it possible it's related to the fact it's a wireless interface? What am I missing here to make this bridge working?

1 Like

What @vgaetera said. Do not list wifi interfaces in the /etc/config/network configuration. Add your wifi AP to the br-bb bridge with option network 'bb' in its block in /etc/config/wireless.

1 Like

It worked for me, thank you very much.

It's actually more than "recommanded". If you want your bridge to work. I guess somehow that the wiki documentation should be changed to reflect that. Isn't it?:slight_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.