VLANs are often mistakenly thought of as a security boundary, but they’re really just a broadcast domain separator.

Let’s see how this plays out in a typical network. Imagine a switch where we’ve configured two VLANs: vlan10 for servers and vlan20 for workstations.

# Switch Configuration Snippet

interface GigabitEthernet1/0/1
 description Server 1
 switchport mode access
 switchport access vlan 10

interface GigabitEthernet1/0/2
 description Workstation A
 switchport mode access
 switchport access vlan 20

interface GigabitEthernet1/0/3
 description Workstation B
 switchport mode access
 switchport access vlan 20

interface GigabitEthernet1/0/4
 description Server 2
 switchport mode access
 switchport access vlan 10

interface Vlan10
 ip address 192.168.10.1 255.255.255.0
 description Server VLAN

interface Vlan20
 ip address 192.168.20.1 255.255.255.0
 description Workstation VLAN

In this setup, a device on GigabitEthernet1/0/2 (Workstation A, in vlan20) cannot directly communicate with a device on GigabitEthernet1/0/1 (Server 1, in vlan10) at Layer 2. They are in different broadcast domains. If Workstation A sends a broadcast ARP request for an IP address in the vlan10 subnet, that broadcast will be confined to vlan10 and will not reach Server 1.

However, if we have a router or a Layer 3 switch configured with interfaces for both Vlan10 and Vlan20, traffic between these VLANs can flow.

# Router Configuration Snippet

interface Vlan10
 ip address 192.168.10.1 255.255.255.0
 no shutdown

interface Vlan20
 ip address 192.168.20.1 255.255.255.0
 no shutdown

ip routing

With this router in place, Workstation A (192.168.20.x) can now send traffic to Server 1 (192.168.10.x). The router acts as the gateway for both subnets. This is where the misconception about VLANs providing security arises. They isolate broadcast traffic, but once you introduce routing, you’ve opened the door for inter-VLAN communication.

The real problem VLANs solve is reducing the size of broadcast domains. In a large, flat network, a single broadcast can overwhelm many devices. By segmenting the network into smaller VLANs, we limit the scope of these broadcasts, improving overall network performance.

This is where the concept of network segmentation truly comes into play, moving beyond just broadcast domains. The goal is to divide the network into smaller, isolated zones to limit the blast radius of a security incident.

Zero Trust is a security model that operates on the principle of "never trust, always verify." It assumes that threats can exist both outside and inside the network perimeter. Instead of relying on a traditional perimeter-based security model, Zero Trust requires strict identity verification for every person and device trying to access resources on a private network, regardless of whether they are sitting inside or outside the network perimeter.

Microsegmentation is a technique that implements Zero Trust principles at a granular level. While traditional segmentation might divide a network into broad zones (like DMZ, internal, guest), microsegmentation breaks down these zones into much smaller, even down to individual workloads or applications. Each workload becomes its own security perimeter, and policies are applied to control traffic flow between these tiny segments.

Consider an application with three tiers: a web server, an application server, and a database server. In a microsegmented environment, you wouldn’t just put them in the same VLAN or even a single "application VLAN." Instead, you’d define specific policies that only allow the web server to talk to the app server on specific ports (e.g., TCP 8080), and only the app server to talk to the database server on its specific port (e.g., TCP 3306). All other traffic between these tiers would be blocked by default.

This fine-grained control is typically implemented using host-based firewalls or network-based security solutions that can enforce policies at the workload level, regardless of the underlying network topology or IP addresses. Tools like VMware NSX, Cisco Tetration, or even host-based firewall rules managed by configuration management systems can achieve this.

The most surprising truth about microsegmentation is that it often doesn’t require a complete network re-architecture or a wholesale rip-and-replace of your existing infrastructure. Modern solutions can overlay microsegmentation policies onto existing VLANs and IP subnets, allowing for a phased adoption. The enforcement point can be a virtual firewall at the hypervisor level, a host-based agent, or a dedicated appliance, but the logic is about defining allowed communication paths between specific workloads, not about physically isolating them into separate IP subnets.

The next challenge after implementing microsegmentation is managing and automating the creation and enforcement of these granular policies at scale, especially in dynamic cloud environments.

Want structured learning?

Take the full Infrastructure Security course →