In a flat network all devices can see one another, and a compromised laptop or server gives an attacker a path to the entire infrastructure. Segmentation cuts off that path: traffic between sections passes only through permitted points — firewalls and routers — where it can be inspected and, if necessary, blocked.
Why divide the network
Each segment follows its own rules: what it may access and whom it lets in. This gives four practical effects.
- Attack containment: an attacker who gains access to one segment must then overcome the defences of each further segment separately — this limits lateral movement.
- Traffic control: connections between segments are set by explicit rules — which protocols and ports are allowed; everything else is denied.
- Performance: broadcast traffic and heavy flows — backups, video surveillance — place no load on other segments.
- Compliance: payment card data is kept in a separate segment — a PCI DSS audit then covers that segment rather than the whole network.
How the network is divided: physical and logical
Segments and zones — for example, a DMZ for services reachable from the internet — are set up in two ways, often in combination.
| Approach | What is used | Considerations |
|---|---|---|
| Physical | dedicated switches, routers and firewalls for each section | Simple and reliable, but costly: every change means new hardware and new cabling |
| Logical | VLANs, subnets and addressing plans, access control lists, firewall policies | Flexible and cheaper: a VLAN divides the traffic of one physical network into isolated domains with no extra hardware |
In the cloud, virtual networks and subnets provide the same approach: in a VPC, for instance, a subnet is a unit of configuration with its own route table and traffic rules, and subnets are classed as public or private.
Micro-segmentation
Large-scale segments — buildings, departments, a DMZ — leave machines of the same purpose free to communicate inside. Micro-segmentation takes the division down to individual workloads: an application, virtual machine or container gets its own policy, and traffic between them is inspected even within one segment. This is one of the mechanisms of zero trust: NIST SP 800-207 states that resources, not segments, are what need protecting — network location no longer counts as grounds for trust in itself.
An example with isolated container networks:
docker network create app-frontenddocker network create app-backenddocker run -d --name web --network app-frontend nginxdocker run -d --name db --network app-backend postgres:16Sources
the term is written from these pages- NIST SP 800-207 — Zero Trust Architecturecsrc.nist.gov/pubs/sp/800/207/final(opens in a new tab)
- NIST SP 800-215 — Guide to a Secure Enterprise Network Landscapecsrc.nist.gov/pubs/sp/800/215/final(opens in a new tab)
- PCI SSC Glossary — Segmentationpcisecuritystandards.org/glossary/segmentation/(opens in a new tab)
Verified 9 Nov