@anav (or anyone else), I’m finally starting with this configuration next week.
I’ve check out all the resources you guys have posted. Learned a lot, but I’m still far from a networking expert.
I’ve decided to ditch the “per floor” approach, since I don’t see much gain in it.
Instead I’ve tried to group devices by what they need to communicate with.
This is the plan I have so far. Please have a look at the questions, and if it makes sense overall.
I’m open for any other suggestions as well.
Some commonly used terms, in the text bellow:
- HASSIO - RPI4 running Home Assistent OS. It will also run the Rhasspy server.
- Rhasspy - local voice assistent for RPI
- “communicate with HASSIO” - means that HASSIO can read the state of the device, and send commands to it. The device itself does not have access to HASSIO
Infrastructure (VLAN 1):
I don’t know a better name of it, but basicaly these are devices that need access to everything, and have internet access.
These include:
- the 3 MikroTik routers
- HASSIO
Question 1: These should be their own VLAN, probably the default one VLAN 1, I presume?
Question 2: I still have dilemma if I should break off HASSIO into it’s own VLAN. From the firewall perspective, I’m not sure what I would gain. It has similar specifications to the routers. Needs to be able to access everything and have internet access.
Question 3: I plan to run the Rhasspy server on the same device as HASSIO, which is not ideal from the firewall perspective. The RPI will run the Rhasspy server, while I will build my own smart speakers with RPI Zeros as Rhasspy sattelites. I presume they will require to run in the same VLAN as the server. This is not ideal firewall-wise, since I don’t want all smart speakers running on this infrastructure VLAN. Does anyone have an suggestion how to configure this, maybe by some port blocking or something, other than getting a new device just to run the Rhasspy server separate from HASSIO, on the NoT VLAN. I presume that Rhasspy only needs to communicate with HASSIO, not other devices directly (e.g. a TV). It listens for commands, sends them to HASSIO, then HASSIO triggers whatever automation it needs to (on another device e.g. a TV).
NoT (VLAN 10):
These are simple devices, that only need to “communicate with HASSIO”. They don’t need to communicate with one another, or with any devices on different VLANs.
These devices are fully local, and do NOT require internet access.
These include:
- Shelly relays
- Tuya lights/light switches/curtain motors/thermostats/sensors… (if I can get them to run without Internet)
IoT (VLAN 11):
Similar to IoT, but for devices that do require internet access.
These are simple devices, that only need to “communicate with HASSIO”. They don’t need to communicate with one another, or with any devices on different VLANs.
The intention is to have a little devices here as possible, and put only devices that really can’t work without internet access.
These include:
- Vaillant boiler controller
- Tuya lights/light switches/curtain motors/thermostats/sensors… (if I can’t get them to run without Internet)
Multimedia (VLAN 20):
These are devices that need to “communicate with HASSIO” and with other devices from the same VLAN. All of them need access to NAS.
“Consumer” devices (pcs, laptops, phones) need to able to communicate with them (e.g. cast to them), but the multimedia devices shouldn’t have access to “consumer” devices.
Most of them do need internet access, although I have a dilemma here which I’ll get to in the questions.
These include:
- TV
- Nvidia Shield
- Gaming console
- AVR
- NAS
- Security cameras
- Doorbell cameras (with intercom)
Question 4: I don’t like the idea of my cameras (security or doorbell) having internet access. I plan to get all cameras with local control. I do want HASSIO to be able to stream from them to a phone or a TV remotely, but I don’t want cameras having direct internet access. Would it make more sense to split this VLAN into 2 VLANS: one with, and one without internet access.
Question 5: If I do split it into 2 VLANs, where would the NAS go? Is it normal for a NAS to have no internet access? On the other hand, if I put it on the “internet VLAN”, then the cameras would need store their feeds to a different VLAN.
Question 6: If I go with a separate device for the Rhasspy server, would it make more sense to put in here or in the NoT VLAN?
Consumer (VLAN 30):
These are the devices that need to “communicate with HASSIO”, with other devices on the same VLAN, and with all devices on the “Multimedia VLAN”.
All of them need internet access.
These include:
- PCs
- Laptops
- Phones
- Printers/Scanners
Question 7: Not a must have, but it would be nice, if I could cherry-pick device that have access to HASSIO UI (e.g. only my wired PC)
Question 8: Printers/Scanners don’t really feel like they belong here communication wise (they could be Multimedia), but for convenience I think it makes more sense to keep them here. I will be printing/scanning exclusively from Consumer devices (possibly HASSIO). I definitely don’t need to print something from a device on some other VLAN (e.g. a TV).
Guest (VLAN 40):
These are exclusively WiFi devices (mostly phones), for guests.
They need internet access, but they should not have access to any other device on the network.