Hi, i have been using Openwrt since 2020 for my "dumb" AP Setups. I recently (around April 23) switched to new WIFI6 APs (D-Link DAP X1860) and installed Openwrt as OS. Everything worked fine with my current config until i wanted to update to the newes RC (23.05.0-rc3). It seems that my Wifi-Clients can connect to the AP but dont get any ips assigned.
My network setup is like this:
WLAN-AP -> pfSense (DHCP Server)
There is one VLAN (16) for my Clients. The AP is accessable through his own address.
/etc/config/network
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 ula_prefix 'fdcd:b3cc:2792::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '172.30.0.21'
option gateway '172.30.0.254'
list dns '172.30.0.254'
list dns_search 'local'
config device
option name 'br-vlan16'
option type 'bridge'
list ports 'lan.16'
config interface 'vlan16'
option device 'br-vlan16'
option proto 'none'
Ok, will try that. But why does my old config work with the current official release (22.05.03) and stops working with 23.xx? Is the old syntax Not supported anymore?
EDIT your config works! Thx a lot can u pls still explain me why my old config doesnt work anymore with the newer releases?
All devices that contained internal switches running on OpenWrt 19.07 and earlier used swconfig for managing the switch. Starting with 21.02, OpenWrt has been migrating to DSA ("distributed switch architecture"), a few targets/platforms at a time. This is a completely different paradigm and method of addressing the internal switch chip, and it uses a completely different syntax. As such, when a given platform is transitioned to DSA, the old swconfig syntax no longer works and reconfiguration from scratch with the new method is required. Your device is likely in the 3rd wave of DSA transitions (21.02 had the first set of targets, followed by more in 22.03, and now 23.05) which is why you were able to use the old style config previously but now must use DSA.
This doesn't really compute, support for the DAP-x1860 is new - there never was an older OpenWrt version for it and its support in OpenWrt was DSA based from the start in master in early january of this year.
Thx for the explanation. Would the conversion be done automatically from the next official release or would I still have to do it manually?
@slh
I just can tell you that if i go to the firmware selector and choose the 22.03.5 release my old config works 100%. I did that a lot today
As soon as i upgrade to 23.xx it stops working. This fits exactly with what psherman and mattimat have said…
Hi thanks for the hint I was also lost how to configure VLANs. Unfortunately this does not solve all my issues. I had a config like this:
Each of the interfaces had a wireless network assigned. Now - without a bridge anymore - it looks like the wireless network does not get connected to the VLAN.