So in the process of moving my IOT devices to its own VLAN, I ended up moving all of my endpoint devices onto its own VLAN as well, on a separate network than my servers. storage and networking infrastructure.
Originally this started off with just the wifi devices on the new VLAN but after I was done doing that, it just felt like some wired devices had to be moved too, the ones that weren’t a server per se.
You could argue this was a useless endeavour since all the devices have access to the servers and vice versa. It just feels cleaner. There’s probably a better technical reason I can’t think of right now.
So after I setup the devices VLAN and pointed the SSID at it, the wired devices became my next target. There were a couple of wired PCs that was obviously going on the new VLAN, but they were connected to a Fortinet switch in another room instead of the Meraki stack. So I had to log into that switch, create the VLANs/descriptions, and apply the corresponding VLANs to the physical switchports. Those went easy enough surprisingly.
It was when I got to my HTPC that I ran into some learning opportunities. In reality, the HTPC also functioned as a Hyper V server where one of my DNS servers resided. The server had to be on the server VLAN (cuz of its IP address) while the HTPC technically should be on the devices VLAN.
Long story short, there are a couple ways of doing this. In the end I put the switchport in trunk mode, with no native VLAN declared. Then in Hyper V Manager, set the virtual switch to the devices VLAN. Then in the VM settings, set the VLAN ID to the server VLAN.
The other way works as well I think. If you set the native VLAN for the trunk port, then you don’t need to declare a VLAN ID on the virtual switch. And you just set the VLAN ID on the VM.