3.5 Network Segmentation, DMZ & Access Control Lists

Key Takeaways

  • Network segmentation divides flat networks into isolated security zones to reduce broadcast domains, enforce access boundaries, and prevent lateral movement of malware.
  • Demilitarized Zones (DMZs / Screened Subnets) isolate public-facing servers (Web, Mail, DNS) between external perimeter and internal firewalls to protect internal LANs from external compromises.
  • Cisco Access Control Lists (ACLs) process rules top-down sequentially, executing the first matching condition and ending in an automatic Implicit Deny Any (deny ip any any).
  • CIDR notation defines the network/host boundary that every ACL and firewall rule depends on, and a Cisco wildcard mask is the bitwise inverse of the subnet mask (a /26 becomes 0.0.0.63).
  • A honeypot is a decoy with no legitimate business purpose, so any interaction with it is suspicious by definition — it is a high-fidelity detection and intelligence tool, never a protective control.
Last updated: August 2026

3.5 Network Segmentation, DMZ & Access Control Lists

Quick Summary: Logical and physical network segmentation insulates sensitive enterprise resources. Demilitarized Zones (DMZs) isolate public-facing servers between perimeter and internal firewalls. Virtual Local Area Networks (VLANs) and switch port security enforce Layer 2 boundaries. Cisco Access Control Lists (ACLs) filter Layer 3/4 traffic top-down ending in an Implicit Deny, while Network Address Translation (NAT/PAT) hides internal private IP structures.

Monolithic "flat" networks present catastrophic security risks: if an attacker compromises a single endpoint, they can freely scan, exploit, and pivot laterally across the entire organization. Effective security architecture requires dividing networks into isolated security zones governed by strict access controls.


1. Demilitarized Zones (DMZs) & Perimeter Isolation

A Demilitarized Zone (DMZ)—also known as a Screened Subnet—is a physical or logical subnetwork that exposes an organization's public-facing services (e.g., Web servers, Mail relays, DNS servers, Reverse Proxies) to an untrusted network like the Internet, while keeping the internal local area network (LAN) isolated.

Primary Architectural Objectives of a DMZ

  • Containment of Compromise: If an attacker successfully exploits a vulnerability in a public web server, the DMZ architecture prevents the attacker from directly accessing internal Active Directory domain controllers, internal databases, or user workstations.
  • Strict Traffic Directionality: Firewalls permitting DMZ zones allow incoming Internet connections only to specific DMZ hosts on dedicated ports (e.g., TCP 443 for HTTPS). Traffic originating from the DMZ toward the internal LAN is strictly prohibited or restricted to heavily authenticated, encrypted channels.

DMZ Design Topologies

  1. Dual-Firewall DMZ (Screened Subnet - Recommended): Uses two distinct firewalls (often from different vendors to avoid single-vendor zero-day vulnerability exploitation):
    • External Perimeter Firewall: Sits between the Internet and the DMZ. Allows public traffic to reach DMZ services on specified ports.
    • Internal Firewall: Sits between the DMZ and the internal LAN. Enforces strict rules preventing DMZ systems from initiating connections into internal networks.
  2. Three-Legged Firewall DMZ (Single Firewall): Uses a single security appliance with three distinct interfaces: Interface 1 (Internet/Untrusted), Interface 2 (DMZ/Semi-trusted), and Interface 3 (Internal LAN/Trusted).
Loading diagram...
Enterprise Dual-Firewall DMZ Network Architecture Topology

2. Network Segmentation, VLANs, and Port Security

Logical segmentation divides a monolithic flat network into smaller, isolated sub-networks to reduce broadcast traffic, enforce access controls, and contain ransomware lateral movement.

Virtual Local Area Networks (VLANs) & IEEE 802.1Q

A VLAN groups network nodes logically regardless of their physical switch location. Switches use IEEE 802.1Q to insert a 4-byte VLAN tag into Ethernet frame headers across inter-switch trunk links.

  • Access Ports: Assigned to a single specific VLAN for end-user endpoints (workstations, printers).
  • Trunk Ports: Carry traffic for multiple VLANs simultaneously between switches or routers.
  • Native VLAN: An 802.1Q trunk port setting where untagged frames are assigned. Default is VLAN 1.

VLAN Security Attacks & Mitigations

  • VLAN Hopping (Switch Spoofing): Attacker sends Dynamic Trunking Protocol (DTP) signals to negotiate an unapproved trunk link. Mitigation: Disable DTP on access ports (switchport nonegotiate or switchport mode access).
  • VLAN Hopping (Double Tagging): Attacker sends a frame with two 802.1Q tags (Outer tag = Native VLAN 1, Inner tag = Victim Target VLAN 10). Mitigation: Change Native VLAN from default VLAN 1 to an unused VLAN ID (e.g., VLAN 999).
  • DHCP Starvation / Spoofing: Attacker floods switch with fake MAC addresses to exhaust DHCP pool. Mitigation: Enable DHCP Snooping on switch ports.

Switch Port Security Violation Modes

Cisco Port Security limits allowed MAC addresses on access ports (Static, Dynamic, or sticky). When an unauthorized MAC address connects, the switch executes a violation action:

  1. Protect: Drops frames from unauthorized MACs silently. No Syslog alerts; no counter increment.
  2. Restrict: Drops unauthorized frames, increments violation counter, and sends Syslog alerts.
  3. Shutdown (Default): Immediately disables the physical port, placing it into an err-disable state requiring administrative recovery.

3. Cisco Access Control Lists (ACLs) & NAT/PAT

An Access Control List (ACL) is a sequential collection of permit and deny conditions applied to router or firewall interfaces.

ACL Types & Placement Rules

ACL TypeNumbered RangeFiltering CapabilitiesPlacement Guideline
Standard ACL1 - 99 / 1300 - 1999Filters based ONLY on Source IP Address.Place as close to DESTINATION as possible.
Extended ACL100 - 199 / 2000 - 2699Filters based on Source IP, Destination IP, Protocol (TCP/UDP/ICMP), and Port Numbers.Place as close to SOURCE of traffic as possible.

Sequential Evaluation Mechanics

  1. Top-Down Processing: Packets are evaluated against ACL rules sequentially from top to bottom.
  2. First-Match Action: Once a packet matches a rule's criteria, the router executes the action (permit or deny) immediately and ceases further evaluation.
  3. Implicit Deny Any: The final rule of every Cisco ACL is an invisible deny ip any any. Packets matching no explicit rule are silently dropped.

Wildcard Masks Explained

Cisco ACLs use Wildcard Masks (inverse masks):

  • Binary 0 (0): "Match this exact bit value."
  • Binary 1 (1): "Ignore this bit value (wildcard)."
  • Example: Single host 192.168.10.50 requires wildcard 0.0.0.0 (or host 192.168.10.50). Entire /24 subnet 192.168.10.0/24 requires wildcard 0.0.0.255.

Network Address Translation (NAT) & Port Address Translation (PAT)

  • RFC 1918 Private Ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 (non-routable on public Internet).
  • Static NAT (1:1): Maps 1 private IP to 1 public IP for DMZ servers.
  • PAT / Overload (1:Many): Maps thousands of internal private IP hosts to a single public IP address by assigning dynamic high-numbered Layer 4 source ports (ephemeral ports 49152 - 65535).
  • Air-Gapping & Bastion Hosts: Physical air-gapping isolates SCADA/ICS OT environments. Jump Boxes (Bastion Hosts) enforce MFA and session recording for remote administrative access.

4. CIDR Notation and Why Address Boundaries Are Security Boundaries

Blueprint sub-topic 2.2 asks how network addresses impact network security, and names CIDR notation explicitly. Classless Inter-Domain Routing (CIDR) notation writes a network as an address followed by a slash and the number of bits fixed as the network portion — 192.168.10.0/24 means the first 24 bits identify the network and the remaining 8 bits identify hosts.

CIDR matters for security work because every segmentation decision, every ACL entry, and every firewall rule is expressed as a prefix. Getting the prefix length wrong by a single bit doubles or halves the number of hosts a rule affects.

Prefix reference

CIDRSubnet maskTotal addressesUsable hostsTypical use
/24255.255.255.0256254Standard department or office VLAN
/25255.255.255.128128126Splitting a /24 into two zones
/26255.255.255.1926462Small VLAN, DMZ segment
/27255.255.255.2243230Server segment, management VLAN
/28255.255.255.2401614Small DMZ or appliance cluster
/30255.255.255.25242Point-to-point router link
/32255.255.255.25511A single specific host in a rule

Two addresses in each ordinary subnet are unusable for hosts: the network address (all host bits 0) and the broadcast address (all host bits 1). Hence "usable hosts = total − 2".

CIDR and wildcard masks

Cisco ACLs use wildcard masks, which are the bitwise inverse of the subnet mask. Converting between the two is a routine exam task:

CIDRSubnet maskWildcard maskACL meaning
/32255.255.255.2550.0.0.0Exactly one host
/30255.255.255.2520.0.0.3A point-to-point link
/28255.255.255.2400.0.0.15A 14-host segment
/24255.255.255.00.0.0.255A whole /24 subnet
/16255.255.0.00.0.255.255A whole /16 range

Worked example: to permit only the finance VLAN 10.20.30.0/26 toward a server, the wildcard is 0.0.0.63 (64 addresses − 1), so the rule reads permit ip 10.20.30.0 0.0.0.63 host 10.50.1.10. Writing 0.0.0.255 instead would silently admit four times as many hosts — the kind of one-character error that turns a segmentation control into a hole.

Public vs. private addressing

RFC 1918 private ranges — 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 — are not routable across the public internet. That gives a modest, incidental security benefit: an internal host using a private address cannot be reached directly from the internet without an explicit NAT or port-forwarding rule. This is not a security control in itself. NAT is an address-conservation mechanism that happens to obscure internal topology; it does not inspect traffic, and it provides no protection against malware that initiates an outbound connection, which is exactly what modern command-and-control does.

IPv6 removes the address-scarcity motivation for NAT entirely, since hosts can hold globally routable addresses. Security therefore has to come from firewall policy rather than from accidental unreachability. Two IPv6 specifics worth knowing: link-local addresses (fe80::/10) are present on every interface, and unique local addresses (fc00::/7) are the rough IPv6 analogue of RFC 1918 space. A frequent real-world failure is a network hardened carefully for IPv4 while IPv6 remains enabled and unfiltered, leaving an unmonitored parallel path into the same hosts.


5. Honeypots and Deception Technology

Blueprint sub-topic 2.3 lists the honeypot alongside the DMZ, proxy server, IDS, and IPS as network infrastructure a technician should recognise.

A honeypot is a decoy system deliberately made to look like an attractive target — an unpatched server, an exposed database, a file share named HR_Salaries — that has no legitimate business function. Because no authorised user has any reason to touch it, any interaction with a honeypot is suspicious by definition. That property is what makes it valuable: it produces very high-fidelity alerts with almost no false positives, in contrast to an IDS that must distinguish malicious traffic from a large volume of legitimate traffic.

Purposes

  1. Early warning. A honeypot touched during internal reconnaissance reveals an intruder who has already breached the perimeter, often before they reach anything of value.
  2. Threat intelligence. Observing which exploits, credentials, and tooling an attacker uses informs detection rules elsewhere.
  3. Diversion and delay. Time spent on a decoy is time not spent on production systems, and it extends the defender's window to respond.

Classification

TypeWhat it isTrade-off
Low-interactionEmulates only a service banner and a few responsesSafe and cheap to run; limited intelligence; skilled attackers detect it quickly
High-interactionA full real operating system and applicationsRich intelligence about attacker behaviour; genuinely risky, since a compromised honeypot could be used to attack others
HoneynetAn entire decoy network segment of multiple honeypotsObserves lateral movement, not just initial access
HoneytokenA decoy credential, file, database record, or API key rather than a hostAny use of it signals data theft; useful for detecting exfiltration and insider activity

Deployment and cautions

A honeypot is normally placed inside a tightly controlled segment — frequently near or within the DMZ, or on an isolated internal VLAN — with strict egress filtering so it cannot originate outbound connections. Two cautions the exam may probe:

  • A high-interaction honeypot is a real, deliberately vulnerable machine. If it is not isolated, an attacker who compromises it gains a foothold inside your network. Containment design is not optional.
  • A honeypot is a detection and intelligence tool, not a protective control. It does not defend the production systems around it. If an exam option proposes a honeypot as the remedy for an unpatched public server, that option is wrong — patching is.
Test Your Knowledge

An administrator needs to write a Cisco ACL rule that permits traffic coming exclusively from a single specific host IP address (192.168.10.50). Which wildcard mask must be specified?

A
B
C
D
Test Your Knowledge

Where should a Cisco Extended Access Control List (ACL) be placed on a network to minimize unnecessary bandwidth consumption across the network backbone?

A
B
C
D
Test Your Knowledge

Which Cisco switch port security violation mode drops unauthorized frames, increments the port violation counter, and generates Syslog notifications without shutting down the physical interface?

A
B
C
D
Test Your Knowledge

Which Port Address Translation (PAT / Overload) mechanism allows thousands of internal corporate endpoints with private IPv4 addresses to share a single public IPv4 address for internet access?

A
B
C
D
Test Your Knowledge

A technician must write an extended ACL permitting only the subnet 10.20.30.0/26 to reach a server. Which wildcard mask correctly matches that subnet?

A
B
C
D
Test Your Knowledge

A SOC receives an alert that a decoy file server named FIN-ARCHIVE-07, which hosts no production data and appears in no documentation, has just been enumerated from an internal workstation. Why is this alert treated as high fidelity?

A
B
C
D