Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3900 - Incorrect VLAN configuration after DFS event when using VLAN-aware bridge #8985

Closed
openwrt-bot opened this issue Jun 23, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

janhoffmann:

After a DFS event, the VLAN ID is not set correctly on the bridge.
(Maybe this is related to FS#2396)

Here is the output of "bridge vlan" after a DFS event:
//wlan0// is 2.4 GHz and //wlan1// is 5 Ghz. Both are configured identically, so the VLAN configuration should be the same for both.
However, after a DFS event the VLAN config is no longer set correctly for the bridge ports of //wlan1//. The //wlan0// bridge ports show how the configuration should be.
# bridge vlan
port vlan-id
eth0 20
30
31
eth1 20
30
31
br-lan 20
30
31
wlan0 20 PVID Egress Untagged
wlan0-1 30 PVID Egress Untagged
wlan1 1 PVID Egress Untagged
wlan0-2 31 PVID Egress Untagged
wlan1-1 1 PVID Egress Untagged
wlan1-2 1 PVID Egress Untagged

Example Configuration:

Here is a subset of my configuration (omitted everything related to VLANs 30 and 31, the configuration is basically the same as for VLAN 20):

/etc/config/network:
config interface 'lan'
option device 'br-lan.20'
option proto 'static'
option ip6gw '2001:db8::1'
list ip6addr '2001:db8::10/64'

config interface 'lanauto'
option device '@lan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'no'

config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'eth1'

config bridge-vlan
option device 'br-lan'
option vlan '20'
list ports 'eth0:t'
list ports 'eth1:t'

/etc/config/wireless:
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path '[...]'
option htmode 'HT20'
option txpower '10'
option channel '6'
option country 'DE'
option channels '1-11'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ieee80211w '1'
option ssid 'OpenWrt'
option key 'mysupersecretpassphrase'
option encryption 'psk2+ccmp'

config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11a'
option path '[...]'
option htmode 'VHT80'
option txpower '20'
option channel '116'
option country 'DE'
option channels '36-48 100-140'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ieee80211w '1'
option ssid 'OpenWrt'
option key 'mysupersecretpassphrase'
option encryption 'psk2+ccmp'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant