A network segmentation diagram is a map that divides a network into isolated zones, such as a DMZ, internal network and database zone, and shows which traffic may cross each firewall boundary. It helps teams contain breaches, enforce least privilege and prove compliance. The best diagrams use three layers, clear zone names, and arrows for allowed traffic only.
Key takeaways
- A segmentation diagram maps zones and allowed traffic, not every cable and device.
- Use three layers — frontend, middleware and backend — with a firewall between each one.
- Draw allowed traffic only, label every crossing, and test the diagram against real firewall rules.
A network segmentation diagram is the map that stops a single compromised laptop from becoming a full breach. It shows, on one page, where traffic may go, where it must stop, and which firewall stands in between.
What is a network segmentation diagram?
A network segmentation diagram is a drawing that divides a network into isolated zones and shows the traffic allowed between them. Each zone is a box, each firewall is a boundary, and each arrow is a permitted connection.
Segmentation is the core of defense in depth, according to the OWASP network segmentation cheat sheet. If an attacker compromises a public web server, segmentation should stop them from reaching the database behind it.
The diagram is not a wiring map. It does not need every cable, switch port or printer. It needs the security boundaries: zones, firewalls, and the flows that cross them.
Teams use it for design, for incident response, and for audits. During an incident, a responder can see in seconds which zones are affected and which firewall rules to check first.
How do you read a network segmentation diagram?
Read a segmentation diagram from the outside in: internet, outer firewall, DMZ, inner firewall, internal network, then the most protected zone. Every crossing of a box border means crossing a firewall.
OWASP makes this rule explicit: crossing the border of a rectangle means crossing a firewall. That is why diagrams use nested boxes rather than a flat list of devices.
Arrows matter more than icons. An arrow from the web zone to the database zone, labeled with a port such as 5432, means that one flow is allowed. The absence of an arrow means the flow is blocked.
Check the labels on each arrow. A good diagram names the source, destination, port and protocol, for example "web server to database, TCP 5432". A diagram with unlabeled arrows is a guess, not a control.
What are the three layers in a segmentation diagram?
OWASP recommends at least three security zones for a developed system: frontend, middleware and backend. Frontend holds public-facing services, middleware holds application logic, and backend holds databases and secrets.
The frontend zone contains the load balancer, web application firewall, web server and web cache. These are the only systems that need to face the internet directly, and they sit in the DMZ.
The middleware zone contains web applications, authorization services, analytics, message queues and stream processing. It talks to the frontend on defined ports and to the backend only where the application needs data.
The backend zone contains the SQL database, LDAP or domain controller, key storage and file server. Nothing in the frontend should reach the backend directly. If a web server is compromised, the attacker should hit a firewall, not a database.
OWASP also splits the DMZ into inbound and outgoing parts. Inbound hosts services reachable from the internet, protected by a WAF. Outgoing hosts services that can reach the internet but cannot be reached from it.
What are the main types of network segmentation?
The main types are physical, logical and microsegmentation. Most real networks combine all three, using physical separation where it matters most and logical controls everywhere else.
| Type | How it works | Best for | Trade-off |
|---|---|---|---|
| Physical | Separate switches, routers and cabling | OT, high-security zones | Costly and rigid |
| Logical (VLAN / subnet) | VLANs and subnets on shared hardware | Most offices and data centers | Misconfig can leak traffic |
| Firewall-based | Firewalls filter traffic between zones | Zone boundaries everywhere | Needs rule discipline |
| Software-defined | SDN policies, central control | Cloud and virtual networks | Depends on the platform |
| Microsegmentation | Policies per workload or app | Data centers, zero trust | More policies to manage |
Physical segmentation gives the strongest isolation, which is why CISA guidance uses it to separate operational technology from IT networks. Logical segmentation is more flexible and cheaper, using VLAN tagging under IEEE 802.1Q to isolate traffic at Layer 2 on shared switches.
Microsegmentation is the finest grain. Under NIST SP 800-207, zero trust assumes the network is already compromised, so access is granted per workload and per request, not per network. That is microsegmentation in practice.
What symbols should a segmentation diagram use?
Use a small, consistent set of symbols and a legend. Rectangles are zones, a thick border or a brick-wall icon is a firewall, and arrows are allowed flows. Keep the rest simple.
OWASP advises leaving firewall icons out of detailed diagrams once the rule is clear, to avoid clutter. The rectangle border itself means a firewall, so the diagram stays readable.
Color helps if it is consistent: one color per zone, red for blocked flows, green for allowed flows. Do not use color as the only signal, because printed and color-blind readers need labels too.
Label every zone with its name, purpose and subnet, for example "Staff VLAN 20 — 10.0.20.0/24". Label every firewall with its name, such as FW1 or edge firewall, so an incident responder can find the matching rule set.
What does a small business segmentation diagram look like?
A small business diagram needs four zones: guest Wi-Fi, staff network, servers and backups, and the DMZ. That is enough to contain most common incidents without enterprise complexity.
Guest Wi-Fi should have internet access only, with no route to staff or server zones. Staff devices sit on their own VLAN, with access to the file server and printers but not to the database zone.
Servers and backups sit in a protected zone behind an inner firewall. Only the application server may reach the database, and only on its database port. Backups should not be reachable from staff PCs at all.
For home and small-office Wi-Fi, the same idea applies on a smaller scale. Our guide to how to secure your Wi-Fi covers guest networks and router settings that support this layout.
What does an enterprise segmentation diagram look like?
An enterprise diagram adds more zones: production, staging, development, management, logging and cloud. Each gets its own segment, and traffic between them is explicitly allowed or denied.
The management zone is often the most sensitive. It holds admin jump hosts, monitoring and backup controls. Only named admin workstations should reach it, and only through a jump host or VPN with MFA.
The logging zone deserves special care. OWASP notes that logs should be copied to a separate server, for example with syslog, so an attacker who compromises an application server cannot alter its logs. The diagram should show that one-way flow.
Cloud resources need the same treatment. A cloud VPC is a zone, with subnets for public, private and database tiers, and security groups acting as firewalls. Draw cloud and on-premises zones on the same page, or the diagram hides the real boundary.
How do you draw a network segmentation diagram step by step?
Drawing a good diagram takes an afternoon, not a week. Start from what exists, group it by trust, then draw the boundaries and the allowed flows.
- Inventory everything. List servers, apps, users, printers, IoT devices and cloud services, with their subnets and owners.
- Group by trust and sensitivity. Public, staff, servers, databases, management and guests are a good first cut.
- Draw the zones as boxes. Put the most sensitive zones innermost, and the internet outermost.
- Add firewalls at every border. Every box crossing is a firewall or security group, even in the cloud.
- Draw allowed flows only. Add an arrow for each permitted connection, labeled with port and protocol.
- Mark what is blocked. Note the important denials, such as staff PCs to the database zone, in a short list beside the diagram.
- Check against real rules. Compare the diagram with firewall rules and test a few flows. Fix the diagram or the rules where they disagree.
Keep the diagram to one page if you can. If it needs more, split it into a high-level zone map and a detailed flow diagram per zone, and link the two.
What are the common mistakes in segmentation diagrams?
The most common mistake is drawing the network as it was built, not as it should be. A diagram that copies a flat network, with every device on one subnet, documents the problem instead of fixing it.
Other mistakes are unlabeled arrows, missing firewalls, and zones that mix trust levels, such as putting a public web server and a database in the same box. Each of these hides a real risk.
Another mistake is forgetting the management and logging zones. Admin access and logs are prime attacker targets, and a diagram that omits them leaves the most sensitive flows undocumented.
Finally, diagrams go stale. A new SaaS integration, a cloud subnet or a firewall rule change can invalidate the map in a day. Treat the diagram as a living document, reviewed with every change. Our small business cybersecurity checklist includes a regular review step for this.
How do you test a segmentation diagram?
A diagram is a claim. Test it by trying the flows it says are blocked, from a test host in each zone. If a blocked flow succeeds, the firewall rule or the diagram is wrong.
Start with the highest-risk denials: guest to staff, staff to database, web server to internet command-and-control, and any zone to the backup server. Log the result for each test.
Also test the allowed flows. If an application cannot reach its database on the labeled port, the diagram may be right and the rule may be missing. Either way, the test finds the gap before an attacker does.
Run these tests after every firewall change and at least quarterly. Keep the test results with the diagram, so an auditor can see that the map matches reality. Check what your network exposes publicly with the free DNS lookup tool.
The bottom line
A network segmentation diagram is worth drawing because it turns an abstract idea, least privilege, into a picture anyone can check. Three layers, clear zones and labeled arrows are enough to start.
Draw the diagram, test it against real firewall rules, and update it whenever the network changes. To see what your network exposes to the outside world, start with Cysoro's attack surface management platform.
Frequently asked questions
What is a network segmentation diagram?
It is a diagram that shows how a network is divided into isolated zones and which traffic is allowed between them. Each zone is a box, each firewall is a boundary, and each arrow is an allowed connection. It is used for design, troubleshooting and audits.
What should a network segmentation diagram include?
It should include zones, firewalls, routers, key servers, the DMZ, user networks, cloud resources and the internet, plus arrows showing allowed traffic with ports and protocols. It should also show what is blocked, either by omission or with a clear note.
What is the difference between segmentation and microsegmentation?
Segmentation divides a network into broad zones such as DMZ, internal and database networks. Microsegmentation goes further, applying policies at the workload or application level, so even two servers in the same zone may not talk freely.
How many segments should a small business have?
Most small businesses need at least four: internet and DMZ, staff network, guest Wi-Fi, and a protected zone for servers and backups. That is enough to stop a compromised laptop from reaching backups or a guest device from reaching staff systems.
What is a DMZ in a network diagram?
A DMZ, or demilitarized zone, is a segment for services that face the internet, such as a website or mail server. It sits between an outer firewall and an inner firewall, so a compromised web server still cannot reach internal databases directly.
How do VLANs appear on a segmentation diagram?
VLANs appear as separate logical segments inside the same physical switch or firewall. The diagram should name each VLAN, its purpose and its subnet, and show the firewall or router that controls traffic between VLANs.
How often should a segmentation diagram be updated?
Update it whenever a zone, firewall rule, server or cloud service changes, and review it at least every six months. An out-of-date diagram is worse than no diagram because it gives a false picture during an incident.
What tool should I use to draw a network segmentation diagram?
Any clear diagram tool works, including draw.io, Lucidchart, Visio or even a whiteboard photo for a first draft. The tool matters less than the content: named zones, labeled firewalls and arrows for allowed traffic only.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the OWASP network segmentation cheat sheet, NIST SP 800-207 and NIST SP 800-41 Rev. 1.
How we write and fact-check →