CompTIA Network+ N10-009 Cram Guide

Open Systems Interconnection (OSI) Reference Model Concepts

  • Conceptual Framework: The OSI Model is a seven-layer framework used to understand network interactions, from physical transmission to application services. It provides standardization and interoperability across diverse technologies.
  • Layer 11 – Physical: Responsible for the physical transmission of raw bits over network media. It addresses hardware aspects including cables, switches, electrical signals, and light pulses, defining connection standards for devices and media.
  • Layer 22 – Data Link: Manages node-to-node data transfer and error detection/correction. It establishes and terminates connections between physically connected devices and handles data framing.
    • Media Access Control (MAC) Sublayer: Manages protocol access to the physical medium, using MAC addresses for channel access control in multipoint networks.
    • Logical Link Control (LLC) Sublayer: Acts as an interface between upper-layer software and lower-layer hardware, providing multiplexing for multiple network protocols (IP\text{IP}, IPX\text{IPX}) and providing flow and error control.
  • Layer 33 – Network: Handles logical addressing and packet routing. It uses routing protocols to determine the best path for data transmission, manages packet forwarding through routers, and handles network congestion.
  • Layer 44 – Transport: Ensures reliable, transparent data transfer between end systems. Mechanisms include error correction, flow control, and the segmentation/de-segmentation of data messages.
  • Layer 55 – Session: Manages the setup, maintenance, and termination of sessions between applications. It controls the dialog between end systems, supporting half-duplex or full-duplex communications.
  • Layer 66 – Presentation: Translates, encrypts, and compresses data. It acts as a translator, ensuring data is in a usable format for applications by mediating between different data formats and network protocols.
  • Layer 77 – Application: Serves as the user interface to network services. It defines protocols for end-user processes like file transfers, email, and web browsing.

Networking Appliances, Applications, and Functions

  • Physical vs. Virtual Appliances:
    • Physical Appliances: Dedicated hardware providing high performance and reliability, though they require physical space and have higher costs.
    • Virtual Appliances: Software-based solutions running on virtual machines. They offer flexibility, scalability, and cost efficiency, but may have lower raw performance than hardware.
  • Router: Operates at the Network Layer (Layer 33). It uses routing tables and IP\text{IP} addresses to direct packets between networks and often includes security features like firewalls and VPN\text{VPN} support.
  • Layer 22 Switch: Operates at the Data Link Layer, forwarding data based on MAC addresses and creating separate collision domains for each port.
  • Layer 33 Capable Switch (Multilayer Switch): Operates at both Layers 22 and 33. It performs routing functions based on IP\text{IP} addresses while maintaining switching capabilities, facilitating VLAN segmentation.
  • Firewall: A security device monitoring traffic flux based on defined rules. It creates a barrier between secure internal networks and untrusted external networks like the internet.
  • IPS/IDS Devices:
    • IDS (Intrusion Detection System): Passively monitors and alerts on suspicious activities.
    • IPS (Intrusion Prevention System): Actively blocks or prevents malicious activities based on signatures and policies.
  • Load Balancer: Distributes incoming traffic across multiple servers to optimize resource use, maximize throughput, and ensure high availability of applications.
  • Proxy Server: Acts as an intermediary between a client and the internet, providing functionalities such as content caching, filtering, and access control.
  • Network-Attached Storage (NAS): A centralized file-level storage device connected to the network, supporting protocols like NFS\text{NFS}, SMB/CIFS\text{SMB/CIFS}, and AFP\text{AFP}.
  • Storage Area Network (SAN): A high-speed, dedicated network providing consolidated block-level data storage for enterprise environments.
  • Access Point (AP): A Layer 22 device allowing wireless devices to connect to a wired network using Wi-Fi standards.
  • Wireless LAN Controller (WLC): A centralized device used to manage multiple wireless access points, handling configurations, security policies, and guest access.
  • Content Delivery Network (CDN): A global network of proxy servers and data centers that cache content (images, videos) to reduce latency and improve access speeds.
  • Virtual Private Network (VPN): Technology that creates an encrypted, secure connection over a less secure network like the internet.
  • Quality of Service (QoS): Policies used to prioritize critical traffic (voice and video) to reduce latency, jitter, and packet loss.
  • Time to Live (TTL): A field in IP\text{IP} packet headers specifying the maximum number of hops a packet can traverse before being discarded to prevent infinite loops.

Cloud Concepts and Connectivity Options

  • Network Functions Virtualization (NFV): Decouples network functions from hardware, running them as software on virtual machines. This allows for dynamic scaling of firewalls, load balancers, and more.
  • Virtual Private Cloud (VPC): An isolated network space within a public cloud where users define their own IP\text{IP} ranges, subnets, and route tables.
  • Network Security Groups: Virtual firewalls for cloud instances that control inbound and outbound traffic at the protocol and port level.
  • Network Security Lists: Subnet-level traffic filtering (stateful or stateless) for managing traffic between subnets in a VPC.
  • Cloud Gateways:
    • Internet Gateway: Bridges a VPC to the internet for bidirectional communication.
    • NAT Gateway: Allows instances in private subnets to connect to the internet for updates while preventing the internet from initiating connections with those instances.
  • Deployment Models:
    • Public: Owned and operated by a provider; resources are shared among multiple customers.
    • Private: Dedicated to one organization; can be on-premises or third-party hosted.
    • Hybrid: Combines public and private models, allowing data sharing between them.
  • Service Models:
    • SaaS (Software as a Service): Applications delivered via browser (e.g., subscription software).
    • IaaS (Infrastructure as a Service): Virtualized computing resources (servers, storage) rented via internet.
    • PaaS (Platform as a Service): Tools for developers to build and manage apps without infrastructure management.
    • DaaS (Desktop as a Service): Virtual desktop infrastructure.
  • Scalability vs. Elasticity:
    • Scalability: The ability to handle growth easily and cost-effectively.
    • Elasticity: The ability to automatically scale resources up or down based on real-time demand.
  • Multitenancy: A software architecture where one instance of software serves multiple users (tenants) with isolated data.

Common Ports, Protocols, and Services

  • FTP (File Transfer Protocol): Ports 2020 (Data) and 2121 (Control). Transfers files but does not encrypt traffic.
  • SFTP (Secure FTP): Port 2222. Uses SSH to provide an encrypted method for file transfers.
  • SSH (Secure Shell): Port 2222. Cryptographic protocol for secure remote operations and port forwarding.
  • Telnet: Port 2323. Bidirectional text communication; insecure because it transmits credentials in plaintext.
  • SMTP (Simple Mail Transfer Protocol): Port 2525. Standard for email transmission between servers.
  • DNS (Domain Name System): Port 5353 (TCP/UDP\text{TCP/UDP}). Translates domain names to numerical IP\text{IP} addresses.
  • DHCP (Dynamic Host Configuration Protocol): Ports 6767 (Server) and 6868 (Client). Dynamically assigns IP\text{IP} addresses and configuration parameters.
  • TFTP (Trivial FTP): Port 6969 (UDP\text{UDP}). Simple file transfer without authentication; used for booting or config files.
  • HTTP: Port 8080. Stateless foundation of data communication for the web.
  • NTP (Network Time Protocol): Port 123123 (UDP\text{UDP}). Synchronizes clocks across a network to mitigate latency effects.
  • SNMP (Simple Network Management Protocol): Ports 161161 (Commands) and 162162 (Reporting/Traps). Used for managing and monitoring IP\text{IP} network devices.
  • LDAP (Lightweight Directory Access Protocol): Port 389389. Accesses and maintains distributed directory services.
  • HTTPS/SSL/TLS: Port 443443. Secure version of HTTP using encryption for privacy and data integrity.
  • SMB (Server Message Block): Port 445445. Used for Windows file sharing, printing, and inter-process communication.
  • Syslog: Port 514514. Configures and manages system logging sent to a centralized server.
  • SMTPS (Secure SMTP): Port 587587 or 465465. Uses SSL or TLS layers to encrypt email communications.
  • LDAPS (LDAP over SSL): Port 636636. Encrypted directory service access.
  • SQL Server: Port 14331433. Standard port for Microsoft SQL Server database operations.
  • MySQL: Port 33063306. Default port for MySQL database communication.
  • RDP (Remote Desktop Protocol): Port 33893389. Microsoft graphical interface for remote computer access.
  • SIP (Session Initiation Protocol): Ports 50605060 (Unsecured) and 50615061 (Secured via TLS). Used for initiating/terminating VoIP and video sessions.

IP Protocol Types and Communication Methods

  • ICMP (Internet Control Message Protocol): Used for diagnostics and troubleshooting (e.g., pingping). It handles error reporting like unreachable hosts.
  • TCP (Transmission Control Protocol): Connection-oriented, reliable, ordered delivery of data using acknowledgments and flow control.
  • UDP (User Datagram Protocol): Connectionless, fast, but less reliable. No guarantee of packet order or delivery.
  • GRE (Generic Routing Encapsulation): Cisco-developed tunneling protocol that encapsulates network layer packets inside IP\text{IP} tunnels.
  • IPSec (Internet Protocol Security): Protocol suite for authenticating and encrypting IP\text{IP} packets.
    • Transport Mode: Encrypts only the payload.
    • Tunnel Mode: Encrypts the entire packet (used for VPNs).
    • AH (Authentication Header): Provides integrity and authentication.
    • ESP (Encapsulating Security Payload): Provides confidentiality via encryption, as well as authentication and integrity.
    • IKE (Internet Key Exchange): Sets up secure channels in two phases: Phase 11 (establishes identity/secure channel) and Phase 22 (negotiates Security Association parameters).
  • Communication Types:
    • Unicast: One-to-one communication to a unique IP\text{IP}.
    • Multicast: One-to-many communication to a specific group address.
    • Anycast: Data sent to the "nearest" or "best" destination share an address.
    • Broadcast: One-to-all communication within a network segment (IPv4 only; not supported in IPv6).

Transmission Media and Standards

  • 802.11 (Wireless) Standards:
    • 802.11a: 5GHz5 GHz, max rate 54Mbps54 Mbps. Low interference, short range.
    • 802.11b: 2.4GHz2.4 GHz, max rate 11Mbps11 Mbps. Better range/penetration, prone to interference.
    • 802.11g: 2.4GHz2.4 GHz, max rate 54Mbps54 Mbps. Backward compatible with 802.11b.
    • 802.11n (WiFi 4): 2.42.4 and 5GHz5 GHz, max rate 600Mbps600 Mbps. Introduced MIMO.
    • 802.11ac (WiFi 5): 5GHz5 GHz only, max rate 3.46Gbps3.46 Gbps. Uses wider channels and more spatial streams.
    • 802.11ax (WiFi 6): 2.42.4 and 5GHz5 GHz, max rate 9.6Gbps9.6 Gbps. Introduced OFDMA and BSS Coloring for high-density environments.
  • Cellular Technology: Based on cell sites. Iterations include 2G2G, 3G3G, 4G4G, and 5G5G, each increasing data speed.
  • Satellite: Relays data via orbiting satellites. Global coverage but susceptible to high latency and weather interference.
  • Fiber-Optic Cabling:
    • Single-Mode: Small core diameter, used for long-distance (kilometers). Low attenuation.
    • Multimode: Larger core, allows multiple light modes; used for short distances (500m500 m to 2km2 km).
  • Copper and Coaxial Cabs:
    • Direct Attach Copper (DAC): Short-range, low-power connections between equipment.
    • Twinaxial (Twinax): Two inner conductors with shielding; used for 10GigabitEthernet10 Gigabit Ethernet over short distances.
    • Coaxial (RG-6): Thick shielding; used for cable TV and broadband internet.
  • Fire Ratings:
    • Plenum: Fire-resistant, low-smoke. Used in buildings' air spaces.
    • Riser: Prevents fire from traveling vertically between floors.
  • Transceivers and Connectors:
    • SFP: Up to 1Gbps1 Gbps.
    • SFP+: Up to 10Gbps10 Gbps.
    • QSFP: Up to 40Gbps40 Gbps (4×10Gbps4 \times 10 Gbps).
    • QSFP+: 40Gbps40 Gbps or higher with increased density.
    • SC (Subscriber Connector): Push-pull latch, square-shaped; used in single-mode fiber.
    • LC (Local Connector): Small form-factor, push-pull latch; high-density usage.
    • ST (Straight Tip): Bayonet-style locking; commonly used in multimode.
    • MPO (Multi-fiber Push On): High-density, connects 1212 or 2424 fibers in one interface.
    • RJ45: Standard Ethernet connector (8P8C8P8C).
    • RJ11: Standard telephone connector (6P4C6P4C).

Network Topologies and Architectures

  • Mesh: Every node connects to every other node. High availability and redundancy.
  • Star (Hub-and-Spoke): All nodes connect to a central hub. Simple but creates a single point of failure.
  • Spine and Leaf: Modern two-layer data center design. Leaf switches (access) connect to all spine switches (backbone). No more than two hops between any two leaf switches.
  • Three-tier Hierarchical Model:
    • Core Layer: High-speed backbone switching.
    • Distribution Layer: Routing, filtering, and WAN access; aggregates access layer data.
    • Access Layer: Entry point for end-user devices.
  • Collapsed Core: Core and Distribution layers are merged into a single layer to simplify design for small networks.
  • Traffic Patterns:
    • North-South: Flow between the data center and the outside world (internet).
    • East-West: Flow within the data center (server-to-server or VM-to-VM).

IPv4 Addressing and Standards

  • APIPA: Range 169.254.0.1169.254.0.1 to 169.254.255.254169.254.255.254. Assigned when DHCP fails. No internet access.
  • RFC1918 (Private Ranges):
    • 10.0.0.010.0.0.0 to 10.255.255.25510.255.255.255
    • 172.16.0.0172.16.0.0 to 172.31.255.255172.31.255.255
    • 192.168.0.0192.168.0.0 to 192.168.255.255192.168.255.255
  • Loopback Address: 127.0.0.1127.0.0.1 (IPv4) or ::1::1 (IPv6).
  • IPv4 Classes:
    • Class A: First octet 1−1261-126. Mask 255.0.0.0255.0.0.0. Approximately 16.716.7 million hosts/network.
    • Class B: First octet 128−191128-191. Mask 255.255.0.0255.255.0.0. Approximately 65,53465,534 hosts/network.
    • Class C: First octet 192−223192-223. Mask 255.255.255.0255.255.255.0. Up to 254254 hosts.
    • Class D: Range 224−239224-239. Reserved for multicast.
    • Class E: Range 240−255240-255. Experimental use.
  • CIDR Notation: Specifies IP and routing prefix length (e.g., 192.168.1.0/24192.168.1.0/24).

Modern Network Environments

  • SD-WAN (Software-Defined WAN): Centralized control function to dynamically route traffic across the optimal path (MPLS, LTE, Broadband).
    • Zero-Touch Provisioning: Remote device deployment with minimal manual intervention.
  • VXLAN (Virtual Extensible LAN): Layer 22 encapsulation in UDP packets to create logical networks over Layer 33 infrastructure, scaling beyond the 40964096 VLAN limit.
  • Zero Trust Architecture: "Never trust, always verify." Enforces strict access control regardless of network location.
    • Least Privilege: Minimum access needed for tasks.
  • SASE/SSE:
    • SASE (Secure Access Service Edge): Integrates WAN services and security fabric.
    • SSE (Security Service Edge): Focuses on security services like Secure Web Gateways and ZTNA in the cloud.
  • Infrastructure as Code (IaC): Managing infrastructure via terminal definition files rather than manual config.
  • IPv6 Transitioning:
    • Tunneling: Encapsulating IPv6 inside IPv4 packets.
    • Dual Stack: Running IPv4 and IPv6 simultaneously on devices.
    • NAT64: Translating IPv6 to IPv4 and vice versa.

Network Implementation: Routing and Switching

  • Route Selection Metrics:
    • Administrative Distance: Ranking of trustworthiness of route sources (lower is better).
    • Metric: Value evaluated by routing protocol (bandwidth, hop count, delay; lower is better).
  • Protocols:
    • BGP (Border Gateway Protocol): Routing between Autonomous Systems (ASes\text{ASes}) on the internet.
    • EIGRP: Cisco proprietary, hybrid distance-vector/link-state.
    • OSPF: Link-state protocol using the Shortest Path First (SPF\text{SPF}) algorithm.
  • NAT/PAT:
    • NAT: Remaps private address spaces into public ones.
    • PAT (NAT Overload): Maps multiple private IPs to one public IP via different port numbers.
  • Redundancy:
    • VRRP/FHRP: Provides automatic failover for the first-hop router.
    • Virtual IP (VIP): IP address not tied to a specific physical interface, used for load balancing.
  • Switching Features:
    • VLAN: Subgroup within a network to isolate broadcast domains.
    • Port Tagging (802.1Q802.1Q): Inserting VLAN IDs into Ethernet frames.
    • Spanning Tree Protocol (STP): Prevents network loops by logically blocking redundant paths.
    • MTU (Maximum Transmission Unit): Standard Ethernet is 15001500 bytes. Jumbo frames are typically up to 90009000 bytes.

Wireless Technologies

  • Channels: Subdivisions of frequency bands.
    • 2.4 GHz: Channels 1,6,111, 6, 11 are non-overlapping in the US.
    • 6 GHz: Introduced for greater capacity (WiFi6EWiFi 6E).
  • Band Steering: Moving dual-band devices to less congested bands (e.g., 5GHz5 GHz or 6GHz6 GHz).
  • SSID (Service Set Identifier): The name of the wireless network.
  • BSSID: MAC address of the physical Access Point.
  • ESSID: A name shared among interconnected APs to allow client roaming.
  • Authentication:
    • WPA2: Uses AES encryption.
    • WPA3: Latest standard; protects against brute-force attacks.
    • Enterprise: Uses a RADIUS server for individual user credentials.
  • Antennas:
    • Directional: Focuses signal in one direction for long-range connectivity.
    • Omnidirectional: Radiates signal in all directions equally.
  • Access Point Types:
    • Autonomous: Standalone units handling all operations independently.
    • Lightweight: Controlled by a centralized Wireless LAN Controller (WLC).

Physical Installations and Operations

  • Distribution Frames:
    • MDF (Main Distribution Frame): Primary hub where ISP lines enter.
    • IDF (Intermediate Distribution Frame): Secondary hub to reduce distance between MDF and end users.
  • Environment and Power:
    • UPS (Uninterruptible Power Supply): Immediate battery backup for power failures.
    • Temperature Management: Recommended range is 18∘C18^{\circ}C to 27∘C27^{\circ}C (64∘F64^{\circ}F to 81∘F81^{\circ}F).
    • Humidity Control: Target is 45−55%45-55\% to prevent corrosion or static.
  • Documentation:
    • Physical Diagram: Physical locations and cable connections.
    • Logical Diagram: Data flows, subnets, and architecture.
    • Service-level Agreement (SLA): Documented performance metrics and penalties.
  • Disaster Recovery Metrics:
    • RPO (Recovery Point Objective): Max acceptable data loss measured in time.
    • RTO (Recovery Time Objective): Max allowable downtime to restore services.
    • MTTR (Mean Time to Repair): Average time to repair a failed component.
    • MTBF (Mean Time Between Failure): Average time between failures; measures reliability.

Network Security Concepts

  • The CIA Triad:
    • Confidentiality: Only authorized viewing.
    • Integrity: Preventing unauthorized modification.
    • Availability: Data accessible when needed.
  • Identity and Access Management:
    • Multifactor Authentication (MFA): Verification based on something you know (password), have (token), or are (biometric).
    • Single Sign-On (SSO): One login for multiple independent systems.
    • RADIUS: Centralized AAA management protocol.
  • Attacks:
    • DoS/DDoS: Overwhelming a server with excessive traffic.
    • VLAN Hopping: Bypassing Layer 22 security to move between VLANs.
    • ARP Poisoning: Associating attacker MAC with legitimate IP address.
    • Evil Twin: Rogue AP masquerading as a legitimate one using same SSID.
    • Social Engineering: Manipulating people (Phishing, Tailgating, Shoulder Surfing).
  • Security Solutions:
    • 802.1X: Port-based Network Access Control.
    • Honeypot: Decoy system to trap and monitor attackers.
    • DMZ (Screened Subnet): Buffer zone for public-facing services (web, email).

Network Troubleshooting Methodology

  1. Identify the Problem: Gather information, duplicate the issue, and identify symptoms.
  2. Establish a Theory of Probable Cause: Question the obvious and consider the OSI model.
  3. Test the Theory: Verify the cause. If confirmed, move to resolution; if not, create a new theory.
  4. Establish a Plan of Action: Identify potential effects of the plan.
  5. Implement the Solution: Execute the plan or escalate.
  6. Verify Full System Functionality: Implement preventive measures.
  7. Document Findings: Record actions, outcomes, and lessons learned.

Troubleshooting Tools and Commands

  • ping: Tests connectivity using ICMP.
  • traceroute/tracert: Shows the path of hops to a destination.
  • nslookup/dig: Queries DNS name resolution.
  • netstat: Displays active connections and statistics.
  • nmap: Discovers devices and services on a network.
  • Toner: Generator and probe set used to trace cables in bundles.
  • Visual Fault Locator (VFL): Uses light to find breaks or bends in fiber cables.
  • show mac-address-table: Displays the bridge/switch table mapping MACs to ports.
  • show interface: Displays traffic stats and error counts (CRC, Runts, Giants).