Udemy
VLAN con OPNsense®: progettazione e configurazione
VLANs with OPNsense — designing a segmented network: managed switches, inter-VLAN routing and firewall rules.
As a network grows, computers, wireless devices and video surveillance have different needs. The course explains why VLANs work, how traffic really travels and what role the switch and the firewall play, then builds a concrete project with three separate networks: computers, wireless and video surveillance. A managed switch and OPNsense are configured and everything is verified.
- Level
- Intermediate
- Course language
- Italian
- Lessons
- 34
- Duration
- 5 hours
- Last updated
- August 23, 2026
Prerequisites
- The course starts from VLAN basics.
- To reproduce the project you need a managed switch and an OPNsense firewall.
Learning objectives
- Understand what a VLAN is and how it relates to broadcast domains and IP subnets.
- Follow a frame's path: PVID, 802.1Q, tagged and untagged, access and trunk ports.
- Create VLANs in OPNsense, with DHCP for each VLAN using Kea DHCP.
- Configure the switch, device ports and the trunk to the firewall.
- Manage inter-VLAN routing and the essential firewall rules.
- Troubleshoot the most common errors and design a VLAN network that grows.
Course programme: 34 lessons
Lesson titles translated from Italian.
Section 1 — Why VLANs exist
- L1Why separate a network
- L2What a VLAN really is
- L3VLANs and the broadcast domain
- L4VLANs and IP subnets are not the same thing
Section 2 — How VLANs travel
- L5The client sends a normal Ethernet frame
- L6PVID: what happens when the frame enters the switch
- L7IEEE 802.1Q and the VLAN ID
- L8Tagged and untagged: the frame's full path
- L9Access ports and trunks
Section 3 — VLANs across the network
- L10One backbone, several VLANs
- L11The same VLAN across several switches
- L12MAC address table and forwarding in VLANs
Section 4 — Designing our VLAN network
- L13Unknown unicast, flooding and broadcast in VLANs
- L14How do different VLANs communicate? Inter-VLAN routing
- L15Membership, tagged, untagged and PVID
Section 5 — Building the VLAN network
- L16Creating VLANs in OPNsense
- L17Assigning and configuring VLAN interfaces
- L18DHCP for each VLAN with Kea DHCP
- L19Creating VLANs on the switch
- L20Configuring device ports
- L21Configuring the trunk to OPNsense
- L22The network we have built
Section 6 — Inter-VLAN routing and traffic control
- L23Why two VLANs do not communicate directly
- L24The role of the default gateway
- L25How OPNsense performs inter-VLAN routing
- L26Routing and firewalling are not the same thing
- L27Essential firewall rules for VLANs
- L28A real inter-VLAN routing test
Section 7 — VLAN troubleshooting
- L29A systematic method to diagnose VLANs
- L30The most common VLAN errors: reading the symptoms
Section 8 — Designing a VLAN network that grows
- L31Extending VLANs across several switches
- L32VLANs across several racks: designing a network that grows
- L33Designing and documenting a VLAN network
- L34VLANs with OPNsense: the foundations we have built
Enrolment, price and access to the lessons are managed by Udemy.
To go further in writing: OPNsense® in Practice — Volume 1: The Foundations of a Professional Journey · LOCAL AREA NETWORKS (LAN) — Volume 3: Switching, VLANs, and Business Networks