I have a question related to VLANs & how to manage my network.
It's not directly related to openwrt, but some openwrt devices are involved in.
I have created a dedicated AP on my openwrt dumb AP to handle IoT (ip camera and others), separated from my LAN.
The VLAN goes to my router (sharing cable with LAN) and connexion between VLAN & LAN goes by the router management (firewall etc..) I use opnsense here.
my point is that all the video flow from cameras goes through the router to reach my NAS on the LAN.
Do you think I could "shortcut" my router by setting a VLAN path through my switch from camera to NAS (setting NAS port as untagged).
Here is a "schematic":
> [ router LAN+VLAN5]----------[LAN+Tagged VLAN switch LAN]--------[NAS] > [ Tagged VLAN]--------[VLAN Openwrt AP]----Y wifi to camera > [ ] > [ LAN]--------[my PC]
So today, each connexion from NAS or PC to camera goes through the routeur.
I don't mind for PC to camera: it's sporadic, for management.
Do you think I could do something like this :
[router LAN+VLAN5]----------[LAN+Tagged VLAN) (LAN+Untagged VLAN]--------[NAS] [ Tagged VLAN]--------[VLAN Openwrt AP]----Y wifi to camera [ switch ] [ LAN]--------[my PC]
The idea is that camera to NAS will goes directly through the switch, not through the routeur.
By using untagged port to NAS, I would expect the NAS does not need to care about VLAN.
Still my PC will go through the routeur to reach the camera, but it's no problem.
Coud this work ?