0% found this document useful (0 votes)
4 views4 pages

Computer Networking Protocols Study Guide

The document serves as a comprehensive study guide on computer networking and protocols, covering topics such as network topologies, OSI and TCP/IP models, addressing, routing mechanics, network hardware, and CLI utilities. It details various network types (LAN, MAN, WAN, VPN), physical topologies (star, bus, ring, mesh), and the differences between IPv4 and IPv6. Additionally, it provides essential command line utilities for network diagnostics and troubleshooting.

Uploaded by

jaibarahchatgpt
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Computer Networking Protocols Study Guide

The document serves as a comprehensive study guide on computer networking and protocols, covering topics such as network topologies, OSI and TCP/IP models, addressing, routing mechanics, network hardware, and CLI utilities. It details various network types (LAN, MAN, WAN, VPN), physical topologies (star, bus, ring, mesh), and the differences between IPv4 and IPv6. Additionally, it provides essential command line utilities for network diagnostics and troubleshooting.

Uploaded by

jaibarahchatgpt
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Computer Networking & Protocols Study Guide

Comprehensive Technical Reference for Network Architecture, Models, Addressing, Routing & CLI Utilities

OSI & TCP/IP Models IPv4/IPv6 & Subnetting Network Hardware & Firewalls CLI Troubleshooting Commands

1. NETWORK TOPOLOGIES & NETWORK TYPES


A computer network consists of interconnected autonomous computing devices that exchange data using standardized
communications protocols.

1.1 Classification of Networks by Geographical Scale


• LAN (Local Area Network): Covers a small geographic area (e.g., an office building, lab, or home). Characterized by high
data transfer speeds (up to 10 Gbps) and low propagation delay. Uses Ethernet cables or Wi-Fi (WLAN).
• MAN (Metropolitan Area Network): Spans an entire city or campus town (typically 10 to 50 km). Used by cable TV
operators or smart-city connectivity infrastructure.
• WAN (Wide Area Network): Connects computers across vast geographical distances (countries, continents). Uses
leased telecommunication lines, fiber optics, or satellites. The Internet is the largest global WAN.
• VPN (Virtual Private Network): Creates an encrypted, secure virtual tunnel over a public network (like the Internet). It
shields sensitive communication using tunneling protocols (IPSec, OpenVPN, WireGuard) and ensures data
confidentiality, integrity, and user anonymity.

1.2 Physical Network Topologies


Topology defines the physical or logical layout of nodes, devices, and connections within a network.

Star & Bus Topologies: Ring & Mesh Topologies:


• Star Topology: All central nodes connect directly to a • Ring Topology: Nodes connected in a closed circular loop.
central Switch or Hub. Token Ring controls transmission.
Pros: Easy to troubleshoot; single cable failure doesn't crash Cons: Unidirectional link failure affects all nodes.
network. • Mesh Topology: Every node connects directly to every
Cons: Central switch failure brings down entire network. other node (Full Mesh formula: $N(N-1)/2$ links).
• Bus Topology: Single central coaxial cable ("backbone") Pros: Maximum fault tolerance and redundancy.
with terminators at both ends. Cons: Very expensive and complex cabling.
Pros: Cheap and simple for small setups.
Cons: Cable break disables entire network; frequent data
collisions.

STAR TOPOLOGY FULL MESH TOPOLOGY

SWITCH

DIAGRAM 1.1: PHYSICAL LAYOUT COMPARISON BETWEEN STAR AND FULL MESH NETWORKS

Computer Networking & Protocols Study Guide Page 1 of 4


2. OSI & TCP/IP REFERENCE MODELS
Networking reference models categorize communication functions into abstract conceptual layers to ensure inter-operability
between different technologies.

2.1 OSI 7-Layer Model Architecture


The **OSI (Open Systems Interconnection)** model is a theoretical 7-layer framework developed by ISO. Mnemonic to
remember (Layer 7 to 1): All People Seem To Need Data Processing.

Associated Protocols /
Layer No. & Name Data Unit (PDU) Primary Function / Responsibilities
Hardware

Layer 7: Data User interface, high-level APIs, network service HTTP, HTTPS, FTP, SMTP,
Application access. DNS, DHCP

Layer 6: Data Data formatting, encryption/decryption, SSL/TLS, ASCII, JPEG, SSL/TLS, MPEG
Presentation compression.

Layer 5: Session Data Establishes, manages, and terminates session NetBIOS, PPTP, RPC
dialogues.

Layer 4: Segment (TCP) / End-to-end reliable delivery, flow control, error TCP (Reliable), UDP (Fast
Transport Datagram (UDP) checking, port addressing. connectionless)

Layer 3: Network Packet Logical IP addressing, path determination, packet IPv4, IPv6, ICMP, ARP, Routers
routing.

Layer 2: Data Frame Physical MAC addressing, error detection (CRC), Ethernet, Wi-Fi (802.11),
Link switching. Switches, NIC

Layer 1: Physical Bits (0s & 1s) Electrical/Optical signal transmission, cables, RJ-45, Fiber Optic, Hubs,
connector specs. Repeaters

2.2 TCP/IP Model Mapping & Protocols


The **TCP/IP Model** is the practical 4-layer architecture used by the commercial Internet.

OSI MODEL (7 LAYERS) TCP/IP MODEL (4 LAYERS)

7. Application
Application Layer (HTTP, DNS)
6. Presentation

5. Session
Transport Layer (TCP, UDP)
4. Transport
Internet Layer (IP, ICMP)
3. Network

2. Data Link Network Access Layer (Ethernet)


1. Physical

DIAGRAM 2.1: MAPPING OF OSI 7-LAYER ARCHITECTURE TO TCP/IP 4-LAYER MODEL

3. ADDRESSING & ROUTING MECHANICS


Addressing provides unique identifiers for network nodes, while routing determines the best physical paths across
interconnected networks.

Computer Networking & Protocols Study Guide Page 2 of 4


3.1 IPv4 vs. IPv6 Comparison

Feature IPv4 (Internet Protocol Version 4) IPv6 (Internet Protocol Version 6)

Address Bit 32 bits (4 Bytes) 128 bits (16 Bytes)


Length

Total Address $2^{32} pprox 4.3 ext{ billion $2^{128} pprox 3.4 imes 10^{38} ext{ addresses (Virtually infinite)}$
Pool addresses}$

Notation Format Dotted Decimal (e.g., [Link]) Hexadecimal separated by colons (e.g., 2001:0db8:85a3::8a2e:
0370:7334)

Header Variable length (20 to 60 bytes) with Fixed length (40 bytes), streamlined without checksum
Complexity checksum

Configuration Manual or via DHCP server Supports Auto-configuration (SLAAC - Stateless Address Auto Config)
Mode

3.2 Public vs. Private IP Addresses & Subnetting


• Public IP Address: Globally unique IP assigned by ISP, routable across the public Internet.
• Private IP Address: Used internally within LANs (home/office). Not routable on the public Internet. RFC 1918 Private
Ranges:
◦ Class A: [Link] to [Link]
◦ Class B: [Link] to [Link]
◦ Class C: [Link] to [Link]

• Subnetting (CIDR Notation): Division of a larger IP network into smaller logical subnetworks to reduce broadcast
domains and optimize security.
Example: [Link]/24 has a Subnet Mask of [Link] ($24$ network bits, $8$ host bits = $256 - 2 = 254$ usable
host IPs).
• Default Gateway: The local router interface IP address (e.g., [Link]) that forwards local LAN traffic destined for
external outside networks.

4. NETWORK HARDWARE & SECURITY DEVICES


Specialized hardware components operate at different layers of the OSI model to forward data packets and protect network
boundaries.

Device Name OSI Layer Operational Mechanism & Key Features

Hub Layer 1 Legacy non-intelligent device. Broadcasts incoming data packets to ALL connected ports
(Physical) indiscriminately. High collision risk.

Switch Layer 2 (Data Intelligent device. Uses a MAC Address Table (CAM Table) to forward incoming data frames
Link) directly to the intended destination port only.

Router Layer 3 Connects distinct logical networks (e.g., LAN to WAN). Reads IP packet headers and uses
(Network) Routing Tables to determine the optimal path across networks.

Access Point Layer 2 (Data Transmits radio signals allowing wireless Wi-Fi devices to join a wired Ethernet network.
(WAP) Link)

Firewall Layer 3, 4, & 7 Hardware/Software security filter. Inspects incoming and outgoing traffic based on predefined
security rules (ACLs) to block unauthorized access.

Computer Networking & Protocols Study Guide Page 3 of 4


Device Name OSI Layer Operational Mechanism & Key Features

• Stateful Firewall: Tracks state of active connections.


• Next-Gen Firewall (NGFW): Deep packet inspection and application monitoring.

5. NETWORK COMMAND LINE (CLI) UTILITIES


Network administrators use essential command line diagnostic commands to inspect parameters and troubleshoot
connectivity issues.

# 1. ipconfig / ifconfig
# Windows: Displays all active adapter network configurations (IP, Subnet Mask, Gateway)
ipconfig /all

# 2. ping (Packet InterNet Groper)


# Sends ICMP Echo Request messages to verify network layer reachability and latency
ping [Link]
ping [Link]

# 3. traceroute / tracert
# Traces the hop-by-hop router path packets take to reach a destination host
tracert [Link]

# 4. nslookup (Name Server Lookup)


# Queries DNS servers to resolve domain names to IP addresses or vice versa
nslookup [Link]

# 5. netstat (Network Statistics)


# Displays active TCP/UDP connections, listening ports, and routing statistics
netstat -ano

Quick Study Summary & Exam Tips


• OSI vs. TCP/IP: Know the 7 OSI layers in exact sequence. Remember that Switches operate at Layer 2 (MAC) while
Routers operate at Layer 3 (IP).
• Addressing: IPv4 is 32-bit (dotted decimal), IPv6 is 128-bit (hexadecimal). Know private ranges (10.x, 172.16-31.x,
192.168.x).
• Diagnostics: Use ping for basic reachability, tracert to locate router failure points, and nslookup for DNS errors.

Computer Networking & Protocols Study Guide Page 4 of 4

You might also like