I have a main router and 2 aux routers. Main router connects to internet, aux router #1 connects to main and aux router #2 connects to aux #1. All routers run OpenWRT 23.05
[MAIN] -- [AUX1] -- [AUX2]
I want
instead of each router defining its own subnet, to configure the AUX routers to be dumb switches, but also broadcast an AP, which will be part of the main routers subnet too (trusted, LAN).
I want each of the AUX routers to also broadcast a "GUEST" or untrusted Wifi network that I can impose restrictions on, for connecting IOT devices and untrusted guests
I want each device to be somehow addressable after the above configuration.
I want to use the AUX routers' WAN ports as an extension of the built-in switch (those routers only provide 2 LAN ports, can sometimes be limiting)
How many of the above points, which are ordered in sequence of importance would be possible to do? Can I do all 4? Can you provide configuration suggestions?
I would recommend starting with the guest wifi tutorial on the primary router. Once that is working, we can modify things slightly to connect the guest network by ethernet to the secondary routers. Those other routers will continue to operate as dubm APs, but now with VLANs and an additional SSID.
OK, I've already followed that for the AUX routers originally. So I will delete the interfaces from the AUX routers, and do that on the MAIN router. What configuration follows?
Reminder: I would like a trusted wifi AP from the AUX routers, alongside the untrusted Wifi network.
If the connections between the routers are Ethernet cable (not wireless) you would transport multiple networks over VLANs on the cables. The main router controls all the routing and firewalling so it needs to be set up first.
On the main router, we'll start with the guest network which is wifi specific. Then we'll incorporate ethernet so we can connect that new. guest network via ethernet to the other devices.
Once you have your guest wifi working on the main router, post the config for review. We'll double check that it is all correct and then recommend the changes to add ethernet. Then we'll work on the downstream devices.
Ok. Unless it is a copy paste issue, you seem to have two copies of br-lan. Delete one.
Then, add Ethernet to the guest bridge like this (we will use vlan 13)
config device 'guest_dev'
option type 'bridge'
option name 'br-guest
list ports 'eth0.13'
That is all we need to change here, and we can move onto the second device. Post your /etc/config/network file from the first AP and we'll get that configured for the VLAN. NOTE: we also need to know which port on the 2nd device is used to connect to the upstream (router) and the downstream (3rd device).