James Coates

Computer Science student. Sydney, Australia.


← Back to projects

Enterprise Home Lab — Ubiquiti UniFi Network Architecture

· James Coates

Enterprise Home Lab — Ubiquiti UniFi Network Architecture

This project documents the design, deployment, and ongoing administration of an enterprise-grade network infrastructure running within a residential environment in Sydney. Using Ubiquiti's UniFi ecosystem as the hardware backbone, the lab implements the same network segmentation, security posture, and RF engineering principles found in commercial deployments — at a scale that allows for genuine experimentation and learning.

This is not a consumer setup with default configurations. Every design decision has been made deliberately, tested against real-world failure modes, and documented as part of a broader effort to develop practical network engineering skills alongside formal study.


Hardware Stack

Routing & Switching

Wireless Infrastructure

Storage & Compute


Network Segmentation — 802.1Q VLAN Architecture

The network is divided into isolated Layer 2 segments using 802.1Q VLAN tagging. Each segment has a defined security profile and access policy.

VLAN Structure (illustrative):

This segmentation ensures that a compromised IoT device cannot traverse to the trusted LAN — a design principle that consumer routers simply cannot enforce.


Firewall Architecture — Stateful Traffic Rules

The UCG Fiber's firewall is configured with explicit, stateful Traffic Rules evaluated across three chains: LAN In, LAN Out, and Local.

Design principles:

This approach means every permitted traffic flow is a conscious decision, not a default allowance that was never reviewed.


RF Engineering — Dense Construction Challenges

The physical environment presents significant RF engineering challenges: Australian double-brick construction creates severe signal attenuation, particularly on the 5 GHz band, and the density of neighbouring networks creates significant Co-Channel Interference (CCI) on 2.4 GHz.

2.4 GHz Optimisation

5 GHz Optimisation

The result is reliable wireless connectivity throughout the building, with clients roaming seamlessly between APs as they move through different rooms.


Docker Service Architecture

Running containerised services on the TrueNAS server provides several advantages:


Smart Home Integration Challenges

One of the more technically interesting challenges has been maintaining local smart home control across VLAN boundaries. See the related case study on Homebridge VLAN integration for the full technical detail.

In summary: proprietary discovery protocols (mDNS, Bonjour, TP-Link's KLAP protocol) are fundamentally subnet-scoped. Making them work across VLANs requires a combination of mDNS reflection, explicit JSON payload configuration in Homebridge, and direct IP binding — bypassing the automatic discovery mechanisms entirely.


Skills Developed

This project has provided hands-on experience with:


Why This Matters

Building and operating this infrastructure alongside formal Computer Science study has fundamentally changed how I approach networking and security problems. The gap between understanding a concept in a lecture and actually debugging why a firewall rule isn't working as expected is enormous — and bridging that gap requires exactly this kind of hands-on work.

The lab continues to evolve. New services get added, security configurations get hardened, and every change is an opportunity to learn something the textbook doesn't cover.


← Back to projects