← Back to all projects

PROJECT 05 / NETWORK ENGINEERING & SECURITY

Network Infrastructure
& VLANs.

Designing and implementing a segmented enterprise-style network using OPNsense, managed switching and VLAN technology to develop practical experience in network engineering, routing and infrastructure security.

OPNsense 802.1Q VLANs TCP/IP DHCP DNS Firewall Managed Switching
PROJECT TYPE Network Engineering
STARTED November 2026
STATUS Ongoing Development
PRIMARY FOCUS Network Infrastructure
01

Project Overview

This project focuses on developing a dedicated, enterprise-style network environment within my personal IT homelab, providing practical experience in network architecture, managed switching, routing and firewall administration.

The network design uses OPNsense as the central routing and security platform, alongside a TP-Link TL-SG605E managed network switch supporting IEEE 802.1Q VLAN segmentation.

The architecture separates management, server and client infrastructure into dedicated logical networks, allowing communication to be controlled through centrally managed firewall policies.

A key design requirement is maintaining separation between the homelab and the existing household network without requiring changes to the household network infrastructure.

02

Project Objectives

03

Network Architecture

The logical architecture places OPNsense between the upstream network and the dedicated homelab environment. VLAN segmentation separates different infrastructure roles, while firewall policies control permitted communication between networks.

Upstream Network Internet connectivity
WAN Interface Upstream network connection
OPNsense Firewall Routing, NAT and firewall policies
802.1Q VLAN Trunk Tagged VLAN traffic
TP-Link TL-SG605E Managed Layer 2 network switch
Management VLAN Infrastructure administration
Management Access Authorised administrative devices
Server VLAN Enterprise infrastructure services
Domain Controller Active Directory / DNS
Ubuntu Server Enterprise file services
Client VLAN Domain workstation network
Windows 11 Pro Domain-joined workstation

Simplified logical network architecture. Internal addressing, VLAN identifiers and detailed security policies are omitted from public documentation.

04

Network Segmentation

VLAN segmentation provides logical separation between infrastructure components, reducing unnecessary Layer 2 communication and allowing access between networks to be controlled through the firewall.

Management VLAN

Dedicated network for authorised infrastructure administration and management interfaces.

Server VLAN

Dedicated network for domain controllers, Linux servers and enterprise infrastructure services.

Client VLAN

Dedicated network for domain-joined workstations accessing permitted infrastructure services.

05

Technologies & Infrastructure

OPNsense

Centralised firewall administration, network routing, NAT and traffic access control.

Managed Switching

TP-Link TL-SG605E switch providing Layer 2 connectivity and VLAN configuration.

IEEE 802.1Q

VLAN tagging, trunk connections, tagged ports, untagged ports and port VLAN identifiers.

TCP/IP & Subnetting

Logical network addressing, subnet planning, default gateways and network communication.

DHCP

Automated client IP addressing and distribution of network configuration parameters.

DNS

Internal name resolution and Active Directory service discovery across the infrastructure.

Inter-VLAN Routing

Controlled Layer 3 communication between separate logical networks.

Firewall Policies

Stateful traffic filtering and rule-based access management between network segments.

Oracle VirtualBox

Virtualised network infrastructure and enterprise server and client environments.

06

Implementation Process

STAGE 01

Network Planning

Designing the logical network architecture, identifying infrastructure requirements and planning dedicated network segments and IP addressing.

STAGE 02

Firewall Deployment

Deploying OPNsense, configuring network interfaces and establishing the foundation for routing and firewall administration.

STAGE 03

Managed Switch Configuration

Configuring the managed network switch, establishing VLAN membership and assigning tagged and untagged ports with appropriate port VLAN identifiers.

STAGE 04

VLAN & Routing Configuration

Establishing logical network interfaces, configuring subnet gateways and enabling controlled routing between network segments.

STAGE 05

Network Services

Configuring DHCP and DNS requirements to support client connectivity, internal name resolution and domain services.

STAGE 06

Firewall Access Policies

Developing firewall rules based on infrastructure requirements, allowing necessary services while restricting unnecessary network communication.

STAGE 07

Infrastructure Integration

Integrating virtual server and workstation infrastructure into the segmented network while maintaining access to required enterprise services.

STAGE 08

Testing & Documentation

Validating network connectivity, service availability, routing behaviour and firewall restrictions, followed by technical documentation.

07

Network Security Design

The network security design follows the principle of least privilege, allowing communication according to operational requirements rather than unrestricted access between networks.

Network Isolation

Restricting unauthorised communication between the homelab and existing household infrastructure.

Management Protection

Restricting administrative interfaces to authorised management devices and network segments.

Controlled Client Access

Allowing client workstations to access required server resources without unrestricted infrastructure access.

Service-Based Rules

Defining firewall permissions according to required network services, protocols and destinations.

Traffic Monitoring

Using firewall logs to investigate connection attempts, blocked traffic and network communication behaviour.

Defence in Depth

Combining network segmentation, firewall policies, host-based security and identity-based access controls.

08

Testing & Validation

The following validation areas are used to assess network functionality, security and infrastructure availability.

VLAN Connectivity

Verify that devices communicate within their assigned VLANs.

DHCP Address Allocation

Verify that clients receive the appropriate IP address, subnet mask, gateway and DNS configuration.

Inter-VLAN Routing

Validate permitted communication between separate network segments.

Firewall Restrictions

Confirm that unauthorised traffic is blocked according to configured security policies.

Household Network Isolation

Validate that unauthorised access between the household network and homelab is restricted.

Internet Connectivity

Verify permitted outbound internet access from the dedicated homelab environment.

Domain Services

Validate DNS resolution, domain authentication and Group Policy access across network segments.

Enterprise File Services

Confirm authorised access to centralised Samba file shares from client infrastructure.

Management Access

Validate authorised access to network administration interfaces and restricted access from other network segments.

09

Network Troubleshooting

The project provides a practical environment for developing structured troubleshooting techniques across multiple layers of network infrastructure.

10

Skills Developed

Network Architecture Network Engineering VLAN Configuration 802.1Q Trunking Managed Switching Inter-VLAN Routing TCP/IP Subnetting DHCP DNS OPNsense Firewall Administration Network Security Network Troubleshooting Technical Documentation
11

Future Development

Future development will focus on expanding the network infrastructure and introducing more advanced enterprise networking and security technologies.