Topics in this domain

Network Devices: Switches, Routers, Gateways

Operations · 3 min read

The post room

Picture an office post room. A junior who shouts every message to the whole floor is a hub. A clerk who hands each letter to the right desk is a switch. The van that carries letters between buildings using street addresses is a router. A translator who rewrites letters for a foreign office is a gateway.

Each network device works at a different OSI layer. The higher the layer, the more it understands about the traffic, and the more it can control.

Hub, switch, router and gateway stacked by OSI layer.
DeviceOSI layerWhat it doesSecurity relevance
Repeater1Regenerates the signal to go furtherNone; forwards everything
Hub1Sends incoming traffic out of every portAnyone plugged in can see all traffic
Bridge2Joins two segments, filtering by MAC addressReduces traffic between segments
Switch2 (layer 3 switches also route)Sends each frame only to the right port; supports VLANsLimits eavesdropping; VLANs separate traffic
Router3Forwards packets between networks by IP address; applies access control listsControls traffic between networks
GatewayUp to 7Translates between different protocols or architecturesJoins dissimilar systems
Load balancer4-7Spreads traffic across serversAvailability; may handle TLS
Firewall3-7Enforces security policy on trafficCovered in Domain 5

Segmentation

Network zones for users, servers, payments, management, guest and database, connected through a filtering firewall.

Splitting the network into zones (users, servers, payments, management, guest) means an attacker who gets into one zone can’t simply wander into the others. It also shrinks the scope of rules like PCI DSS, which then apply only to the payment zone.

  • VLANs separate traffic logically on the same switches.
  • Traffic between VLANs or subnets is filtered by router ACLs or firewalls.
  • Without that filtering, VLANs give little real security.

Controlling the devices

Harden, control admin access, change management, back up and compare, log and patch.
  • Harden: change default passwords, switch off unused ports and services, set warning banners.
  • Admin access: named accounts, MFA, encrypted protocols (SSH, HTTPS), and only from a management network.
  • Change management for every configuration change, including ACLs and firewall rules.
  • Back up configurations and compare them regularly with an approved baseline, to catch unauthorised changes.
  • Log to a central server.
  • Keep firmware patched and supported.
  • Physically secure network closets.

Routers with default passwords or management interfaces open to the network are a high-risk finding.

Example. An auditor compares the running configuration of a core router with the approved baseline and finds a rule allowing all traffic from a contractor’s subnet to the database VLAN. No change record exists. The finding covers both the unauthorised change and the lack of regular configuration comparison.

How the exam asks about it

If the question asks…The answer is usually…
Device forwarding traffic by IP addressRouter
Device forwarding traffic by MAC addressSwitch (or bridge)
Device translating between different protocolsGateway
Risk of hubsAll traffic visible to every connected device
Best way to detect unauthorised router changesCompare configurations with an approved baseline; log changes
Purpose of network segmentationLimit access and contain compromises

In short

  • Hubs and repeaters (layer 1) forward everything; switches (layer 2) forward by MAC address; routers (layer 3) forward by IP address.
  • Bridges connect network segments at layer 2; gateways translate between different protocols, up to layer 7.
  • VLANs on switches segment traffic logically; routing between VLANs should be controlled with ACLs or firewalls.
  • Network devices need hardened configurations, controlled administrative access, logging and change control.
  • Device configurations should be backed up and compared regularly against an approved baseline.
  • Network segmentation limits how far an attacker can move after a compromise.

Exam traps

  • A hub sends traffic to all ports, so anyone connected can sniff it; switches reduce this.
  • Routers with default passwords or open management interfaces are a high-risk finding.
  • VLANs separate traffic but aren't a security boundary unless inter-VLAN routing is filtered.
  • Unauthorised changes to router ACLs or firewall rules bypass network controls; change management applies.

Slides

Click the slide and use the arrow keys. F toggles full screen.

CISA · Domain 4 · Operations

Network Devices: Switches, Routers, Gateways

What each network device does and how much it understands about the traffic, why segmentation matters, and the configuration and access controls the auditor checks.

1 / 8