I recently upgrade to 25.12.4. Post upgrade my DPSK wifi networks broke. The main network was working fine it was just the additional networks that broke. I also noticed that my additional networks I use for DPSK wifi now had random new brvlan interfaces showing up:
root@router:~# ifconfig | grep vlan
These interfaces randomly showed up post upgrade, they do not exist anywhere in my config.
brvlan20 Link encap:Ethernet HWaddr 94:83:
brvlan40 Link encap:Ethernet HWaddr 94:83:
brvlan50 Link encap:Ethernet HWaddr 2A:DD:
These interfaces have always existed in the working config and are ones I have built.
vlan Link encap:Ethernet HWaddr 94:83:
vlan.10 Link encap:Ethernet HWaddr 94:83:
vlan.20 Link encap:Ethernet HWaddr 94:83:
vlan.30 Link encap:Ethernet HWaddr 94:83:
vlan.40 Link encap:Ethernet HWaddr 94:83:
vlan.50 Link encap:Ethernet HWaddr 94:83:
vlan.60 Link encap:Ethernet HWaddr 94:83:
Vlan 10 is my main wifi network, 20,40,50 are the additional wifi networks. All 4 of these networks are behine one SSID and the user is placed in a network based on what password they use. This has been working great and was only briefly broken post upgrade.
After upgrading wifi kept working for vlan 10 but broke for the other 3. I did a tcpdump on the router wifi interface and I could see devices on these networks getting put in the correct vlan and was seeing DHCP discovers from them. The router was never responding to the DHCP discovers. Rebooting the router did not change anything at all. I edited my interfaces in luci and removed the vlan.xx interface, committed the config, then re-added the vlan.xx interface and committed. This resolved the issue and everything now works even after a reboot.
My question is why did these brvlan interfaces randomly apear and how can I make them go away? I think they are possibly related to my issue as these are the only networks with the problem. For reference here is my interface and wifi config.
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/18000000.wifi'
option channel 'auto'
option band '2g'
option htmode 'HE20'
option cell_density '0'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/18000000.wifi+1'
option channel 'auto'
option band '5g'
option htmode 'HE80'
option cell_density '0'
config wifi-iface 'wifinet0'
option device 'radio0'
option mode 'ap'
option ssid 'xxx'
option encryption 'psk2'
option key 'xxx'
option network 'LAN'
config wifi-iface 'wifinet1'
option device 'radio1'
option mode 'ap'
option ssid 'xxx'
option encryption 'psk2'
option key 'xxx'
option network 'LAN'
config wifi-vlan
option name 'cctv'
option network 'CCTV'
option vid '20'
config wifi-station
option key 'xxx'
option vid '20'
config wifi-vlan
option name 'iot'
option network 'IOT'
option vid '40'
config wifi-station
option key 'xxx'
option vid '40'
config wifi-vlan
option name 'guest'
option network 'GUEST'
option vid '50'
config wifi-station
option key 'xxx'
option vid '50'
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
option dhcp_default_duid 'xxxx'
config interface 'LAN'
option proto 'static'
option ipaddr '172.16.10.1'
option netmask '255.255.255.0'
option ip6assign '64'
option delegate '0'
option device 'vlan.10'
option defaultroute '0'
option ip6weight '255'
option multipath 'off'
config interface 'WAN'
option device 'eth0.0'
option proto 'dhcp'
option peerdns '0'
list dns '172.16.30.2'
option multipath 'off'
config interface 'WAN6'
option device 'eth0.0'
option proto 'dhcpv6'
option reqaddress 'force'
option reqprefix 'auto'
option peerdns '0'
option norelease '0'
option clientid 'xxxx'
option defaultreqopts '0'
option reqopts '23 82 83'
option noclientfqdn '1'
option soltimeout '120'
option sourcefilter '0'
option multipath 'off'
config interface 'OAM'
option proto 'static'
option ipaddr '172.16.30.1'
option netmask '255.255.255.0'
option delegate '0'
option ip6weight '253'
option device 'vlan.30'
option defaultroute '0'
option ip6assign '64'
config device
option name 'eth0'
option macaddr 'xxxx'
config interface 'IOT'
option proto 'static'
option device 'vlan.40'
option ipaddr '172.16.40.1'
option netmask '255.255.255.0'
option defaultroute '0'
option delegate '0'
option ip6assign '64'
option ip6weight '252'
option multipath 'off'
config interface 'GUEST'
option proto 'static'
option ipaddr '172.16.50.1'
option netmask '255.255.255.0'
option device 'vlan.50'
option defaultroute '0'
option ip6assign '64'
option delegate '0'
option ip6weight '251'
option multipath 'off'
config device
option type 'bridge'
option name 'vlan'
list ports 'eth1'
config bridge-vlan
option device 'vlan'
option vlan '10'
list ports 'eth1:t'
config interface 'CCTV'
option proto 'static'
option device 'vlan.20'
option ipaddr '172.16.20.1'
option netmask '255.255.255.0'
option defaultroute '0'
option delegate '0'
option ip6assign '64'
option ip6weight '254'
option multipath 'off'
config bridge-vlan
option device 'vlan'
option vlan '20'
list ports 'eth1:t'
config bridge-vlan
option device 'vlan'
option vlan '30'
list ports 'eth1:t'
config bridge-vlan
option device 'vlan'
option vlan '40'
list ports 'eth1:t'
config bridge-vlan
option device 'vlan'
option vlan '50'
list ports 'eth1:t'
config device
option type '8021q'
option ifname 'eth0'
option vid '0'
option name 'eth0.0'
list egress_qos_mapping '0:3'
config bridge-vlan
option device 'vlan'
option vlan '60'
list ports 'eth1:t'
config interface 'DMZ'
option proto 'static'
option device 'vlan.60'
option ipaddr '172.16.60.1'
option netmask '255.255.255.0'
option multipath 'off'