Concept Focus

This part connects the physical and data-link layers to real design choices: which media to use and why, how topologies fail, how to harden Layer 2 as if it is hostile, and how firewall policy should be run as a lifecycle.

Media (Layer 1)

Copper and coax

MediumEMI resistanceTypical distanceUse
UTP (Cat5e/6/6A)Moderate (twisting reduces crosstalk); no shielding~100 mCheapest; great for office drops; avoid heavy-EMI areas
STP / FTPBetter than UTP; foil or braid shield~100 mModerate-EMI zones, only if the shield is grounded end to end
CoaxialStrong resistance; built-in physical shield100–500 mDurable, legacy or industrial runs where you need shielding and can't pull fiber

Fiber

FiberReachUse
Single-mode (SMF)~80 kmCampus and metro backbones, data-center to data-center long-haul
Multi-mode (MMF)~400 mIntra-building trunks, top-of-rack to aggregation
Plastic (POF)~100 mShort, flexible, low-cost industrial or consumer runs
Exam pins

“Immune to EMI?” Fiber. “EMI plus a strong physical shield?” Coax. Fiber is EMI-immune and harder to tap casually, but not magic, optical taps exist, so use continuous link monitoring, MACsec on critical hops, and secure pathways.

Topologies and failure domains

TopologyFailure modeSecurity angleReality check
BusTrunk break drops the whole LANEveryone hears broadcastsHistorical only
StarCentral switch failure = outageContained edge failureAccess default; use redundant cores
RingSingle cut drops the ring unless dual-ringDeterministic timingLargely legacy (Token Ring, FDDI)
MeshLink or router loss toleratedDiverse paths hinder DoSPartial mesh in core and aggregation
TreeRoot or major branch failure = wide impactClear policy choke pointsStandard enterprise layout
HybridDepends on the mixTailored blast radiusCommon in datacenters and campuses

Layer 2 resiliency and segmentation

Data-Link (Layer 2) controls

Frames carry source and destination MAC, EtherType or length, payload, and a CRC (error detection, not cryptographic integrity). The LLC sublayer handles flow and error management; the MAC sublayer handles media access and addressing. Media access is CSMA/CD on legacy Ethernet, CSMA/CA on Wi-Fi, and token passing on Token Ring and FDDI.

Hardening the link (high value): port-security (sticky MAC, violation actions), DHCP snooping feeding dynamic ARP inspection, IP source guard, BPDU guard on access ports, MACsec (802.1AE) on critical links, disable unused ports, shut auto-trunking, and lock the management VLAN.

Common L2 attacks and fixes

AttackVectorPrimary mitigation
ARP spoofingFake ARP replies poison the ARP cacheDHCP snooping + Dynamic ARP Inspection; static ARP for crown-jewel hosts
MAC floodingCAM table overflow makes the switch flood like a hubPort-security (limit or sticky MAC), storm control
VLAN hoppingDouble-tagging or misconfigured trunkingDisable auto-trunking, set an unused native VLAN, prune VLANs on trunks
STP manipulationRogue root BPDUs to become the STP rootRoot Guard, BPDU Guard

Bridge to Layer 3

What Anya changed at Neuromesh

Copper uplinks in the CNC wing became MMF fiber with correctly grounded tails, and the CRC errors vanished. Star access with redundant LACP uplinks fed a partial-mesh core so local failures stopped nuking the floor. The CNC/OT VLAN was isolated with L3 ACLs, management moved to an out-of-band VLAN, and the link was hardened with DHCP snooping, DAI, port-security, BPDU guard, storm control, and MACsec on the aggregation-to-core hop.

Firewall policy and lifecycle

A firewall policy should rest on a comprehensive risk analysis. Block all inbound and outbound traffic by default, with explicit exceptions for desired traffic. Consider the source and destination as well as the content. Block invalid or private IPv4 addresses by default, have explicit policies for IPv6, and decide which applications may send traffic in or out.

Anya's additions to make it exam-grade and operable: an egress allow-list mapped to apps with everything else blocked (kills C2 and beacons), IPv4/IPv6 parity so v6 is not a side door, rule hygiene (owner, expiry, justification, shadow-rule detection, quarterly recertification), tests for evasion (fragmentation, odd TTLs, non-SYN TCP, URL encodings), and change control that simulates in a lab and fails closed where the user experience allows.

Brain Ticklers

Practice Questions — Domain 4 · Cables, Wires & Data-Link

Q1. CRC spikes align with CNC motor starts. Which single change best removes the root cause?

  1. Increase port MTU to 9216 bytes
  2. Move uplinks to MMF fiber in the CNC zone
  3. Enable LACP on access ports
  4. Turn on 802.1X for users

Q2. A red team pulls off VLAN hopping via native VLAN tricks. What's the most surgical fix?

  1. Enable port-security on trunks
  2. Set the native VLAN to an unused ID and require tagging on trunks; prune VLANs
  3. Increase STP priority on access switches
  4. Disable IPv6 on all ports

Q3. ARP spoofing succeeds between QA and Build VLANs. Pick the best L2 control pair.

  1. DHCP Snooping + Dynamic ARP Inspection
  2. STP Root Guard + BPDU Guard
  3. IP Source Guard + HSRP
  4. 802.1X + guest VLAN

Q4. Which statement about CRC is most accurate?

  1. CRC delivers cryptographic integrity
  2. CRC prevents VLAN hopping
  3. CRC detects transmission errors only; it is not a security control
  4. CRC authenticates sender MAC

Q5. The new firewall standard says “default-deny outbound” with IPv6 parity. What's the biggest practical impact?

  1. Users lose internet entirely
  2. Egress allow-lists per app or protocol become mandatory, with mirrored rules for IPv6
  3. NAT66 required on the edge
  4. Split-tunnel VPN becomes safer
Key Takeaways
  • Pick media for physics, not price: fiber in noisy or long runs, STP only if grounded right, coax when you need shielding and ruggedness.
  • Shrink L2, grow L3: small VLANs, route early, prune trunks, set unused native VLANs.
  • Harden L2 as if it's hostile: port-security, DHCP snooping into DAI, BPDU and Root Guard, storm control, MACsec on crown-jewel paths.
  • Design for failure: redundant LACP uplinks, RSTP/MSTP tuned, partial mesh in the core.
  • Firewall equals lifecycle plus parity: default-deny inbound and outbound, IPv4/IPv6 mirrored, owner and expiry on every rule.