I've been running OpenWrt on a Linksys E8450 as my router/AP for several years now. I have multiple SSIDs each associated to a separate VLAN. This has mostly been great, but I'm now trying to add an additional OpenWrt AP (UniFi 6 Lite) to extend my range. After pretty much a full day of trial and error I still can't seem to get the SSIDs on the AP to give an IP address from the main router. I've been trying to do all the configuration from LuCI since it has the nice safety revert thing and all the options are listed.
To add slight complication, I have a TP-Link TL-SG108PE managed switch in between the old router and the new AP which is providing POE for the AP. I don't have a POE injector, so I can't directly connect the AP to my computer or the router.
Here is the /etc/config/network from the router (sanitized)
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 'fd32:0d63:e7ab::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option device 'br-lan.101'
option ipaddr '192.168.1.1'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option peerdns '0'
list dns '1.1.1.1'
list dns '1.0.0.1'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
config interface 'vpn'
option proto 'wireguard'
option private_key 'REDACTED'
option listen_port '51820'
list addresses '192.168.9.1/24'
list addresses 'fdf1:e8a1:8d3f:9::1/64'
config interface 'iot'
option proto 'static'
option ipaddr '172.16.0.1'
option netmask '255.255.255.0'
option device 'br-lan.103'
config interface 'guest'
option proto 'static'
option ipaddr '10.10.10.10'
option netmask '255.255.255.0'
option device 'br-lan.102'
config bridge-vlan
option device 'br-lan'
option vlan '101'
list ports 'lan1:t'
list ports 'lan2:u*'
list ports 'lan3:u*'
list ports 'lan4:t'
config bridge-vlan
option device 'br-lan'
option vlan '102'
list ports 'lan1:t'
list ports 'lan4:t'
config bridge-vlan
option device 'br-lan'
option vlan '103'
list ports 'lan1:t'
list ports 'lan4:t'
config device
option name 'lan4'
config bridge-vlan
option device 'br-lan'
option vlan '104'
list ports 'lan1:t'
list ports 'lan4:t'
config interface 'CAMS'
option proto 'static'
option device 'br-lan.104'
option ipaddr '172.16.1.1'
option netmask '255.255.255.0'
And from the AP (note that the port tagging is not enabled in this config file as every time I enable it I lose access to the AP via web interface and SSH)
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 'fd51:ff80:bc35::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.3'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option type '8021q'
option ifname 'br-lan'
option vid '101'
option name 'br-lan.101'
config device
option type '8021q'
option ifname 'br-lan'
option vid '102'
option name 'br-lan.102'
config device
option type '8021q'
option ifname 'br-lan'
option vid '103'
option name 'br-lan.103'
config device
option type '8021q'
option ifname 'br-lan'
option vid '104'
option name 'br-lan.104'
config interface 'guest'
option proto 'none'
option device 'br-lan.102'
config interface 'iot'
option proto 'none'
option device 'br-lan.103'
config interface 'CAMS'
option proto 'none'
option device 'br-lan.104'
config interface 'internal'
option proto 'none'
option device 'br-lan.101'
config interface 'admin'
option proto 'static'
list ipaddr '192.168.1.3/32'
I have tried setting the interfaces to static, DHCP, and unmanaged, I think all with the same results (though at this point it is hard for me to remember if everything I tried was tried for each protocol option).
On the managed switch, I set the port settings to be the same as the port connecting to the router.
Any suggestions for where to go from here? Bonus points if I can do it from LuCI so I can get the safe revert - if the AP becomes unreachable it is a pain to go through system recovery.