Lesson 2 of 2 Network Security Management

Network Segmentation and Secure Device Management

Segmentation limits how far an attacker can move, and the network devices that enforce it must themselves be protected. This lesson explains physical and logical segmentation, data, control and management planes, VLANs, ACLs, firewall zones and micro-segmentation, and secure device management.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain the benefits of segmentation.
  • Distinguish physical segmentation, VLANs, ACLs, firewall zones and micro-segmentation.
  • Describe protection of the data, control and management planes.
  • Describe secure management of network devices.

Why segment

In a flat network, every device can reach every other device, so one compromised laptop can reach every server. Segmentation divides the network into zones with controlled connections between them. It limits lateral movement, contains malware outbreaks, protects sensitive systems, reduces the scope of compliance (for example, isolating the cardholder data environment under PCI DSS) and makes monitoring more effective because traffic between zones passes controlled points.

Physical and logical segmentation

Physical segmentation uses separate hardware: separate switches, cables and firewalls for each network. Its extreme form is an air gap, a network with no connection to others, used for some industrial control and classified systems. Physical separation is strong but expensive and inflexible, and air gaps can still be bridged by removable media.

Logical segmentation divides shared infrastructure with configuration. A virtual LAN (VLAN) separates broadcast domains on the same switches: devices in different VLANs cannot communicate directly at layer 2. Traffic between VLANs must be routed, and at that point access control lists (ACLs) on routers or layer 3 switches, or firewalls, decide what is allowed. A VLAN on its own is not a security control; the filtering between VLANs is. Firewall zones group interfaces and networks by trust level (outside, DMZ, inside, management) and define policies between zones.

Micro-segmentation applies policy between individual workloads or applications rather than whole subnets, using host-based firewalls, hypervisor-level firewalls, cloud security groups or software agents with identity-based policies. It allows rules such as "only the web tier may reach the database on port 5432" even when the servers share a subnet, and it is a core technique of zero trust in data centres.

The following diagram compares a VLAN alone with a VLAN plus traffic filtering for isolating finance servers.

Why putting the finance servers in their own VLAN did not isolate them. A layer 3 switch routes between the VLANs and allows all traffic, because a VLAN separates broadcast domains but does not restrict routed traffic. ACLs or a firewall between the VLANs that allow only the needed users and ports, with denied attempts logged, isolate them.
The scenario is illustrative.

Data, control and management planes

Segmentation also applies to the network's own functions. The data plane carries user traffic. The control plane carries the protocols that run the network, such as routing protocols. The management plane carries administrative access to devices. Protecting the control plane means authenticating routing protocol neighbours, filtering and rate-limiting traffic destined to the device itself (control plane policing) and disabling unused protocols. Protecting the management plane means separating it from user traffic, ideally on an out-of-band management network.

Match the pairs

Network planes

Exam skills 6.4.2

Match each plane with what it does.

Log in to try this activity Interactive activities are free with an account.

Secure device management

Routers, switches, firewalls and wireless controllers are prime targets: compromising them gives control over traffic. Secure management practices include the following.

  • Change all default credentials and disable default accounts before deployment.
  • Authenticate administrators individually through TACACS+ or RADIUS against the directory, with MFA and role-based command authorisation; keep a local emergency account in a vault.
  • Use encrypted management protocols: SSH, HTTPS and SNMPv3; disable Telnet, HTTP and SNMPv1/v2c.
  • Restrict management access to a dedicated management network or jump hosts with ACLs.
  • Disable unused services and interfaces, and shut down unused switch ports.
  • Keep firmware patched and track end-of-support dates.
  • Back up configurations, keep them under change management and compare them with hardened baselines.
  • Send device logs to the central log platform, synchronise time with NTP and display login banners.
Select all that apply

Managing network devices securely

Exam skills 6.4.3

Identify secure practices for managing network devices.

Log in to try this activity Interactive activities are free with an account.
Worked example

VLANs without filtering

A network team placed the finance servers in their own VLAN and considers them isolated. A test shows that any workstation can reach the finance servers on every port. Why?

The VLANs are routed by a layer 3 switch that allows all traffic between them. A VLAN separates broadcast domains but does not restrict routed traffic. The team must apply ACLs or a firewall between the VLANs that allow only the specific users and ports the finance applications need, and log denied attempts.

Worked example

Managing switches safely

Engineers manage 300 switches with Telnet from their desks using one shared password that has not changed in four years. List the improvements.

Replace Telnet with SSH; authenticate engineers individually through TACACS+ with MFA and per-command authorisation; restrict management access to a management network or jump host; change and vault the local credentials; enable logging to the central platform; and place configurations under backup and change management.

Check yourself

Why is a VLAN on its own not a security control?

Show answer

It separates broadcast domains, but traffic routed between VLANs passes freely unless ACLs or firewalls filter it.

Exam Tips

Remember for the exam

  • VLANs separate broadcast domains; ACLs or firewalls must control traffic between them.
  • Micro-segmentation applies policy between individual workloads.
  • Manage devices over SSH and SNMPv3 from a separate management network with individual accounts.