Network Topologies
Network Topologies
Wired Topologies
Star topology: All devices connect to a central wiring point (hub or switch). Data passes through this central point. If one computer or cable fails, others are unaffected. Disadvantage: failure of the central device causes a single point of failure — the entire network goes down.
Mesh topology: Every device is connected to every other device. Provides high redundancy — if one or more connections fail, devices can still communicate. However, it requires extensive cabling and network interfaces, making it expensive. Used mainly on wide area networks (like the internet) rather than local area networks (LANs).
Point-to-point topology: Two hosts are directly connected using a single cable. The simplest form of topology. Hosts can be computers, routers, switches, or servers.
Hybrid topology: A combination of two or more different topologies (e.g., star-mesh, point-to-point-star) used within an organization.
Spine-leaf topology: Creates a full mesh connection in a network using two layers:
Spine switches: Backbone of the network; each spine switch connects to every leaf switch but not to other spine switches.
Leaf switches: Connect to every spine switch and to servers. The maximum number of hops between any two servers is two, reducing latency and improving performance. Multiple paths create redundancy and reduce bottlenecks.
Three-Tier Hierarchical Model (Cisco)
Core layer: High-speed backbone made of routers and switches with redundant links. Provides access to internal and external networks.
Distribution layer: Acts as a middleman between core and access layers. Provides intelligent switching, routing, and network access policies. Uses routers and Layer 3 switches.
Access layer: Where users connect (computers, switches) to access network resources.
Collapsed core model: Combines core and distribution layers into a single layer (two-tier model). Used in smaller networks to reduce cost.
Traffic Flow Terms
East-west traffic: Network traffic between machines within the same data center.
North-south traffic: Data traveling to or from a system outside the data center (e.g., between data centers or to the internet).
The OSI Model
The Open Systems Interconnection (OSI) model breaks down data communication into seven layers, numbered from bottom to top.
Layer 1 – Physical Layer
Transmits raw bits over physical media (cables, connectors).
Defines network topology.
Layer 2 – Data Link Layer
Organizes raw bits into frames by adding headers and trailers.
Adds a MAC address (unique identifier for each network device) in the header.
Switches operate at this layer using MAC addresses to forward frames.
Layer 3 – Network Layer
Routes frames across different networks using IP addresses.
Breaks data into packets.
Routers and Layer 3 switches operate at this layer.
Layer 4 – Transport Layer
Provides transfer of data between end users using TCP (reliable) or UDP (unreliable).
TCP: Acknowledges receipt, resends lost packets, reassembles data in correct order, performs error checking.
UDP: Faster, no delivery guarantee; used for streaming video and real-time applications.
Layer 5 – Session Layer
Controls dialogue during communication (start, manage, end sessions). Example: video call session management.
Layer 6 – Presentation Layer
Translates data into a readable format. Handles compression/decompression and encryption/decryption. Also called the translation layer.
Layer 7 – Application Layer
The layer users interact with. Uses application protocols such as HTTP, FTP, email.
Networking Devices
Switch
Connects devices on a local network using Ethernet ports.
Intelligent – learns MAC addresses of connected devices and stores them in a table. Forwards data only to the intended destination port.
Router
Routes data between networks based on IP addresses.
Inspects packet IP address; forwards to another network if not meant for its own network. Acts as the gateway for a network.
Firewall
Prevents unauthorized access to a private network by filtering incoming and outgoing traffic based on rules (access control list). Creates a barrier between private network and the public internet.
Intrusion Detection/Prevention System (IDS/IPS)
Placed between the internet and firewall. Monitors traffic for suspicious patterns (viruses, malware, hackers). Alerts administrators or blocks threats.
Load Balancer (Hardware or Software)
Distributes data activity evenly across multiple servers to prevent any single server from being overwhelmed.
Quality of Service (QoS)
Feature in routers/switches that prioritizes bandwidth for certain applications or devices (traffic shaping). Example: give voice communication higher priority than web browsing.
Proxy Server
Acts as a middleman between a private network and the internet.
Forward proxy: Clients go through the proxy, which fetches data on their behalf. Benefits:
Regulates traffic (blocks harmful websites)
Hides client identities (masks IP addresses)
Logs user activity
Can bypass restricted content
Caches frequently visited websites for speed
NAS (Network Attached Storage)
Storage device connected to a network via a switch or router. Used for storing data; often has multiple drives in RAID for redundancy. Commonly used in homes and small-to-medium businesses.
SAN (Storage Area Network)
A high-speed dedicated network for storage, consisting of disk arrays, switches, and servers. Fault-tolerant; data is accessed as if it were a local hard drive. Expensive; used by large companies.
Wireless Access Point (AP)
Allows wireless devices to connect to an existing wired network. Relays data between wired network and wireless devices. Often placed strategically throughout a building. May connect to a Wireless LAN Controller (WLC) for centralized management.
Content Delivery Network (CDN)
A network of edge servers (points of presence, POPs) placed geographically to cache website content. Speeds up website loading by bringing content closer to the user. Reduces latency caused by long distances.
Virtualization and Cloud
Virtualization
Simulating hardware and software in a virtual environment. Allows one physical server to run multiple virtual machines (VMs) with different operating systems and applications side by side.
Hypervisor: Software that creates and runs VMs, allocating physical resources (CPU, RAM, storage) to each VM.
Cloud Computing
Deployment Models
Public cloud: Services available to anyone over the internet (e.g., Amazon Web Services, Microsoft Azure, Google Cloud Platform).
Private cloud: Services offered to private users only (e.g., internal company website).
Hybrid cloud: Combination of public and private models.
Virtual Private Cloud (VPC)
An isolated private network within a public cloud. Provides security by preventing sharing of resources with other clients. Can create subnets (public and private), configure internet gateways, VPNs, route tables, etc.
Cloud Characteristics
Scalability: Add resources on the fly.
Elasticity: Dynamically adjust resources up or down.
Multi-tenancy: Multiple customers share the same infrastructure.
Service Models
Infrastructure as a Service (IaaS): Cloud provider manages hardware (servers, storage, networking, virtualization). User manages operating system, applications, data. Example: online backup services.
Platform as a Service (PaaS): Provider also manages operating system, middleware, runtime. User only manages applications and data.
Software as a Service (SaaS): Everything hosted by provider; user accesses application via web browser. Example: Google Docs.
Ports, Protocols, and Packet Details
Important Ports (for CompTIA Network+)
Port | Protocol | Use |
|---|---|---|
80 | HTTP | Web pages (unsecured) |
443 | HTTPS | Secure web pages |
25 | SMTP | Sending email |
Additional ports (not explicitly listed but commonly known): 22 (SSH), 23 (Telnet), 53 (DNS), 110 (POP3), 143 (IMAP), 3389 (RDP), etc. The video emphasized the ones above for the exam.
TCP vs. UDP
TCP (Transmission Control Protocol): Connection-oriented – uses a three-way handshake (SYN, SYN-ACK, ACK) to establish a session. Guarantees delivery, retransmits lost packets, reassembles in order. Used for reliable data (web pages, file downloads, email).
UDP (User Datagram Protocol): Connectionless – no session establishment, no delivery guarantee. Faster than TCP, known as "fire and forget." Used for streaming video, online gaming, VoIP.
IPSec (Internet Protocol Security)
Provides security at the network layer (Layer 3) by adding encryption and authentication.
Commonly used for VPNs.
Two phases using IKE (Internet Key Exchange):
Phase 1: Establish a secure tunnel to negotiate authentication and encryption parameters.
Phase 2: Create the IPSec tunnel for data transfer.
Two protocols for protection:
AH (Authentication Header): Authentication and integrity only, no encryption.
ESP (Encapsulating Security Payload): Authentication, integrity, and encryption (preferred).
Two modes:
Transport mode: Encrypts TCP header, payload, ESP trailer; used for device-to-device connections.
Tunnel mode: Encrypts entire original packet (including IP header) and adds a new IP header; used for site-to-site VPNs.
GRE (Generic Route Encapsulation)
Used with PPTP to create VPN tunnels. Encapsulates data in a secure manner.
Traffic Types
Broadcast: Single transmitter, data received by every device on the network (e.g., ARP request).
Unicast: One-to-one communication.
Multicast: Data sent to multiple devices at the same time, but not all.
Anycast: Data sent to the nearest device (often used in CDNs and routing).
Wireless Networking
Wi-Fi Standards (IEEE 802.11)
The IEEE 802.11 project defines wireless standards. Key standards (from video chart):
Standard | Generation | Max Speed | Frequency | Year |
|---|---|---|---|---|
802.11 | – | 2 Mbps | 2.4 GHz | 1997 |
802.11b | Wi-Fi 1 | 11 Mbps | 2.4 GHz | 1999 |
802.11a | Wi-Fi 2 | 54 Mbps | 5 GHz | 1999 |
802.11g | Wi-Fi 3 | 54 Mbps | 2.4 GHz | 2003 |
802.11n | Wi-Fi 4 | 600 Mbps | 2.4/5 GHz | 2009 |
802.11ac | Wi-Fi 5 | 3.5 Gbps | 5 GHz | 2014 |
802.11ax | Wi-Fi 6/6E | 9.6 Gbps | 2.4/5/6 GHz | 2019 |
802.11be | Wi-Fi 7 | 46 Gbps | 2.4/5/6 GHz | 2024 |
Frequency Bands
2.4 GHz: Longest range, but common and prone to interference (microwaves, cordless phones). Slowest band.
5 GHz: Faster, less interference, shorter range.
6 GHz: Fastest, lowest interference, shortest range.
Wi-Fi Channels
Channels are smaller frequency ranges within a band. Bandwidths: 20, 40, 80, 160 MHz.
2.4 GHz band has 11 channels (in the US); only three non-overlapping channels: 1, 6, 11.
802.11h Standard
Focuses on Dynamic Frequency Selection (DFS) and Transmit Power Control (TPC) in the 5 GHz band (mainly Europe). DFS allows devices to detect radar and change channels; TPC limits transmit power to avoid interference.
Band Steering
Modern Wi-Fi routers automatically connect dual-band devices to the best available band (e.g., 5 GHz for speed, 2.4 GHz for range).
Wireless Network Types
Infrastructure: Wired and wireless devices connect through a central access point (star-like). Multiple APs can extend coverage.
Ad hoc: Simple peer-to-peer network without infrastructure; devices connect directly.
Wireless Mesh: Group of APs communicating wirelessly to blanket an area with Wi-Fi, eliminating dead spots.
Point-to-Point Wireless: Two APs in different locations connected wirelessly; requires clear line of sight; uses directional antennas.
Wireless Security Protocols
WEP (Wired Equivalent Privacy): Old, easily hacked – not used.
WPA (Wi-Fi Protected Access): Uses TKIP encryption, dynamically changes keys. Outdated.
WPA2: Requires AES encryption, stronger than WPA. Common in modern networks.
WPA3: Latest; uses AES with GCMP, includes OWE (Opportunistic Wireless Encryption) for open public networks.
Guest Network
Isolates visitor devices from the main network. Provides internet access only; no access to other devices.
Captive Portal
A web page that requires login or acceptance of terms before granting network access. Common in airports, hotels.
Enterprise Authentication vs. Pre-Shared Key (PSK)
PSK: One password for all users (home use).
Enterprise Authentication: Unique usernames/passwords per user; uses a RADIUS server for centralized authentication. Suitable for corporate networks.
Antennas
Omnidirectional: Transmits in all directions (most common).
Directional: Focuses signal in one direction (used for point-to-point links).
Lightweight vs. Autonomous Access Points
Lightweight AP: Depends on a central Wireless LAN Controller (WLC) for management; used in large networks.
Autonomous AP: Standalone device handling its own configuration; simpler for small networks.
Cables and Connectors
Ethernet Cables (Copper Twisted Pair)
Unshielded Twisted Pair (UTP): Four pairs of color-coded wires twisted to prevent interference; common in homes and businesses.
Shielded Twisted Pair (STP): Foil shield around wires for extra protection against EMI; used in industrial settings.
Cable Categories (UTP)
Category | Max Speed | Notes |
|---|---|---|
Cat 3 | 10 Mbps | Obsolete |
Cat 5 | 100 Mbps | Obsolete |
Cat 5e | 1 Gbps | Common in modern networks |
Cat 6 | 1 Gbps | Up to 250 MHz |
Cat 6a | 10 Gbps | Up to 500 MHz |
Cat 7 | 10 Gbps | Shielded version of Cat 6a |
Cat 8 | 40 Gbps | Shielded, up to 30 meters |
Direct Attach Copper (DAC)
High-speed copper cable for short distances (e.g., within a rack). Uses twinaxial cables terminated with SFP connectors. Lower latency, higher speed than Ethernet.
Plenum vs. Non-Plenum Cables
Plenum space: Area above drop ceiling with open airflow. Cables must be fire-resistant and produce minimal toxic fumes.
Plenum cables: Required for plenum spaces.
Non-plenum cables: Used in areas with encapsulated air ducts (less fire risk).
Coaxial Cables
RG6: For long distances; used for cable TV and broadband internet.
RG59: For short distances; used for high-definition video.
Fiber Optic Cables
Use pulses of light; very fast and long-range.
Single Mode Fiber (SMF): Light enters at a single angle; for long distances.
Multimode Fiber (MMF): Light travels in multiple beams; for short distances.
Connectors
RJ11: 4-wire connector for telephone; smaller than RJ45.
RJ45: 8-pin connector for UTP (Ethernet); most common network connector.
F-Type: Threaded connector for coaxial cables (cable modems, satellite).
BNC (Bayonet Neill-Concelman): RF connector for coaxial cable; used in video/audio.
SC (Standard Connector): Square push-pull fiber connector; used between floors.
LC (Lucent Connector): Half the size of SC, latch similar to RJ45; popular for high-density panels.
MPO (Multi-fiber Push-On): Multiple fibers combined; used in high-density environments.
ST (Straight Tip): Half-twist bayonet lock; used with single-mode fiber; larger, less common now.
Ethernet Standards (IEEE 802.3)
Examples (from video):
10Base-T: 10 Mbps, baseband, twisted pair, max 100 meters.
100Base-TX: 100 Mbps, twisted pair, max 100 meters.
1000Base-T: 1 Gbps, twisted pair, max 100 meters.
10GBase-T: 10 Gbps, twisted pair, max 100 meters.
Also fiber versions like 1000Base-SX (short wavelength multimode) and 1000Base-LX (long wavelength single/multimode).
IP Addressing and Subnetting
Public vs. Private IP Addresses (IPv4)
Public IP: Registered on the internet; unique; required to access the worldwide web.
Private IP: Not routable on the internet; used internally. Defined by RFC 1918 to conserve public IPv4 addresses.
NAT (Network Address Translation) and PAT (Port Address Translation)
NAT: Converts private IPs to a single public IP and vice versa, built into routers.
PAT: Extends NAT by using port numbers to allow multiple devices to share one public IP.
Private IP Ranges (RFC 1918)
Class | Range | Used for |
|---|---|---|
A | 10.0.0.0 – 10.255.255.255 | Large organizations |
B | 172.16.0.0 – 172.31.255.255 | Medium organizations |
C | 192.168.0.0 – 192.168.255.255 | Small organizations and homes |
IPv4 Address Format
32-bit numeric address written as four octets (e.g., 192.168.1.1). Each octet ranges 0–255.
Consists of network address (network ID) and host address (host ID). Subnet mask determines which portion is which.
Subnet Mask
A 32-bit number that masks the network portion of the IP address.
Default subnet masks for classes:
Class A: 255.0.0.0 (/8)
Class B: 255.255.0.0 (/16)
Class C: 255.255.255.0 (/24)
Expressed in CIDR (slash) notation: e.g., /24 means 24 bits of network.
Binary Conversion
Each octet can be represented by 8 bits. The value of each bit from left to right: 128, 64, 32, 16, 8, 4, 2, 1.
Example: 192 = 11000000 (128+64), 168 = 10101000 (128+32+8), 1 = 00000001, 0 = 00000000.
Determining Network and Host Parts
Align IP and subnet mask in binary. Where the subnet mask has 1s, those bits represent the network portion; 0s represent host portion.
Custom Subnet Masks (Subnetting)
Borrow bits from the host portion to create more networks (subnets). Each borrowed bit doubles the number of subnets but halves the number of hosts per subnet.
Example: For a /24 network (255.255.255.0), borrowing 2 bits gives a mask of 255.255.255.192 (/26) -> 4 subnets with 62 hosts each.
IP Address Classes
Class | First Octet Range | Default Subnet Mask | Max Hosts |
|---|---|---|---|
A | 1–126 | 255.0.0.0 | ~16 million |
B | 128–191 | 255.255.0.0 | 65,534 |
C | 192–223 | 255.255.255.0 | 254 |
D | 224–239 | (multicast) | – |
E | 240–255 | (experimental) | – |
APIPA (Automatic Private IP Addressing)
When a Windows computer cannot reach a DHCP server, it self-assigns an IP in the range 169.254.0.1 – 169.254.255.254 with a subnet mask of 255.255.0.0. Allows local communication only (not routable).
SLAAC (Stateless Address Autoconfiguration) – IPv6
Built into IPv6; devices autoconfigure their own IP address using router advertisements and MAC address. Routable, unlike APIPA.
DHCP Relay
A service on a router that forwards DHCP broadcast requests to a DHCP server on a different subnet, enabling centralized IP assignment.
Advanced Networking Concepts
SDN (Software-Defined Networking)
Separates the control plane (decisions about traffic) from the data plane (forwarding).
Centralized software manages and configures all network traffic, allowing prioritization, load balancing, scalability, improved performance, and security (segmentation/isolation).
SD-WAN (Software-Defined Wide Area Network)
Virtual WAN using software to manage long-distance networks.
Features:
Application-aware: Identifies and prioritizes traffic by application.
Zero-touch provisioning: Automatically configures new devices.
Transport agnostic: Works over any physical infrastructure (broadband, 5G, satellite, MPLS).
Central policy management: Centralized controller for policies and configuration.
Offers better performance at lower cost compared to traditional WANs.
VLAN (Virtual Local Area Network)
Logically groups devices into separate network segments regardless of physical location.
Purpose: improved security, traffic management, simpler network.
VLANs isolate broadcast traffic. Devices in different VLANs do not see each other’s broadcasts unless routed.
Configured by assigning ports on a switch to specific VLANs.
802.1Q Tagging and VLAN Trunks
VLAN trunk: A single physical cable between switches that carries traffic for multiple VLANs.
Frames are tagged with a VLAN ID using the 802.1Q standard. The receiving switch reads the tag and forwards to the correct VLAN.
Native VLAN: An untagged VLAN on a trunk port, used for devices that do not support VLAN tags.
VLAN Limitations
Operate at Layer 2 only (not routable beyond local network).
Maximum of 4,094 VLANs per switch (12-bit VLAN ID).
VXLAN (Virtual Extensible LAN)
Overcomes VLAN limitations: supports up to 16 million virtual networks and is routable across different geographical locations.
Uses a VNI (VXLAN Network Identifier) to tag frames.
VTEP (VXLAN Tunnel Endpoint) encapsulates frames into VXLAN headers for transport over IP networks.
Enables Data Center Interconnect (DCI) – making multiple data centers act as one local network.
Layer 2 vs. Layer 3 Switches
Layer 2 switch: Traditional switch forwarding based on MAC addresses.
Layer 3 switch (multilayer): Can also route using IP addresses, combining switching and routing.
Link Aggregation
Combines multiple physical ports into one logical link to increase bandwidth and provide redundancy.
Duplex and Speed
Full duplex: Simultaneous two-way communication (sends and receives at same time). Doubles bandwidth.
Half duplex: One direction at a time.
Auto-negotiation: Protocol that automatically selects best speed and duplex mode between connected devices.
Interface speed must match or exceed the connected device's speed; otherwise, the lower speed is used.
MTU (Maximum Transmission Unit)
Default Ethernet MTU: 1500 bytes. Frames larger than 1500 bytes are called jumbo frames (typically 9000 bytes). Used in high-speed internal networks (gigabit/10-gigabit).
Routing
Routing Tables
A file on a router showing paths (routes) to destinations. Populated in three ways:
Directly connected: Automatically when an interface is configured with an IP address and subnet mask.
Static routes: Manually entered by an administrator.
Dynamic routes: Learned automatically from other routers using routing protocols.
Dynamic Routing Protocols
RIP (Routing Information Protocol): Oldest; broadcasts routing info every 30 seconds; RIP v2 reduced broadcast traffic.
OSPF (Open Shortest Path First): Link-state protocol using shortest path first algorithm; exchanges link-state advertisements (LSAs) to build topology map.
BGP (Border Gateway Protocol): Standard routing protocol of the internet; distance vector based on hops and policies.
EIGRP (Enhanced Interior Gateway Routing Protocol): Cisco proprietary; hybrid of distance vector and link-state; uses DUAL algorithm for best path.
Route Selection
Three factors:
Administrative distance (AD): Trustworthiness of the route source; lower number = higher priority.
Prefix length (longest match): More specific (longer prefix) route is preferred.
Metric: Numerical cost of a path; lower metric = better path.
Network Documentation and Management
Diagrams
Physical diagram: Shows actual hardware, cable types, connections, physical layout.
Logical diagram: Shows functionality, data flow, IP addressing, subnets, routing.
Rack diagram: Shows equipment placement in server rack (exact positions).
Cable map: Shows how cables are connected and routed between devices.
Layer 1, 2, 3 diagrams: Physical, MAC addressing, and IP/network layer views.
Asset Inventory
Comprehensive list of all physical and non-physical assets (servers, routers, software licenses, warranties). Helps track location, usage, and plan upgrades.
IPAM (IP Address Management)
Planning, tracking, and managing IP addresses to avoid conflicts and ensure unique addressing.
Service Level Agreement (SLA)
Contract between service provider and customer specifying performance standards, measurement methods, and consequences for not meeting them.
Wireless Survey Heat Map
Visual representation of Wi-Fi signal strength on a floor plan. Identifies dead zones and helps decide where to place access points and which channels to use.
End of Life (EOL) and End of Service (EOS)
EOL: Product reaches end of useful life; may be replaced or phased out.
EOS: No more support (firmware updates, security patches). After EOS, devices should be decommissioned (erased data, disposed of safely).
Software/Firmware Management
Patch management: Installing updates to fix bugs and security holes.
Firmware updates: Improve hardware device performance and security.
Change Management
Formal process for making changes to IT systems. Minimizes disruption, documents changes, follows industry best practices.
Configuration Management
Documents and maintains network device configurations. Includes production configuration (current active config) and backups for quick recovery.
Baseline
Measures network performance at a given time (both good and bad). Used for comparison and optimization.
Golden configuration: The approved, best-performance baseline serving as a standard.
Network Management Protocols and Tools
SNMP (Simple Network Management Protocol)
Collects data from network devices.
SNMP Manager: Centralized server.
SNMP Agent: Runs on devices; stores info in MIB (Management Information Base).
Manager requests via port 161 (UDP); agents send traps (alerts) via port 162 (UDP).
Versions:
v1: Plain text community string (insecure).
v2c: Improved error handling, get-bulk, inform request, but still plain text.
v3: Strongest security (integrity checking, encryption, authentication).
NetFlow
Data flow analyzer; monitors packets entering/exiting network interfaces. Provides visibility into traffic patterns.
Packet Capture (Sniffer)
Software or hardware tool to capture and analyze packets. Common tool: Wireshark.
Baseline Metrics
Key performance indicators: bandwidth usage, latency, packet loss, traffic patterns. Used to detect anomalies.
Log Aggregation and Syslog
Log aggregation: Collecting logs from multiple sources into a centralized location for analysis.
Syslog: Standard logging protocol. Devices send messages to a syslog server (port 514 UDP) for monitoring and troubleshooting.
SIEM (Security Information and Event Management)
Combines security information management and security event management. Provides real-time analysis of security alerts.
Port Mirroring
Copies traffic from one switch port (source) to another port (destination) for monitoring. Destination port connects to a packet analyzer.
Network Discovery
Locating and listing network resources. Tools: SNMP, network scanners, LLDP (Link Layer Discovery Protocol, open standard) and CDP (Cisco Discovery Protocol, proprietary). Can be ad hoc or scheduled.
Network Traffic Analysis
Analyzing data to understand communication patterns, detect threats, improve performance.
Performance Monitoring
Proactive tracking using SNMP, NetFlow, etc., to detect and fix issues before they affect operations.
Availability Monitoring
Observing which resources and devices are accessible.
Configuration Monitoring
Tracking configuration changes and current settings.
Disaster Recovery and High Availability
Disaster Recovery (DR)
Process to restore IT infrastructure after a disaster (natural, cyberattack, etc.).
RPO (Recovery Point Objective): Maximum acceptable data loss (time from last backup).
RTO (Recovery Time Objective): Maximum acceptable downtime.
MTTR (Mean Time To Repair): Average time to fix a failed device/system.
MTBF (Mean Time Between Failures): Average uptime before failure; higher is better.
Recovery Sites
Hot site: Fully functional alternative site with all equipment powered up and ready to take over immediately (expensive).
Warm site: Partially equipped; has some essential equipment.
Cold site: Just a building with no equipment; must be set up from scratch.
High Availability (HA)
Systems remain operational despite failures.
Active-active: All devices share workload; no delay on failure.
Active-passive: Standby devices activate only when a failure occurs (may cause delay).
Tabletop Exercises
Low-stress training where participants discuss emergency scenarios and responses; helps identify strengths and weaknesses in disaster plans.
DHCP (Dynamic Host Configuration Protocol)
Static vs. Dynamic IP Assignment
Static IP: Manually configured on each device.
Dynamic IP: Automatically assigned by a DHCP server.
DHCP Server Features
Scope: Range of IP addresses the server can assign.
Reservation: Ensures a device (identified by MAC address) always receives the same IP address. Used for servers, printers, routers.
Exclusion: IP addresses (or ranges) that the server will not assign; reserved for devices with static IPs.
Lease: The duration an IP address is assigned to a client. Typically renewed automatically.
APIPA (Windows)
If DHCP server unreachable, Windows assigns an IP in 169.254.x.x/16. Allows local communication only.
DHCP Relay (IP Helper)
Forwards DHCP broadcast requests from one subnet to a DHCP server on another subnet.
DNS (Domain Name System)
Purpose
Resolves human-readable domain names (e.g., example.com) to IP addresses.
DNS Hierarchy
Root servers (top of hierarchy)
TLD (Top-Level Domain) servers (e.g., .com, .org, .net)
Authoritative name servers – store DNS records for a specific domain.
DNS Records (Common)
A record: Maps domain name to an IPv4 address.
AAAA record (Quad A): Maps domain name to an IPv6 address.
CNAME (Canonical Name): Alias; maps one domain/subdomain to another domain name.
MX (Mail Exchanger): Points to the server that handles email for the domain. Has priority numbers (lower = primary).
NS (Name Server): Specifies the authoritative name server(s) for a domain.
PTR (Pointer): Reverse DNS lookup; maps an IP address to a domain name (used for email verification).
TXT (Text): Holds arbitrary text; often used for SPF, DKIM, etc., to prevent email spam.
TTL (Time To Live): Validity period of a record before it must be refreshed.
DNS Security
DNSSEC (Domain Name System Security Extensions): Adds digital signatures to DNS records to prevent tampering.
DoH (DNS over HTTPS): Encrypts DNS queries within HTTPS traffic for privacy.
DoT (DNS over TLS): Encrypts DNS queries using TLS on port 853.
Zones
Forward zone: Resolves domain names to IP addresses.
Reverse zone: Resolves IP addresses to domain names.
Host File
Local file on a computer that maps hostnames to IP addresses, bypassing DNS.
VPN (Virtual Private Network)
What is a VPN?
Establishes a secure, encrypted connection over an untrusted network (e.g., the internet). Hides IP address and encrypts data.
Benefits
Hides IP address: Websites see only the VPN server's IP.
Encrypts data: Protects from ISPs, hackers, and eavesdropping.
Tunneling: Encapsulates each packet for secure transit.
Types of VPN
Site-to-site VPN: Connects two separate offices over the internet; creates an alternative to expensive leased lines.
Client-to-site VPN (remote access): Connects a single computer to a remote network. Can use:
Full tunneling: All traffic goes through VPN (more secure, but may add latency).
Split tunneling: Only specific traffic (e.g., to remote network) uses VPN; other traffic goes direct (faster but less secure).
Clientless VPN: Uses a web browser (SSL/TLS) instead of dedicated software.
SSH (Secure Shell)
Securely accesses and administers network devices remotely via command line. Uses TCP port 22.
GUI (Graphical User Interface) and API Integration
GUI provides visual management of network settings.
API integration enables software applications to interact and exchange data.
Console Connection
Physical serial connection (RJ45, USB, DB9) to a device's console port for initial setup or troubleshooting when device has no IP address.
Jumpbox (Jump Server)
A secure gateway computer used to access other servers in a more restricted security zone.
In-Band vs. Out-of-Band Management
In-band: Management over the same network (e.g., SSH to device IP).
Out-of-band: Direct physical connection (e.g., console port) – used when network is unavailable.
Spanning Tree Protocol (STP) and Loop Prevention
Problem: Broadcast Loops
In networks with multiple switches, broadcasts can loop endlessly, causing a broadcast storm that brings the network to a halt.
STP (IEEE 802.1D) Solution
Prevents loops by blocking specific ports on switches while maintaining redundancy.
How STP Works
Root Bridge Election: Switches send BPDUs (Bridge Protocol Data Units) containing Bridge ID (priority + VLAN + MAC). The switch with the lowest Bridge ID becomes the root.
Root Ports: On non-root switches, the port with the lowest path cost (fastest path) to the root bridge is the root port.
Designated Ports: On each segment, the switch with the lowest Bridge ID has the designated port (forwarding).
Blocked Ports: Other ports are placed in blocking state to prevent loops.
Path Costs (Example)
Speed | Cost |
|---|---|
10 Mbps | 100 |
100 Mbps | 19 |
1 Gbps | 4 |
10 Gbps | 2 |
If a link fails, STP recalculates and unblocks the previously blocked port to restore connectivity.
Security Fundamentals
Encryption
Scrambles data using algorithms to make it unreadable without the decryption key. Protects data in transit (over network) and at rest (stored).
PKI (Public Key Infrastructure)
Uses digital certificates and public/private key encryption to verify identities and secure communications.
Certificate Authority (CA): Issues trusted certificates. Browsers trust CAs by default.
Self-signed certificates: Not automatically trusted; user must manually accept.
IAM (Identity and Access Management)
Framework for managing digital identities and controlling access to resources. Includes authentication, authorization.
LDAP (Lightweight Directory Access Protocol)
Standard protocol for accessing and managing directory services (e.g., Active Directory). Used for authentication and queries.
Authentication and MFA
Authentication: Verifying identity (e.g., username/password).
MFA (Multi-Factor Authentication): Requires at least two proofs of identity (something you know, have, or are).
SSO (Single Sign-On)
Allows users to log in once and access multiple applications without re-entering credentials.
TACACS+ (Terminal Access Controller Access-Control System Plus)
Cisco protocol for centralized authentication, authorization, and accounting (AAA).
Physical Security
Cameras: Deter crime, monitor premises.
Locks: Restrict access to equipment.
Honeypot/Honeynet: Decoy systems to attract attackers; used to study their methods without risk to real network.
Risk, Vulnerability, Exploit, Threat
Risk: Potential for harm; uncertainty of impact on valued assets.
Vulnerability: Weakness or flaw that could be exploited.
Exploit: Technique that takes advantage of a vulnerability.
Threat: Possible malicious action (virus, malware, phishing, ransomware, spyware).
CIA Triad
Confidentiality: Data is accessible only to authorized parties.
Integrity: Data is accurate and unaltered.
Availability: Data and systems are accessible when needed.
Data Locality
Keeping computations near the stored data to reduce network traffic and speed processing.
PCI DSS and GDPR
PCI DSS (Payment Card Industry Data Security Standard): Required for any business processing credit card data.
GDPR (General Data Protection Regulation): EU law governing personal data collection, use, and protection.
IIoT vs. IoT
IoT (Internet of Things): Everyday consumer devices (smart home, wearables).
IIoT (Industrial IoT): Connected industrial devices (machinery, transportation, energy).
SCADA, ICS, OT
SCADA (Supervisory Control and Data Acquisition), ICS (Industrial Control Systems), OT (Operational Technology): Systems for monitoring and controlling industrial equipment (power plants, water treatment). Communicate with PLCs and RTUs.
BYOD (Bring Your Own Device)
Employees use personal devices for work. Saves cost but introduces security risks (malware, data leakage).
Threats and Attacks
DDoS (Distributed Denial of Service)
Floods a target server or network with traffic to disrupt normal service.
VLAN Hopping
Attacker attempts to access VLANs they are not authorized to access, breaking VLAN isolation.
MAC Flooding
Overwhelms a switch's MAC address table with fake entries; switch enters fail-open mode (acts like a hub), allowing traffic sniffing.
ARP Spoofing (ARP Poisoning)
Attacker sends fake ARP replies, linking their MAC address to another device's IP. Enables man-in-the-middle (on-path) attacks.
DNS Poisoning (DNS Spoofing)
Alters DNS records to redirect users to malicious websites.
Rogue DHCP Server
An unauthorized DHCP server can assign incorrect IP addresses, cause IP conflicts, or perform man-in-the-middle attacks.
Rogue AP and Evil Twin
Rogue AP: Unauthorized wireless access point installed to steal data.
Evil Twin: A rogue AP broadcasting the same SSID as a legitimate one to trick users into connecting.
Dumpster Diving
Retrieving discarded items (paper documents, storage drives) to steal information.
Shoulder Surfing
Watching someone enter PINs or passwords in public.
Phishing
Fraudulent attempt to obtain sensitive information by posing as a legitimate entity (email, chat, website).
Malware
Malicious software (viruses, trojans, worms, ransomware, spyware). Often delivered via email attachments or malicious websites.
Tailgating
Physically following an authorized person into a restricted area without proper credentials.
Device Hardening and Network Security
Device Hardening
Reducing attack surface: disable unused ports/services, change default passwords, apply patches.
Network Access Control (NAC)
Only allows authorized, compliant devices onto the network. Enforces posture checks (e.g., antivirus, updates). Uses 802.1X port security and MAC filtering.
ACL (Access Control List)
Firewall rules that allow or deny traffic based on IP addresses, ports, URLs, or content.
Trusted vs. Untrusted Zones
Trusted zone: Internal network with high security.
Untrusted zone: Internet or other risky networks.
DMZ (Demilitarized Zone): A screened subnet that separates public-facing servers from the internal network. For example: a web server placed outside the internal firewall.
Network Issues and Troubleshooting
Common Network Issues
Congestion: Shared resource at capacity causing poor speeds/dropped packets.
Contention: Too many devices competing for the same resource.
Bottlenecking: A point where data flow is hindered (hardware, bandwidth, busy links).
Bandwidth: Maximum data transfer rate (bits per second). Higher bandwidth = more data capacity.
Latency: Time delay in network response (measured in ms). Caused by congestion, distance, hardware limitations.
Packet Loss: Data packets not reaching destination; leads to performance decrease.
Jitter: Variation in packet arrival times; disrupts real-time applications.
Wireless Issues:
Channel overlap: Interference from nearby networks on same/adjacent channels.
Signal degradation: Weak signal causing errors.
Client disassociation: Unexpected disconnection due to interference, poor signal, or attacks.
Insufficient coverage: Weak signal due to router placement or obstacles; use range extender or mesh.
Roaming misconfiguration: Problems with device handoffs between APs.
Troubleshooting Methodology
Gather information: Ask users: when did problem occur? Any error messages? Intermittent or constant?
Identify symptoms: Is problem isolated or widespread? Check likely devices (e.g., switch if everyone affected; cable/port for single computer).
Establish what has changed: Any hardware/software changes?
Duplicate the problem: Reproduce to confirm root cause.
Prioritize multiple problems: Tackle the most impactful issue first.
Establish theory of probable cause: Start with simple solutions (power, cables, LEDs). Use OSI model top-down (software) or bottom-up (hardware).
Test theory: If confirmed, plan resolution; if not, establish new theory or escalate.
Plan action with potential effects: Know impact (e.g., taking a device offline).
Implement solution or escalate.
Verify full system functionality and implement preventive measures.
Document the problem, cause, and solution.
Command-Line Tools
ping: Tests connectivity (sends ICMP echo request). Can use IP or domain name.
tracert (traceroute): Traces path packets take to destination, showing each hop (router) and time.
nslookup: Queries DNS to get IP address of a domain name (or vice versa).
arp: Shows/manages ARP cache (IP-to-MAC mappings). Use
arp -ato display table.netstat: Displays current network connections, open ports, and listening services.
netstat -ashows all.ipconfig: Displays TCP/IP configuration (Windows).
ipconfig /allshows full details (DHCP, DNS, MAC).tcpdump: Command-line packet capture and analysis (Linux/Unix).
nmap: Open-source network scanner for device discovery, port scanning, service detection.
LLDP / CDP: Layer 2 discovery protocols; show neighbor device information.
Speed test: Online tools measure download/upload speeds and latency.
Cable and Network Testing Tools
Cable tester: Verifies continuity and correct wiring for Ethernet cables.
Tone generator (fox and hound): Traces a specific cable among many by sending a tone.
Wi-Fi analyzer: Measures signal strength, channel usage, finds best AP placement.
Visual fault locator: Sends red laser light into fiber to find breaks or bends.
Network tap: Inserted between two devices to capture packet traffic for analysis.
Cisco IOS Show Commands
show mac address-table: Displays MAC addresses learned by switch, including port and VLAN.
show route: Shows routing table on router.
show interface: Shows status, speed, errors of an interface.
show config (or
show running-config): Current device configuration.show arp: ARP cache on device.
show vlan: VLAN IDs, ports, and status.
show power: Power usage details (voltage, current).

Ask anything
We've read this whole study set, so questions about it get the best answers.