VLANs, Subnets, Security Zones & Reducing Attack Surfaces

VLANs, Subnets, Security Zones & Reducing Attack Surfaces
Networking ATN Campus September 11, 2026 20 views

VLANs, Subnets, Security Zones & Reducing Attack Surfaces

Modern networks are rarely designed as one large, flat network. Organizations divide their infrastructure into smaller logical sections using VLANs, subnets, security zones, firewalls, and access control policies.

This approach improves security, performance, troubleshooting, and network management while reducing the number of systems an attacker can potentially reach.


What Is Network Segmentation?

Network segmentation is the process of dividing a network into smaller logical or physical sections.

Instead of allowing every device to communicate freely with every other device, segmentation creates boundaries between different groups of devices.

                Internet
                   |
                Firewall
                   |
          +--------+--------+
          |                 |
      User Network       Server Network
      192.168.10.0/24    192.168.20.0/24
          |                 |
    +-----+-----+       +---+---+
    |           |       |       |
  PCs/Laptops   WiFi   Web DB  Files
    

Why Is Network Segmentation Important?

  • Limits unauthorized access
  • Reduces lateral movement
  • Contains security incidents
  • Improves network organization
  • Separates sensitive systems
  • Improves troubleshooting
  • Allows different security policies

For example, a compromised guest laptop should not automatically be able to communicate with database servers or network-management systems.

What Is a VLAN?

A VLAN (Virtual Local Area Network) logically separates devices at Layer 2 of the network.

Devices can be connected to the same physical switch while belonging to different logical networks.

                Switch
      +-------------------------+
      |                         |
   VLAN 10                  VLAN 20
   Users                   Students
      |                         |
 PC1  PC2  PC3             PC4  PC5
    

Devices in different VLANs normally require Layer 3 routing to communicate with each other.

Example VLAN Design

VLAN Purpose Example Subnet
10 Employees 192.168.10.0/24
20 Students 192.168.20.0/24
30 Servers 192.168.30.0/24
40 Guest Wi-Fi 192.168.40.0/24
50 Network Management 192.168.50.0/24

What Is a Subnet?

A subnet is a logical division of an IP network. Subnetting allows administrators to divide a larger IP network into smaller IP networks.

For example:

```

192.168.1.0/24

can be divided into:

192.168.1.0/26
192.168.1.64/26
192.168.1.128/26
192.168.1.192/26 
```

Each subnet represents a separate Layer 3 IP network.

VLAN vs Subnet

Feature VLAN Subnet
Primary Layer Layer 2 Layer 3
Purpose Logical LAN segmentation IP network division
Uses Switching Routing
Communication between groups Requires routing Requires routing between different networks

In many enterprise designs, one VLAN is associated with one IP subnet, although the concepts are not identical.

What Are Security Zones?

A security zone is a network area with a defined security level and access policy.

              INTERNET
                 |
              Firewall
                 |
         +-------+-------+
         |               |
      DMZ Zone        Internal Zone
         |               |
      Web Server      User Network
                         |
                    Server Network
    

Common security zones include:

  • Internet / Untrusted Zone
  • DMZ
  • Internal User Zone
  • Server Zone
  • Guest Zone
  • Management Zone
  • IoT Zone

What Is a DMZ?

A DMZ (Demilitarized Zone) is a network segment used for systems that need to be reachable from less-trusted networks while remaining separated from the internal network.

Public-facing web servers are a common example.

```

Internet
|
Firewall
|
+---- DMZ ---- Web Server
|
+---- Internal ---- Employees
|
Database 
```

A properly designed firewall policy can prevent a compromised public-facing server from having unrestricted access to internal systems.

How Segmentation Reduces the Attack Surface

The attack surface represents the systems, services, applications, interfaces, and paths that an attacker could potentially target.

Segmentation can reduce attack opportunities by limiting which systems can communicate with each other.

    Flat Network
```

PC1 --- PC2 --- PC3 --- Server --- Database
|       |       |        |          |
+-------+-------+--------+----------+

Problem:
Many systems may be reachable from many other systems.

```
    Segmented Network
```

Users ---- Firewall ---- Servers ---- Database
|
Guest Network

Management ---- Separate Security Controls

Result:
Fewer permitted communication paths. 
```

Example: Guest Wi-Fi

Guest users should normally not have direct access to internal business systems.

```

Guest Wi-Fi
192.168.40.0/24
|
v
Firewall
|
+---- Internet       ALLOWED
|
+---- Internal LAN   BLOCKED
|
+---- Database       BLOCKED 
```

This limits the potential impact of a compromised guest device.

Microsegmentation

Microsegmentation applies segmentation at a much more granular level.

Instead of simply separating entire departments, policies can control communication between individual workloads, applications, services, or groups of devices.

Microsegmentation is commonly associated with modern data centers, cloud environments, and Zero Trust security architectures.

Common Segmentation Technologies

Technology Purpose
VLANs Layer 2 segmentation
Subnets Layer 3 network separation
ACLs Control permitted traffic
Firewalls Enforce security policies between zones
DMZ Separate public-facing systems
Microsegmentation Fine-grained workload-level control

Practical Cisco VLAN Example

```

Switch(config)# vlan 10
Switch(config-vlan)# name USERS

Switch(config)# vlan 20
Switch(config-vlan)# name SERVERS

Switch(config)# interface gigabitEthernet 0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10

Switch(config)# interface gigabitEthernet 0/2
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 20 
```

Best Practices

  • Separate guest devices from internal systems.
  • Place servers in appropriate security zones.
  • Separate management traffic from normal user traffic.
  • Use firewalls or ACLs to control inter-segment traffic.
  • Do not assume that a VLAN alone provides complete security.
  • Use least-privilege communication rules.
  • Monitor traffic between important network segments.
  • Review segmentation rules regularly.

Quick Quiz

  1. At which OSI layer does a VLAN primarily operate?
  2. What is the purpose of subnetting?
  3. Why should guest Wi-Fi normally be separated from internal networks?
  4. What is a DMZ?
  5. What does microsegmentation provide?
Show Answer

VLANs primarily operate at Layer 2. Subnetting divides an IP network into smaller Layer 3 networks. Guest networks are separated to reduce unauthorized access to internal resources. A DMZ is a controlled network zone for systems that need exposure to less-trusted networks. Microsegmentation provides more granular security controls between workloads or systems.

Key Takeaways

  • VLANs provide logical Layer 2 segmentation.
  • Subnets divide IP networks at Layer 3.
  • Security zones group systems according to security requirements.
  • Firewalls and ACLs control communication between segments.
  • Segmentation can reduce lateral movement.
  • Microsegmentation provides more granular control.
  • Segmentation is an important part of reducing network attack surfaces.

Start Your Networking Journey with ATN Campus

Want to learn VLANs, subnetting, switching, routing, network security, segmentation, and other essential networking concepts?

ATN Campus provides industry-focused networking and cybersecurity training that combines theory with practical hands-on experience.

Courses Available

  • CCNA – Cisco Certified Network Associate
  • CCNP – Cisco Certified Network Professional
  • CEH – Certified Ethical Hacker
  • Cisco CyberOps
  • Network Security
  • Cloud Networking
  • Python for Network Automation
  • Practical Networking Labs
  • Cybersecurity Fundamentals
  • Career Guidance & Certification Preparation

Whether you're starting from zero or preparing for a professional networking or cybersecurity certification, ATN Campus can help you build the practical knowledge and hands-on skills needed for today's IT industry.

???? Learn networking. ???? Build secure networks. ???? Master segmentation. ???? Practice with real-world labs. ???? Prepare for certifications. ???? Build your IT career with ATN Campus.
Document ATN CAMPUS