Network Segmentation Techniques
Three ways to split one network into separate parts: screened subnets, subnetting by IP address, and VLANs.
1What segmentation means
A flat network, where every device can talk to every other device, is like a building with no interior doors: once someone is inside, they can walk anywhere. Network segmentation divides a network into smaller, separate parts, so traffic and attackers cannot move freely between them. There are three main techniques.
2Screened subnets (DMZs)
Organizations often run servers the public must reach, like a website or an email server. Putting those inside the internal network would let the whole internet knock on the same door as the staff computers. Instead, firewall zones and rules create a screened subnet, also known as a demilitarized zone (DMZ): a network segment between the public internet and the internal, private network.
The screened subnet is typically a lower security zone than the internal network, because the public can reach it. It holds the organization's public-facing resources and keeps them separated from the internal network. A second firewall between the screened subnet and the internal network applies stricter rules.
3Subnetting
Subnetting splits a network into smaller networks, called subnets, based on IP addresses. Each subnet gets its own range of addresses. For example:
| Subnet | Address range | Who is on it |
|---|---|---|
| Staff | 10.10.1.0 to 10.10.1.255 (written 10.10.1.0/24) | Teacher and office computers |
| Students | 10.10.2.0 to 10.10.2.255 (10.10.2.0/24) | Student laptops and lab computers |
| Servers | 10.10.3.0 to 10.10.3.255 (10.10.3.0/24) | Grade, records, and file servers |
The /24 means the first three numbers identify the subnet and the last number identifies the device, giving 256 addresses per subnet. Traffic between subnets has to pass through a router or firewall, where rules can control it.
If an adversary compromises a device, subnets can contain the breach: the attacker reaches the devices on that subnet, not everything on the network.
4VLANs
Sometimes devices for different groups plug into the same central switches. A virtual LAN (VLAN) uses the switch to separate them logically: the switch is told which ports belong to which VLAN and keeps their traffic apart, as if they were on separate switches.
VLANs let an organization segment without rewiring the building. A security camera VLAN, for instance, keeps cameras away from staff computers even though both plug into the same switch in the same closet.
5Comparing the three
| Technique | How it separates | Typical use |
|---|---|---|
| Screened subnet (DMZ) | Firewall zones and rules between the internet and the internal network | Public-facing servers: website, email, booking app |
| Subnetting | Different IP address ranges, with routing and filtering between them | Grouping devices by department or purpose; containing breaches |
| VLAN | Switch configuration that logically separates ports | Separating groups that share physical switches |
Segmentation puts interior doors in the network. A DMZ separates public servers from private systems; subnets separate by address range; VLANs separate on shared switches. Firewalls or routers between segments decide what may cross.
6Worked examples
The hospital's booking site
A hospital runs a public appointment-booking website. Its internal network holds patient records. Where should the booking server go, and why?
- 1The public must reach the booking site, so it cannot be fully hidden.
- 2Putting it on the internal network would give anyone who breaks into it a direct path to patient records.
- 3Place it in a screened subnet: reachable from the internet through the outer firewall, with a stricter inner firewall between it and the internal network.
Which subnet is it on?
Using the table above, which subnet is the device at 10.10.2.57 on, and can it reach the server at 10.10.3.20 directly?
- 1
10.10.2.57falls in10.10.2.0to10.10.2.255: the Students subnet. - 2
10.10.3.20is in the Servers subnet. - 3Traffic between them must pass through a router or firewall, which can allow or block it.
Cameras on the office switch
An office's security cameras and staff computers plug into the same switch. A camera with outdated software gets hacked. Without segmentation, what could happen, and what fixes it cheaply?
- 1On a flat network, the hacked camera can reach staff computers and servers directly.
- 2Rewiring a separate camera network would be expensive.
- 3Configure a VLAN on the switch for camera ports, logically separating them from staff devices.
One infected laptop
A student laptop on the Students subnet gets malware that scans for other devices to infect. How does subnetting change the outcome?
- 1The malware can reach devices on the Students subnet.
- 2Reaching Staff or Servers requires passing the router or firewall, whose rules block unsolicited traffic from the Students subnet.
- 3The breach is contained to fewer exposed devices.
7Common mistakes
The screened subnet is typically lower security than the internal network, because the public can reach it. That is why it is kept separate.
Subnets separate by IP address range. VLANs separate by switch configuration. Organizations often use both together.
Segmentation creates the boundaries; firewall and routing rules decide what crosses them.
“The organization should place its public web server in a screened subnet between an outer and an inner firewall. The public can still reach the website, but if it is compromised, the inner firewall separates the attacker from the internal network that holds sensitive data.”
Name the technique, say what it separates from what, and explain what it protects.