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#3912 - [21.02] AP with wds is assigned the wrong vlan #8972

Closed
openwrt-bot opened this issue Jul 4, 2021 · 4 comments
Closed

FS#3912 - [21.02] AP with wds is assigned the wrong vlan #8972

openwrt-bot opened this issue Jul 4, 2021 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

ErwanMAS:

I have multiple SID on radio1 BOAT , BEACH-LOC , BEACH-EXT
2 Regular AP and 1 AP with WDS

The AP with WDS is not in the right vlan

BOAT , BEACH-LOC have right vlan , and BEACH-EXT is NOT in the right VLAN must be in VLAN 4 , same as BEACH-LOC but instead is in VLAN 1

Hardware & OS
Openwrt 21.02rc3 on Linksys 1900ACS

Output of bridge vlan
port vlan-id
lan4 2 PVID Egress Untagged
lan3 2 PVID Egress Untagged
lan2 2 PVID Egress Untagged
lan1 1
2
3
4
br-lan 2
3
4
wlan0 2 PVID Egress Untagged
wlan1 2 PVID Egress Untagged
wlan1-1 4 PVID Egress Untagged
wlan1-2 4 PVID Egress Untagged
wlan1-2.sta1 1 PVID Egress Untagged

extract of /etc/config/network
config interface 'lan'
option proto 'static'
option netmask '255.255.255.0'
option device 'br-lan.2'
option ipaddr '192.168.8.1'
option delegate '0'

config bridge-vlan
option device 'br-lan'
option vlan '4'
list ports 'lan1:t'

config interface 'PRV'
option proto 'static'
option ipaddr '192.168.18.1'
option netmask '255.255.255.0'
option defaultroute '0'
option delegate '0'
option device 'br-lan.4'

extract of /etc/config/wireless

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option macaddr '22:ff:aa:bb:22:66'
option key 'zzzzzzzzzzz'
option ssid 'BOAT'
option encryption 'psk2'

config wifi-iface 'wifinet2'
option ssid 'BEACH-LOC'
option encryption 'psk2'
option device 'radio1'
option mode 'ap'
option network 'PRV'
option key 'zzzzzzzzzzz'

config wifi-iface 'wifinet3'
option wds '1'
option ssid 'BEACH-EXT'
option encryption 'psk2'
option device 'radio1'
option mode 'ap'
option network 'PRV'
option key 'ZZZZZZZZZZ'

@openwrt-bot
Copy link
Author

ErwanMAS:

to fix i must run :

bridge v del dev wlan1-2.sta1 vid 1
bridge v add dev wlan1-2.sta1 vid 4 pvid untagged

@openwrt-bot
Copy link
Author

ErwanMAS:

so i created a file /etc/hotplug.d/net/99-Fix-Wifi-Wds as a workaround

#!/bin/sh
[ "X$ACTION" = "Xadd" -a "X$DEVICENAME" = "Xwlan1-2.sta1" ] || exit 0

bridge v del dev wlan1-2.sta1 vid 1
bridge v add dev wlan1-2.sta1 vid 4 pvid untagged

@openwrt-bot
Copy link
Author

nbd:

Please try the latest 21.02 branch or snapshot

@openwrt-bot
Copy link
Author

ErwanMAS:

I was on 21.02rc3

So I upgraded netifd from 2021-05-26-899c2a45-1 to 2021-07-14-7f24a063-1 .

And that fix the issue

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