Course image: VLAN con OPNsense®: progettazione e configurazione Udemy
Firewalls & Network Security Published

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

  1. L1Why separate a network
  2. L2What a VLAN really is
  3. L3VLANs and the broadcast domain
  4. L4VLANs and IP subnets are not the same thing

Section 2 — How VLANs travel

  1. L5The client sends a normal Ethernet frame
  2. L6PVID: what happens when the frame enters the switch
  3. L7IEEE 802.1Q and the VLAN ID
  4. L8Tagged and untagged: the frame's full path
  5. L9Access ports and trunks

Section 3 — VLANs across the network

  1. L10One backbone, several VLANs
  2. L11The same VLAN across several switches
  3. L12MAC address table and forwarding in VLANs

Section 4 — Designing our VLAN network

  1. L13Unknown unicast, flooding and broadcast in VLANs
  2. L14How do different VLANs communicate? Inter-VLAN routing
  3. L15Membership, tagged, untagged and PVID

Section 5 — Building the VLAN network

  1. L16Creating VLANs in OPNsense
  2. L17Assigning and configuring VLAN interfaces
  3. L18DHCP for each VLAN with Kea DHCP
  4. L19Creating VLANs on the switch
  5. L20Configuring device ports
  6. L21Configuring the trunk to OPNsense
  7. L22The network we have built

Section 6 — Inter-VLAN routing and traffic control

  1. L23Why two VLANs do not communicate directly
  2. L24The role of the default gateway
  3. L25How OPNsense performs inter-VLAN routing
  4. L26Routing and firewalling are not the same thing
  5. L27Essential firewall rules for VLANs
  6. L28A real inter-VLAN routing test

Section 7 — VLAN troubleshooting

  1. L29A systematic method to diagnose VLANs
  2. L30The most common VLAN errors: reading the symptoms

Section 8 — Designing a VLAN network that grows

  1. L31Extending VLANs across several switches
  2. L32VLANs across several racks: designing a network that grows
  3. L33Designing and documenting a VLAN network
  4. L34VLANs with OPNsense: the foundations we have built

All video courses

OPNsense® is a registered trademark. Alba Technology does not represent the OPNsense project.