What I want to do:
I want to isolate my IOT devices from my primary network, but unsure of how to accomplish this. Maybe my basic setup needs to change?
My setup:
I have a GL-MT6000 / Flint 2 router with a TP-link mesh XE5300, with the primary TP-link AP connected to a Flint2 LAN port by ethernet cable. The Flint2 is acting as the router with DHCP and using both static and issued IP addresses. The TP-link mesh is in AP mode and allows clients to connect via WIFI. The WIFI radios on the Flint2 are turned off to avoid additional RF noise. All clients are getting IP addresses in a single subnet from the DHCP on the Flint2.
Questions:
With WIFI, I understand how to create unique devices/interfaces/SSIDs and give each their own DHCP IP range, even using different subnets.
How would I go about isolating clients, putting them on different subnets, that are interfacing with the router via a single LAN port that only has a single DHCP setup defined? Is this even possible?
FYI, the TP-link mesh in AP mode must have the primary AP connected to the openwrt router via ethernet.
Thank you in advance for any advice or suggestions.
How would all connecting clients on the same router LAN port be identified and known to be associated to a particular VLAN? It would seem that a list of IP or MAC addresses, to identify all IOT clients, would need to be maintained on the router.
It makes sense that segregation works via WIFI, because each client is connecting to a specific SSID.
What fundamental am I missing that is not letting me see how this works?
I am not using WIFI on the openwrt router, all radios are turned off. No SSIDs on the openwrt router. Only the TP-link mesh has the WIFI enabled. All clients connect via WIFI to the TP-link APs. All clients use DHCP of the openwrt router. The primary TP-link mesh AP is connected by an ethernet cable to a single openwrt router LAN port.
I'm trying to understand how a VLAN works, with only an ethernet cable between the TP-link primary AP to a LAN port on the openwrt router. How does openwrt know which clients to flag/tag with different VLAN IDs?
Looking at the tp-link website and how to use the DECO app for configuration, it appears that setting up a VLAN is only meant for areas where the ISP requires this to connect to the internet: https://www.tp-link.com/us/support/faq/2465/
The 2nd caveat is that this function appears to only be available when the tp-link is set to router mode, not in AP mode.
So, I believe that the tp-link mesh is not VLAN aware.
If VLANs is not an option, what other method should I be considering to isolate the IOT clients on my network? Thank you.
Your devices do not have available OpenWrt firmware.
Your TP-Links have three radios, so three guest networks. Rename one of the guest networks to whatever you want and put all your Iot devices, and only them, on the guest network and find the TP-Link equivalent of isolate clients.
Should I be concerned with IOT devices isolated on WIFI, but still all connected and able to communicate on the LAN of the router? Or does the isolation maintain even at the router?
The tp-link DECO app and APs do have a guest network and by default "Allow Local Access" is turned off. I just don't know if those restrictions are maintained only on the APs or if that follows into the router? My thought is that once the traffic reaches the LAN of the openwrt router, all devices would see/talk to each other again. The guest network of the APs don't change the fact that at the router, everything is still on the same subnet.
It seems that anyway we look at the current setup, any possible configuration to make the network secure and Isolate IOT is not going to be ideal. It also seems like the best case scenario would be having multiple WIFI 6 routers all with openwrt to do things right. Do you agree?
I went down this route recently, including adding MDNS reflector, blocking IOT from accessing Internet entirely and setting up IPv6 routing between VLANs. I wrote down some notes in this reply to my own question (I mostly figured things out myself before I got replies):
Currently the knowledge on how to do this is all spread out. You have to take guest WiFi and adapt, then add in VLANs for wired IOT devices, then set up firewall rules for forwarding the services you need, then add mdns reflector, etc
Each step isn't hard (though there are quite a few). But without a single central guide it is a bit of a pain.