A Better Home Network Using UDM
Over the past few years I have accumulated a good number of Smart Home / Home Automation devices to add to the usual PCs, tablets and phones. The list now includes streaming players, smart TVs, and a host of lights, power switches & sockets, fans, cameras, and all kinds of sensors (the list goes on). Each of these is a potential entry point into a home network. This poses two challenges: one, security, and two, management.
My objective was to separate/isolate devices, allowing only what needs to connect to connect. The approach I wanted to go with is to separate the devices into their own networks (a.k.a. VLANs): computers, tablets, phones and storage in one; streaming devices like TVs, Roku, Alexas that are always connected in another; Smart Home / IoT devices in yet another; and finally one for guests. The IoT devices can actually be split into those that need to connect to the internet and those that don’t (more on this later).
Most home WiFi routers I’ve come across support at most two networks — Home and Guest. Moreover, in the quest to make things easy to use, many dumb things down to a level that makes it virtually impossible to do anything. Case in point — Google WiFi: there is no way to configure the network using a computer, one has to fiddle with an app (try setting static IP addresses for 150 devices on a phone app, Google!).
I looked around and settled on the UDM (UniFi Dream Machine). One, because it’s built on Linux, and two, because it is a “prosumer” class device, in that it allows one to build a custom home network with relative ease out of the box. It comes in two versions: the UDM and the UDM Pro. The UDM is an all-in-one solution that has the gateway, router, 4-port switch, and a WiFi access point rolled into one. The UDM Pro doesn’t have a WiFi access point and is a 1U rack-mountable device with an 8-port switch.
The price on Unifi’s web store (when I bought it over a year ago) for the UDM is $299, and the UDM Pro is going for $379.
The non-pro UDM is a good option for a less complex setup that is mostly WiFi based. The Pro version is more suitable for installations that have servers hosting virtual machines, NASes, wired WiFi access points, etc. (probably a future blog topic). Both support meshing. With the Unifi ecosystem, one can have both a wired and wireless uplink (i.e. connection from the access point back to the internet router).
I went with the non-pro version because it was an all-in-one. I have it in a mesh with a couple of UniFi BeaconHD units to extend coverage across the basement and 1st & 2nd floors. I have a managed 8-port PoE switch for my wired devices, like the NUC that hosts VMs and the QNAP NAS. One of the PoE ports connects to and powers the AC Lite AP.
This setup is a work in progress. I probably could have gone with the UDM Pro in the first place, given that I ended up getting an 8-port switch anyway — the combined cost of the UDM and the switch is more than the cost of the UDM Pro. The reason I didn’t choose the UDM Pro in the first place was to avoid the hassle of running ethernet cable to the 1st & 2nd floor (I ran some, but gave up after trying to debug network speed issues thanks to my less-than-pro wiring and crimping skills!).
(Update: this setup was later replaced entirely — see Upgrading My Home Network: Moving from UDM Base + BeaconHD to OPNsense + UniFi U6 APs.)