At a customer I/we try to set up a D-Link DAP 2610 with OpenWRT 21.02.
I have a CI/CD pipeline set up and can successfully build images with my specific config and set of packages. These images can be flashed and boot/run.
I get LAN access over cable: VLAN 1 untagged on eth0, DHCP ... I can access Luci.
Now I try to set up VLANs for Wifi. I browsed the forum, wiki, youtube videos .. and fiddle with bridge vlan filtering etc.
See my current wip:
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
config device 'device1'
option name 'mainbridge'
list ports 'eth0'
option type 'bridge'
option macaddr '0e:f1:05:e4:1d:80'
option ipv6 '0'
option mtu '1492'
config bridge-vlan 'bridge_vlan2'
option device 'mainbridge'
list ports 'eth0:u*'
option vlan '1'
config interface 'ifdhcp'
option proto 'dhcp'
option device 'mainbridge.1'
config bridge-vlan 'bridge_vlan1'
option device 'mainbridge'
list ports 'eth0:t'
option vlan '11'
config device
option name 'eth0'
option macaddr '0e:f1:05:e4:1d:80'
option mtu '1492'
config interface 'TestVLAN11'
option proto 'dhcp'
option device 'mainbridge.11'
config bridge-vlan
option device 'mainbridge'
option vlan '12'
list ports 'eth0:t'
config interface 'vlan12'
option proto 'dhcp'
option device 'eth0.12'
The DAP-2610 has only one ethernet-interface eth0
, I try to add it to a bridge or not .. I never get a DHCP-lease on my test-interface(s) for the VLANs 11 and 12.
When I started with this hardware, the support wasn't too good and setting up VLANs required swconfig-magic under the hood (I can look up my postings and link to them if helpful). From the wiki I assumed that now this might be fixed in the latest firmware from upstream.
btw: I also flashed the official snapshot to make sure I don't have something wrong in my own images.
Maybe I only have some misunderstanding how things work and it's only something small ... could need some help here.
And yes: I double-checked the involved switches etc:
the port delivers VLANs 1u, 11t, 12t and is a TRUNK (2 switches between the AP and the pfsense-router).
Addon:
Back then I tried a config as mentioned in:
but as far as I understand the new DSA config is different and that won't help?