I am trying to connect this test SSID to a vlan on my network. This AP mode not full router. The client can connect to ssid but fails to get IP address from dhcp. I can see packets from other devices on vlan 100 in a tcpdump but I see no dhcp packets from the wifi client.
This is a packet on vlan 100 from a wired ruku device so I know the vlan is tagged correctly on the switch port facing openwrt ap
root@OpenWrt:~# tcpdump -i lan -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lan, link-type EN10MB (Ethernet), capture size 262144 bytes
18:09:39.797947 88:de:a9:19:2d:1c (oui Unknown) > 01:00:5e:00:00:fb (oui Unknown), ethertype 802.1Q (0x8100), length 98: vlan 100, p 0, ethertype IPv4, 10.100.0.50.5353 > 224.0.0.251.5353: 0 SRV (QU)? Roku Premiere ._airplay._tcp.local. (52)
network config
root@OpenWrt:~# cat /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 'fde6:a3e2:84f3::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config interface 'lan'
option device 'br-lan'
option proto 'dhcp'
config device
option name 'eth0'
config device
option name 'lan'
config interface 'intvl50'
option proto 'none'
option device 'vlan-br.50'
config device
option type 'bridge'
option name 'vlan-br'
list ports 'lan'
config bridge-vlan
option device 'vlan-br'
option vlan '50'
list ports 'lan:t'
config bridge-vlan
option device 'vlan-br'
option vlan '101'
list ports 'lan:t'
config bridge-vlan
option device 'vlan-br'
option vlan '100'
list ports 'lan:t'
config interface 'intvl100'
option proto 'none'
option device 'vlan-br.100'
config interface 'intvl101'
option proto 'none'
option device 'vlan-br.101'
wifi config
config wifi-iface 'default_radio1'
option device 'radio1'
option mode 'ap'
option ssid 'zap-test'
option encryption 'psk2'
option key 'xxxxxxxxx'
option network 'intvl100'
hardware = ZyXEL NWA50AX
version = OpenWrt 22.03.3 r20028-43d71ad93e / LuCI openwrt-22.03 branch git-22.361.69894-438c598