Network segmentation is the architectural practice of dividing a network into smaller, isolated sub-networks to improve security and performance. Its primary goal is the containment of lateral movement by an attacker.
Traditional segmentation operates at Layer 2 (Data Link) and Layer 3 (Network).
VLANs group devices into distinct broadcast domains. Communication between VLANs requires a Layer 3 device (Router or Firewall).
Stateless rules applied to router interfaces to permit or deny traffic based on IP/Port.
Microsegmentation is a key pillar of Zero Trust Architecture. It moves the enforcement point from the network edge to the individual workload (VM, Container, or Process).
Unlike VLANs, microsegmentation uses Tags and Metadata rather than IP addresses.
Billing-App to communicate with Billing-DB on port 5432."If a web server is compromised in a microsegmented environment, the attacker is trapped. They cannot scan the rest of the subnet because the local firewall on the compromised host (or the hypervisor) denies all traffic except that which is explicitly permitted by the central policy.
| Feature | Traditional (VLAN/Subnet) | Microsegmentation |
|---|---|---|
| Enforcement Point | Edge Firewall / Router | Host Agent / Hypervisor / CNI |
| Granularity | Network Level (10.0.1.0/24) | Application/Process Level |
| Visibility | North-South (Inbound/Outbound) | East-West (Lateral) |
| Trust Model | Implicit trust within segment | Zero Trust (Never trust, always verify) |
| Complexity | Low | High (Requires orchestration) |
In cloud-native environments (Kubernetes), microsegmentation is often implemented via a Service Mesh (e.g., Istio, Linkerd) using Mutual TLS (mTLS).
Modern security requires moving beyond the "Castle and Moat" model. Traditional segmentation provides necessary coarse-grained boundaries, but microsegmentation is required to achieve a resilient Zero Trust posture and effectively minimize the blast radius of a potential breach.