← CompTIA Network+ Practice
Test yourself →

Networking fundamentals & OSI model

What networking fundamentals cover

This area is the foundation for the whole exam: how data actually gets from one device to another, and the shared language (the OSI model) used to describe it. Get this solid and everything else - cabling, routing, troubleshooting - slots into place.

The OSI model - 7 layers

Learn it bottom to top and top to bottom. A classic mnemonic: 'Please Do Not Throw Sausage Pizza Away'.

  • Layer 1 Physical - bits, cables, connectors, voltages, hubs
  • Layer 2 Data Link - frames, MAC addresses, switches, ARP sits here (conceptually)
  • Layer 3 Network - packets, IP addresses, routers, routing
  • Layer 4 Transport - segments, TCP and UDP, ports, reliability, flow control
  • Layer 5 Session - opens, manages and closes sessions between apps
  • Layer 6 Presentation - formatting, encryption, compression (SSL/TLS historically placed here)
  • Layer 7 Application - the actual protocol the user-facing app talks, eg HTTP, FTP, DNS

Common mistakes

  • Mixing up Layer 2 (MAC/switches) with Layer 3 (IP/routers) - a switch forwards by MAC, a router forwards by IP.
  • Forgetting that a firewall can operate at multiple layers depending on type (packet-filtering = L3/L4, next-gen/application = up to L7).
  • Thinking TCP/IP has the same 7 layers - it doesn't, it's a 4-layer model (Network Interface, Internet, Transport, Application) that maps loosely onto OSI.
  • Confusing encapsulation direction: data is encapsulated (headers added) going DOWN the stack on send, and de-encapsulated going UP the stack on receive.

The PDU (protocol data unit) at each layer

Each layer has its own name for the data unit: Data (L7-5), Segment (L4), Packet (L3), Frame (L2), Bits (L1). The exam loves testing this sequence directly.

TCP vs UDP

  • TCP is connection-oriented, uses a three-way handshake (SYN, SYN-ACK, ACK), guarantees delivery and order - used for web, email, file transfer.
  • UDP is connectionless, no handshake, no guarantee - used for speed-critical traffic like VoIP, video streaming, DNS lookups.

Key numbers to lock in

  • 7 OSI layers, 4 TCP/IP layers
  • MAC address = 48 bits (6 bytes), written as 12 hex characters
  • IPv4 address = 32 bits; IPv6 address = 128 bits
  • Standard Ethernet MTU = 1500 bytes

Revise this by drawing the stack from memory with the PDU name and one device example against each layer - that single diagram covers a big chunk of exam marks.

  • The OSI model has exactly 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, Application.
  • Mnemonic top-to-bottom: All People Seem To Need Data Processing; bottom-to-top: Please Do Not Throw Sausage Pizza Away.
  • Layer 2 (Data Link) uses MAC addresses and switches; Layer 3 (Network) uses IP addresses and routers - don't mix these up.
  • The PDU name changes per layer: Data (L5-7), Segment (L4), Packet (L3), Frame (L2), Bits (L1).
  • TCP/IP is a 4-layer model (Network Interface, Internet, Transport, Application), NOT the same as the 7-layer OSI model.
  • TCP is connection-oriented and uses a three-way handshake (SYN, SYN-ACK, ACK); UDP is connectionless with no handshake.
  • A MAC address is 48 bits long, written as 12 hexadecimal characters (eg 00:1A:2B:3C:4D:5E).
  • IPv4 addresses are 32 bits; IPv6 addresses are 128 bits.
  • Encapsulation adds headers as data moves DOWN the stack on send; de-encapsulation strips them moving UP the stack on receive.
  • Standard Ethernet MTU (maximum transmission unit) is 1500 bytes.
  • DNS, HTTP and FTP are Application layer (Layer 7) protocols - they define what the user-facing app is actually saying.
  • A hub operates at Layer 1 (just repeats bits); a switch operates at Layer 2 (forwards by MAC address).
Name the 7 layers of the OSI model, bottom to top.
Physical, Data Link, Network, Transport, Session, Presentation, Application.
tap to reveal
What mnemonic helps recall OSI layers from Layer 1 up?
Please Do Not Throw Sausage Pizza Away.
tap to reveal
What device operates at Layer 2 and forwards traffic by MAC address?
A switch.
tap to reveal
What device operates at Layer 3 and forwards traffic by IP address?
A router.
tap to reveal
What is the PDU called at the Transport layer?
A segment.
tap to reveal
What is the PDU called at the Network layer?
A packet.
tap to reveal
What is the PDU called at the Data Link layer?
A frame.
tap to reveal
How many layers does the TCP/IP model have, and what are they?
4 layers: Network Interface, Internet, Transport, Application.
tap to reveal
What are the three steps of the TCP handshake?
SYN, SYN-ACK, ACK.
tap to reveal
Is UDP connection-oriented or connectionless, and where is it typically used?
Connectionless, no handshake or guaranteed delivery; used for VoIP, video streaming and DNS lookups.
tap to reveal
How many bits make up a MAC address, and how is it usually written?
48 bits, written as 12 hexadecimal characters.
tap to reveal
How many bits make up an IPv4 address? An IPv6 address?
IPv4 = 32 bits; IPv6 = 128 bits.
tap to reveal
Which OSI layer do HTTP, FTP and DNS operate at?
Layer 7, the Application layer.
tap to reveal
What is the standard Ethernet MTU?
1500 bytes.
tap to reveal
Which direction does encapsulation happen: sending or receiving?
Sending - headers are added going down the stack; they're stripped off (de-encapsulation) going up the stack on receive.
tap to reveal

Network implementations & topologies

Physical topologies

A topology describes how devices are physically or logically connected.

  • Star: every device connects to a central switch. Most common in modern LANs — a single cable break only drops one device, but the switch is a single point of failure.
  • Bus: all devices share one backbone cable with terminators at each end. Legacy Ethernet (10BASE2/5) — a single break takes the whole segment down.
  • Ring: each device connects to exactly two neighbours forming a loop. Token Ring and some fibre metro networks (FDDI, SONET) use this — a single break can be tolerated if the ring is dual/counter-rotating.
  • Mesh: full mesh means every device connects to every other device, giving n(n-1)/2 links for n nodes — very resilient but expensive to cable. Partial mesh links only the critical nodes.
  • Hybrid: a mix of the above, e.g. a star-of-stars or extended star, common in real enterprise builds.

Network types by scale

  • PAN (Personal Area Network): a few metres, e.g. Bluetooth pairing.
  • LAN: a single site/building.
  • WLAN: wireless version of a LAN.
  • CAN (Campus Area Network): several buildings on one site.
  • MAN (Metropolitan Area Network): a city.
  • WAN: spans countries/continents, links multiple LANs, usually via a service provider.
  • SD-WAN: software-defined WAN — centrally manages and steers traffic across multiple WAN links (MPLS, broadband, LTE) based on policy.

Deployment models

  • On-premises: you own and run the hardware.
  • Cloud: IaaS (rent infrastructure), PaaS (rent platform), SaaS (rent finished application).
  • Hybrid: mix of on-prem and cloud, common for gradual migration.
  • SASE: converges SD-WAN with cloud-delivered security (SWG, CASB, ZTNA, FWaaS) into one service edge.

Common architectures

  • Three-tier hierarchical: core, distribution (aggregation), access layers — the classic campus design, each layer has a distinct job (core = fast forwarding, distribution = policy/routing, access = end-device connectivity).
  • Collapsed core/spine-leaf: two-tier, used heavily in data centres — every leaf switch connects to every spine switch, giving predictable low-latency east-west traffic and easy scale-out.
  • Software-defined networking (SDN): separates the control plane from the data plane, centralising decisions in a controller.

Common mistakes

  • Confusing physical topology (how cables run) with logical topology (how data actually flows) — Ethernet is physically star but logically behaves like a bus/switch fabric.
  • Forgetting mesh link-count math: for 5 nodes full mesh that's 5x4/2 = 10 links, not 5.
  • Assuming SD-WAN and SDN are the same thing — SDN is generally LAN/data-centre control-plane separation, SD-WAN is WAN-link management and traffic steering.
  • Mixing up spine-leaf (data centre, non-blocking, two-tier) with three-tier hierarchical (campus, core/distribution/access).
  • Star topology: single switch failure takes down the whole segment; single cable failure drops only one device.
  • Bus topology (legacy 10BASE2/5) needs terminators at both ends; one break kills the whole segment.
  • Full mesh link count formula: n(n-1)/2 — 6 nodes need 15 links.
  • Ring topology tolerates one break only if it is a dual counter-rotating ring (e.g. FDDI).
  • PAN is a few metres (Bluetooth); LAN is one site; CAN is a campus; MAN is a city; WAN spans countries.
  • SD-WAN centrally manages/steers traffic across multiple WAN links by policy, unlike traditional static WAN routing.
  • SASE converges SD-WAN with cloud security services (SWG, CASB, ZTNA, FWaaS) into a single edge.
  • IaaS = rented infrastructure, PaaS = rented platform, SaaS = rented finished application.
  • Three-tier hierarchical design layers are core, distribution and access, each with a distinct role.
  • Spine-leaf architecture is a two-tier data-centre design where every leaf connects to every spine for predictable east-west latency.
  • SDN separates the control plane from the data plane and centralises it in a controller.
  • Physical topology describes cable layout; logical topology describes actual data flow — Ethernet is physically star, logically switched.
What is the single point of failure in a star topology?
The central switch — if it fails, every connected device loses network access.
tap to reveal
How many links does a full mesh of 8 nodes need?
n(n-1)/2 = 8x7/2 = 28 links.
tap to reveal
Name the two legacy bus Ethernet standards.
10BASE2 and 10BASE5.
tap to reveal
What must be fitted at both ends of a bus topology cable?
Terminators, to absorb signal and prevent reflection.
tap to reveal
Which topology can survive one cable break if it is dual counter-rotating?
Ring topology (e.g. FDDI).
tap to reveal
What does CAN stand for and what scale is it?
Campus Area Network — several buildings on one site.
tap to reveal
What is the key difference between SDN and SD-WAN?
SDN separates control/data planes typically for LAN/data-centre networks; SD-WAN centrally manages and steers traffic across WAN links.
tap to reveal
What does SASE converge into one service?
SD-WAN plus cloud-delivered security functions like SWG, CASB, ZTNA and FWaaS.
tap to reveal
Define IaaS, PaaS and SaaS in one word each.
IaaS = infrastructure, PaaS = platform, SaaS = application (all rented/hosted by a provider).
tap to reveal
What are the three layers of the classic hierarchical campus design?
Core, distribution and access.
tap to reveal
In a spine-leaf data-centre design, what connects to what?
Every leaf switch connects to every spine switch, giving predictable low-latency east-west traffic.
tap to reveal
What is the difference between physical and logical topology?
Physical is how cables are actually run; logical is how data actually flows across the network (e.g. switched Ethernet is physically star but logically like a shared bus/fabric).
tap to reveal
What is a partial mesh?
A mesh topology where only critical or high-traffic nodes are directly interconnected, rather than every node to every other node.
tap to reveal
What is a hybrid topology?
A combination of two or more basic topologies, such as a star-of-stars or extended star, common in real enterprise networks.
tap to reveal
What does WLAN mean and how does it differ from a LAN?
Wireless Local Area Network — same site scope as a LAN but devices connect via Wi-Fi instead of cabling.
tap to reveal

IP addressing & subnetting

What IP addressing is for

Every device on a network needs a unique address so traffic knows where to go. Network+ tests both IPv4 and IPv6, plus the subnetting maths that splits one big network into smaller, manageable pieces.

IPv4 basics

An IPv4 address is 32 bits, written as four decimal octets (0-255) separated by dots, eg 192.168.1.10. The subnet mask marks which bits are network and which are host - eg 255.255.255.0 (/24) means the first 24 bits are network, leaving 8 bits (256 addresses, 254 usable) for hosts.

CIDR notation

CIDR (Classless Inter-Domain Routing) writes the mask as a slash and a bit count, like /24 or /26. Usable hosts = 2^(host bits) - 2, because the first address is the network ID and the last is the broadcast address. A /30 gives 4 addresses, 2 usable - perfect for a point-to-point link.

Private address ranges (RFC 1918)

  • Class A: 10.0.0.0 - 10.255.255.255 (/8)
  • Class B: 172.16.0.0 - 172.31.255.255 (/12)
  • Class C: 192.168.0.0 - 192.168.255.255 (/16)

These never route on the public internet - NAT translates them at the edge.

Special addresses to know

  • 127.0.0.1 is loopback (localhost).
  • 169.254.x.x is APIPA - a device gives itself this when DHCP fails.
  • 255.255.255.255 is the limited broadcast address.
  • 0.0.0.0/0 in routing means 'any network' (default route).

Subnetting method

Work out the block size by subtracting the interesting octet's mask value from 256. Eg mask 255.255.255.192 (/26): 256-192=64, so subnets run 0, 64, 128, 192. Each subnet's broadcast is the next subnet's start minus 1. Practise this both ways - given a mask, find the subnets; given a required host count, find the smallest mask that fits.

IPv6 essentials

128-bit address written in 8 groups of hex, eg 2001:0db8::1. Leading zeros in a group can be dropped, and one run of consecutive all-zero groups can be shortened to '::' (only once per address). fe80::/10 is link-local, and there's no broadcast in IPv6 - multicast replaces it.

Common exam traps

  • Forgetting to subtract 2 for network and broadcast addresses.
  • Confusing the network ID with a usable host address.
  • Mixing up /24 (256 addresses) with 255.255.255.0 - they're the same thing written differently, so be fluent converting between them.
  • Applying '::' shortcut twice in one IPv6 address (not allowed).
  • IPv4 is 32 bits; IPv6 is 128 bits, written in 8 hex groups.
  • Usable hosts per subnet = 2^(host bits) minus 2, for the network ID and broadcast address.
  • A /24 network (255.255.255.0) gives 256 total addresses, 254 usable.
  • A /30 (255.255.255.252) gives 4 addresses, 2 usable - standard for point-to-point WAN links.
  • Private IPv4 ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 (RFC 1918).
  • APIPA addresses are 169.254.0.0 to 169.254.255.255, self-assigned when DHCP fails.
  • 127.0.0.1 is the IPv4 loopback address; the whole 127.0.0.0/8 block is reserved for loopback.
  • 0.0.0.0/0 represents the default route (any destination network).
  • IPv6 link-local addresses always start fe80::/10.
  • The '::' shortcut in IPv6 can only be used once per address, to compress one run of zero groups.
  • CIDR notation (eg /26) states how many bits of the 32/128 total are the network portion.
  • IPv6 has no broadcast address - multicast and anycast handle that role instead.
How many bits make up an IPv4 address?
32 bits, shown as four decimal octets 0-255.
tap to reveal
How many bits make up an IPv6 address?
128 bits, shown as 8 groups of hex digits.
tap to reveal
Formula for usable hosts in a subnet?
2^(host bits) minus 2 (subtract network ID and broadcast).
tap to reveal
How many usable hosts on a /30 subnet?
2 usable hosts (4 total addresses) - used for point-to-point links.
tap to reveal
How many usable hosts on a /24 subnet?
254 usable hosts (256 total addresses).
tap to reveal
What are the three RFC 1918 private IPv4 ranges?
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
tap to reveal
What does an APIPA address look like and when does it appear?
169.254.x.x - assigned automatically when a device fails to get a DHCP address.
tap to reveal
What is 127.0.0.1 used for?
Loopback - refers to the device itself (localhost).
tap to reveal
What does 0.0.0.0/0 mean in a routing table?
The default route, matching any destination network.
tap to reveal
What prefix identifies an IPv6 link-local address?
fe80::/10.
tap to reveal
How many times can '::' be used in one IPv6 address?
Only once, to compress a single run of consecutive all-zero groups.
tap to reveal
Does IPv6 use broadcast addresses?
No - IPv6 removes broadcast and uses multicast/anycast instead.
tap to reveal
How do you find subnet block size from a mask like 255.255.255.192?
256 minus the interesting octet value: 256-192=64, so subnets start at 0, 64, 128, 192.
tap to reveal
What does CIDR notation like /26 mean?
The first 26 bits of the address are the network portion; the rest are host bits.
tap to reveal

Network operations & monitoring

Why network operations & monitoring matters

Network+ tests whether you can keep a network healthy day to day, not just build it once.

This means documentation, monitoring protocols, log management, and business continuity concepts.

Documentation you must know

  • Physical and logical network diagrams show cabling versus IP/VLAN layout.
  • Wiring diagrams, rack diagrams and IDF/MDF documentation locate hardware.
  • Standard operating procedures (SOPs) and policies keep changes consistent.
  • A baseline is the normal performance snapshot used to spot anomalies later.

Monitoring protocols and tools

  • SNMP (Simple Network Management Protocol) polls devices for status; v1 and v2c use plain-text community strings, v3 adds authentication and encryption - always prefer v3.
  • SNMP traps are unsolicited alerts sent from a device to the manager when a threshold is breached.
  • Syslog collects log messages centrally; severity levels run 0 (Emergency) to 7 (Debug) - lower number means more severe.
  • NetFlow (Cisco) and sFlow/IPFIX (vendor-neutral) capture flow data for traffic analysis and capacity planning.
  • Packet capture (e.g. Wireshark) inspects traffic at the frame level for deep troubleshooting.
  • SIEM (Security Information and Event Management) aggregates logs from many sources for correlation and alerting.

Performance metrics

  • Bandwidth is the maximum capacity; throughput is what's actually achieved.
  • Latency is delay (measured in ms); jitter is the variation in latency, critical for VoIP.
  • Packet loss is the percentage of packets that never arrive; anything above roughly 1-2% harms VoIP/video quality.

Availability and continuity concepts

  • Uptime is often expressed as 'nines': 99.9% ('three nines') allows about 8.76 hours downtime a year; 99.999% ('five nines') allows about 5.26 minutes a year.
  • MTBF (Mean Time Between Failures) measures reliability; MTTR (Mean Time To Repair) measures how fast you recover.
  • RTO (Recovery Time Objective) is the target time to restore service; RPO (Recovery Point Objective) is the acceptable data loss window, both set by business needs not IT preference.
  • Redundancy methods include NIC teaming, multipathing, clustering, and diverse ISP paths.

Common mistakes

  • Confusing SNMP polling with SNMP traps - polling is pull, traps are push.
  • Mixing up MTTR (repair) with MTBF (between failures) - they measure opposite things.
  • Assuming higher syslog severity numbers mean more urgent - it's the reverse, 0 is worst.
  • Forgetting that a baseline must be captured BEFORE a problem, so you can compare against normal.
  • SNMPv3 is the only SNMP version with built-in authentication and encryption - always choose it over v1/v2c.
  • Syslog severity 0 = Emergency (most severe), severity 7 = Debug (least severe) - lower number is worse.
  • 99.999% uptime ('five nines') permits only about 5.26 minutes of downtime per year.
  • 99.9% uptime ('three nines') permits about 8.76 hours of downtime per year.
  • MTBF measures average time between failures (reliability); MTTR measures average time to repair (recoverability).
  • RTO is the target time to restore a service after an outage; RPO is the maximum acceptable data loss measured in time.
  • NetFlow is Cisco's flow-monitoring protocol; sFlow and IPFIX are the vendor-neutral equivalents.
  • Jitter is the variation in latency and is especially damaging to VoIP and video calls.
  • A baseline must be recorded during normal operation, before problems occur, to be a valid comparison point.
  • SNMP traps are unsolicited, device-initiated alerts; SNMP polling is the manager pulling data on a schedule.
  • SIEM tools correlate logs from multiple sources for security monitoring and alerting.
  • Packet loss above roughly 1-2% will noticeably degrade real-time traffic like VoIP and video conferencing.
What does SNMP stand for and what is it used for?
Simple Network Management Protocol - polling and managing network device status.
tap to reveal
Which SNMP version should you always use in production and why?
SNMPv3, because it adds authentication and encryption unlike v1/v2c.
tap to reveal
What is the difference between SNMP polling and an SNMP trap?
Polling is the manager pulling data on a schedule; a trap is the device pushing an unsolicited alert.
tap to reveal
What range do syslog severity levels cover, and which end is most severe?
0 to 7; 0 (Emergency) is most severe, 7 (Debug) is least severe.
tap to reveal
How much downtime per year does 99.999% uptime allow?
About 5.26 minutes per year.
tap to reveal
How much downtime per year does 99.9% uptime allow?
About 8.76 hours per year.
tap to reveal
Define MTBF.
Mean Time Between Failures - the average time a system runs before it fails, a reliability measure.
tap to reveal
Define MTTR.
Mean Time To Repair - the average time taken to fix a failed system and restore service.
tap to reveal
What is the difference between RTO and RPO?
RTO is the target time to restore service after an outage; RPO is the maximum acceptable amount of data loss, measured in time.
tap to reveal
What is a network baseline used for?
A recorded snapshot of normal performance, captured before problems occur, used to detect anomalies later.
tap to reveal
What is jitter and why does it matter?
Variation in latency over time; it particularly degrades VoIP and video call quality.
tap to reveal
Name the Cisco flow-monitoring protocol and its vendor-neutral alternatives.
NetFlow (Cisco); sFlow and IPFIX are the vendor-neutral equivalents.
tap to reveal
What does SIEM do?
Aggregates and correlates logs from multiple sources for security monitoring and alerting.
tap to reveal
What is the difference between bandwidth and throughput?
Bandwidth is the maximum theoretical capacity; throughput is what is actually achieved in practice.
tap to reveal

Network security

Network security: the big picture

Network+ tests defence in depth - layering controls so no single failure exposes the network. Expect questions on device placement, wireless security, and remote access.

Firewalls and segmentation

  • A firewall filters traffic by rules: source/destination IP, port, protocol.
  • Stateful firewalls track connection state (the session); stateless ones inspect each packet alone.
  • A DMZ (demilitarised zone) sits between two firewalls and hosts public-facing servers (web, mail) so a breach there does not reach the internal LAN.
  • VLANs segment broadcast domains logically; combine with ACLs to stop lateral movement between segments.
  • The screened subnet is another name for a DMZ - expect both terms.

AAA and access control

  • AAA = Authentication (who you are), Authorization (what you can do), Accounting (logging what you did).
  • RADIUS uses UDP (ports 1812/1813) and encrypts only the password; TACACS+ uses TCP port 49 and encrypts the whole packet - a classic exam trap.
  • 802.1X provides port-based network access control, often paired with RADIUS for wired/wireless authentication (EAP).
  • Least privilege: give users the minimum access needed, nothing more.

Wireless security

  • WPA3 is the current standard: uses SAE (Simultaneous Authentication of Equals) instead of the old WPA2 PSK 4-way handshake, closing the KRACK vulnerability.
  • WPA2 uses AES-CCMP; avoid WEP and WPA(1)/TKIP entirely - both are deprecated and insecure.
  • Enterprise wireless (WPA2/3-Enterprise) authenticates each user via 802.1X/RADIUS rather than one shared key.

VPNs and remote access

  • IPSec provides site-to-site or client VPNs using two modes: Transport (payload only) and Tunnel (whole packet, used for site-to-site).
  • IPSec has two core protocols: AH (Authentication Header - integrity only, no encryption) and ESP (Encapsulating Security Payload - encryption and integrity).
  • SSL/TLS VPNs (often via a web portal) need no special client software - simpler for remote users.

Threats and mitigations

  • Know the difference: a vulnerability is a weakness, a threat is what could exploit it, and risk is the likelihood x impact.
  • On-path (man-in-the-middle) attacks intercept traffic between two parties - mitigate with encryption and certificate checks.
  • DoS floods a target; DDoS uses many distributed sources - mitigate with rate limiting and traffic scrubbing.
  • Social engineering (phishing, tailgating) bypasses technical controls entirely - user training is the real defence.

Common mistakes

  • Mixing up RADIUS (UDP, partial encryption) and TACACS+ (TCP, full encryption).
  • Forgetting WPA3 uses SAE, not PSK, for its key exchange.
  • Confusing AH (no encryption) with ESP (encrypts) in IPSec.
  • RADIUS uses UDP ports 1812/1813 and only encrypts the password field.
  • TACACS+ uses TCP port 49 and encrypts the entire packet payload.
  • WPA3 replaces the WPA2 PSK handshake with SAE (Simultaneous Authentication of Equals).
  • WPA2 uses AES-CCMP for encryption; WEP and WPA/TKIP are deprecated and insecure.
  • AAA stands for Authentication, Authorization, and Accounting.
  • IPSec Tunnel mode encrypts the whole packet and is used for site-to-site VPNs; Transport mode encrypts only the payload.
  • IPSec AH (Authentication Header) provides integrity only, with no encryption; ESP provides both encryption and integrity.
  • A DMZ (or screened subnet) sits between two firewalls to isolate public-facing servers from the internal LAN.
  • 802.1X provides port-based network access control, typically paired with RADIUS via EAP.
  • DoS attacks come from one source; DDoS attacks come from many distributed sources.
  • Risk equals likelihood multiplied by impact, distinct from a vulnerability (a weakness) or a threat (what could exploit it).
  • Stateful firewalls track connection sessions; stateless firewalls inspect each packet in isolation.
What ports does RADIUS use and what does it encrypt?
UDP 1812/1813; encrypts only the password, not the whole packet.
tap to reveal
What port does TACACS+ use and what does it encrypt?
TCP port 49; encrypts the entire packet payload.
tap to reveal
What key exchange does WPA3 use instead of WPA2's PSK handshake?
SAE - Simultaneous Authentication of Equals.
tap to reveal
Which wireless encryption method does WPA2 use?
AES-CCMP.
tap to reveal
What does AAA stand for in network security?
Authentication, Authorization, Accounting.
tap to reveal
What is the difference between IPSec Transport and Tunnel mode?
Transport encrypts only the payload (host-to-host); Tunnel encrypts the whole packet (site-to-site).
tap to reveal
What does IPSec AH provide, and what does ESP add?
AH gives integrity only, no encryption. ESP adds encryption plus integrity.
tap to reveal
What is a DMZ and why use one?
A screened subnet between two firewalls that hosts public-facing servers, isolating them from the internal LAN if breached.
tap to reveal
What does 802.1X provide?
Port-based network access control, often paired with RADIUS using EAP.
tap to reveal
How does a DoS attack differ from a DDoS attack?
DoS comes from a single source; DDoS comes from many distributed sources.
tap to reveal
How is risk defined relative to threat and vulnerability?
Risk = likelihood x impact; a vulnerability is a weakness, a threat is what could exploit it.
tap to reveal
What is the difference between a stateful and stateless firewall?
Stateful tracks the connection session; stateless inspects each packet independently with no memory of prior packets.
tap to reveal
What is an on-path (man-in-the-middle) attack and how is it mitigated?
Interception of traffic between two parties; mitigated with encryption and certificate validation.
tap to reveal
Why are WEP and WPA/TKIP considered insecure today?
Both are deprecated with known cryptographic weaknesses; use WPA2 (AES-CCMP) or WPA3 (SAE) instead.
tap to reveal
What is the principle of least privilege?
Grant users only the minimum access required to do their job, nothing more.
tap to reveal

Troubleshooting

The troubleshooting methodology

CompTIA expects a repeatable process, not guesswork. Learn the seven steps in order:

  • Identify the problem — gather info, question users, identify symptoms, duplicate the problem if possible, approach multiple problems individually.
  • Establish a theory of probable cause — question the obvious first, consider common causes before rare ones.
  • Test the theory to determine cause — once confirmed, work out the next step; if not confirmed, re-theorise or escalate.
  • Establish a plan of action and identify potential effects.
  • Implement the solution or escalate.
  • Verify full system functionality and, if applicable, implement preventive measures.
  • Document findings, actions, outcomes and lessons learned.

Cable and physical-layer problems

Check the physical layer first — it is the cheapest and fastest thing to rule out.

  • Attenuation (signal weakens over distance), latency and jitter all point to cabling or interference.
  • Crosstalk (near-end NEXT, far-end FEXT) comes from untwisted pairs or poor termination.
  • Wrong cable category (Cat5e vs Cat6a) or exceeding the 100 metre copper Ethernet limit causes intermittent drops.
  • Open/short circuits, bad connectors (TIA/EIA-568A vs 568B mismatches) and split pairs are found with a cable tester or TDR (time-domain reflectometer).
  • Fibre issues need an OTDR (optical time-domain reflectometer) or a light meter to check dB loss.

Common software and configuration issues

  • Duplicate IP address — two devices with the same IP causes intermittent connectivity; the OS will usually warn you.
  • Incorrect subnet mask or default gateway stops traffic leaving the local segment.
  • DNS problems (wrong server, expired record, no reverse lookup) look like 'the internet is down' but only name resolution has failed — test with ping to an IP versus a hostname.
  • DHCP scope exhaustion or APIPA addresses (169.254.x.x) mean a client couldn't lease an IP.
  • VLAN mismatch — a port assigned to the wrong VLAN cuts a device off from its expected network silently.
  • Asymmetrical routing and routing loops cause one-way traffic or high latency.

Wireless-specific issues

  • Interference from other 2.4GHz devices (microwaves, Bluetooth) or channel overlap.
  • Wrong SSID, weak signal (RSSI), or wrong encryption (WPA2 vs WPA3) causing failed associations.
  • Antenna placement, absorption and reflection cause dead zones.

Common mistakes to avoid

  • Skipping the identify step and jumping straight to fixing — you may fix the wrong thing.
  • Not documenting the fix, so the same fault recurs and nobody learns from it.
  • Changing multiple variables at once, making it impossible to know what actually fixed it.
  • Forgetting to verify full functionality after the fix — a partial fix can look complete but isn't.

Key tools to know

  • ping, traceroute/tracert, nslookup/dig, ipconfig/ifconfig, netstat, arp -a, tcpdump/Wireshark, and cable testers/toner probes for physical faults.
  • The CompTIA troubleshooting methodology has 7 steps: identify, theorise, test theory, plan of action, implement/escalate, verify, document.
  • Always question the obvious/common causes before rare ones when establishing a theory.
  • Standard copper Ethernet cable runs are limited to 100 metres before signal degrades too far.
  • NEXT = near-end crosstalk, FEXT = far-end crosstalk — both caused by poor twisting/termination.
  • A TDR (time-domain reflectometer) locates faults in copper cable; an OTDR does the same for fibre.
  • An APIPA address (169.254.x.x) means a client failed to get a DHCP lease and self-assigned.
  • Duplicate IP addresses cause intermittent connectivity and the OS usually raises a conflict warning.
  • DNS failure often looks like total internet outage — test by pinging an IP directly to isolate it.
  • Wrong VLAN assignment on a switch port silently isolates a device from its intended network.
  • WPA2 vs WPA3 mismatches between client and AP will cause wireless association failures.
  • Document every fix — undocumented fixes lead to repeat faults and wasted future troubleshooting time.
  • Verifying full system functionality after implementing a fix is a required final step, not optional.
What are the 7 steps of the CompTIA troubleshooting methodology, in order?
Identify the problem, establish a theory of probable cause, test the theory, establish a plan of action, implement the solution (or escalate), verify full functionality, document findings.
tap to reveal
What is the maximum cable run length for standard copper Ethernet?
100 metres.
tap to reveal
What tool locates a fault along a copper cable run?
A TDR (time-domain reflectometer).
tap to reveal
What tool locates a fault along a fibre optic run?
An OTDR (optical time-domain reflectometer).
tap to reveal
What does an APIPA address (169.254.x.x) tell you?
The client failed to obtain an address from DHCP and self-assigned one.
tap to reveal
What is NEXT in cabling terms?
Near-end crosstalk — interference measured at the same end as the transmitter, caused by poor twisting or termination.
tap to reveal
What is FEXT?
Far-end crosstalk — interference measured at the opposite end of the cable from the transmitter.
tap to reveal
A user says 'the internet is down' but ping to an IP works and ping to a hostname fails. What's the likely cause?
DNS resolution failure, not a full outage.
tap to reveal
Two devices report the same IP address on the network — what symptom does this cause?
Intermittent connectivity for both devices, usually with an IP conflict warning from the OS.
tap to reveal
A device can't reach anything outside its own subnet but local traffic works fine. What should you check first?
The default gateway configuration.
tap to reveal
What causes a device to be silently cut off from its intended network segment despite a working physical link?
Incorrect VLAN assignment on the switch port.
tap to reveal
Why does mixing WPA2 and WPA3 between client and access point cause problems?
It causes association/authentication failures because the encryption standards don't match.
tap to reveal
Why is 'test the theory' a separate step from 'establish the theory' in the methodology?
You must confirm the suspected cause is actually correct before acting on it — if not confirmed, re-theorise or escalate rather than proceeding blind.
tap to reveal
What is the risk of changing multiple configuration variables at once while troubleshooting?
You won't know which change actually fixed the issue, making the fault harder to understand or repeat if it recurs.
tap to reveal
Why must you document findings after resolving an issue, per the CompTIA methodology?
So the fix and root cause are recorded, preventing repeat faults and wasted future troubleshooting time.
tap to reveal