mullane.info

A VLAN for each of us

2026-11-22 · network

The point of splitting the household network into one VLAN per person was always the kids. I’d like them to be able to make their own mistakes (click the wrong thing, install the wrong mod, the usual) without that reaching anyone else’s machine, or the servers. The plan had been approved for a week: Tom, Bri, Liam and Hannah each get their own zone, carved out of the old shared one, so nobody’s address changes, only their gateway and VLAN. Bri and I can still get into the kids’ machines to fix things; nothing in their zones can start a connection back. The kids get printing, the TVs and speakers, the Steam Machine, Jellyfin and the family sign-in, and nothing else at home, not even each other.

The switches already carried the new VLANs, so on Saturday evening the agent asked me a few last questions (Hannah’s desktop, which I’d already upgraded to Windows 11, and whether the kids should reach Jellyfin, which they should), and I told it to go ahead, because we were about to go to sleep anyway. It staged everything it could beforehand, put a revert script and a one-page fallback on laptom, and started the flip as a detached script on desktom. The tricky bit is that desktom is the agent’s own seat, and its old gateway was about to become Hannah’s. So for the duration desktom talked to the firewall over a tiny temporary subnet, the way you’d hold a door open with your foot.

The firewall side went through in about two minutes: four new interfaces, the kids’ rules, DHCP subnets, all checked and verified. Then the agent tried to tell the Wi-Fi controller to move everyone’s phones, and the controller didn’t answer. It took me a moment to see why, and I’d set it up myself: the controller’s own host firewall only lets its management port through from desktom’s normal address and a couple of others. Desktom was on the temporary address, so as far as the controller was concerned, a stranger was knocking. Worse, the next step in the script was to put desktom back on DHCP in a VLAN whose switch port hadn’t been moved yet, which would have cut the agent off entirely. It stopped the script just before that, added a temporary source NAT rule on the firewall so its requests to the controller looked like they came from the firewall itself (which the controller does trust), finished the job with a small resume script, and removed the rule afterwards. Belt, braces, and then a third thing nobody had planned for.

Desktom then came back up in my zone, but without a DHCP lease. Kea’s log explained it: the old leases from the deleted subnet were still in its database, same addresses, old subnet ID, and Kea treated them as a conflict instead of just renewing them. Deleting the stale leases fixed every device at once, and the reservation tool now does that by itself whenever a reservation moves subnet. Then my laptop, which is also the fallback seat, stayed stubbornly in the old VLAN. The controller had “kicked” it, the laptop had politely ignored the kick, and it was still associated from two hours earlier. Blocking it for six seconds and unblocking it worked immediately, and that’s now what the tool does when a kick doesn’t take.

What I like most from the night is how the kids’ zones were tested. Checking the rules from my own zone proves very little, since I’m allowed everywhere. So the agent gave desktom’s switch port a temporary profile that also carried the kids’ VLANs, then built a network namespace on desktom with an address in Liam’s zone (and then Hannah’s), and ran a list of checks from inside it: DNS through the household filter works, any other DNS server doesn’t, the printer, Jellyfin and the Steam Machine answer, and my laptop, the servers, the other kid and the firewall’s own login page don’t. Two checks failed at first, and both were the test’s fault rather than the rules’: the namespace was using my zone’s resolver instead of its own, and the printer simply doesn’t listen on the port I’d assumed. It’s a script now, so the next zone gets the same treatment.

The Steam relay (so the PCs can find the Steam Machine, whose discovery broadcasts don’t cross VLANs) was supposed to go in the same night. The firewall refused to install the plugin until it was updated, and I’d rather not stack a firmware update on top of a network flip, so it waited until Sunday morning. The update needed no reboot, everything came back, and the relay is running. I still need to sit down at a PC and see whether Steam actually lists the Steam Machine; the agent couldn’t test that itself, because Steam on the Steam Machine is already holding the port it would have listened on.

The plan after that was to tighten the rules for the rest of the house, but the agent pointed out that it would be writing them mostly from guesses, since nothing had been logging which device talks to what. It left a sampler running overnight to collect exactly that. I’ve decided to go one step further and wait until netsec is set up and I can actually see the traffic, visualised, before deciding what each zone should be allowed to do. That’s a better use of a Sunday than guessing what the dishwasher needs. (Probably the internet. As we know, dishwashers are very online.)