Please assist with configuring guest and iot vlan's device / interface on hap ac2 dumb AP.
The LAN Wifi is working fine.
DHCP and DNS is handled by the main router RPi4.
My Unifi 6 Lite AP works with all WiFi SSID's (Home LAN, Guest, IOT) correctly.
Is the network config correct?
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 ula_prefix 'fdbf:6b68:5e94::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config device
option name 'eth0'
option macaddr '74:4d:28:aa:57:e7'
config interface 'lan'
option device 'br-lan'
option proto 'dhcp'
config device
option name 'eth1'
option macaddr '74:4d:28:aa:57:e6'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0'
config switch_vlan
option device 'switch0'
option vlan '40'
option vid '40'
option ports '0t 1t 2t 3t 4t 5t'
config interface 'guest'
option proto 'none'
option type 'bridge'
config switch_vlan
option device 'switch0'
option vlan '50'
option vid '50'
option ports '0t 1t 2t 3t 4t 5t'
config interface 'iot'
option proto 'none'
option type 'bridge'