UNIT 5: COMPUTER NETWORKS - EXAM-FOCUSED SHORT NOTES
Based on RGPV past papers (2022-2025), prioritizing ๐ด High (7m) and ๐ก Medium (4-5m) mark questions.
I. FOUNDATIONS & REFERENCE MODELS
ISO-OSI Reference Model
-
7 Layers (Bottom-Up):
-
Physical: Bits over medium (Repeater, Hub).
-
Data Link: Frames, MAC addressing, error control (Bridge, Switch).
-
Network: Packets, routing, logical addressing (Router).
-
Transport: End-to-end, segmentation, flow/error control (TCP/UDP).
-
Session: Dialog control, synchronization.
-
Presentation: Translation, encryption, compression (SSL/TLS).
-
Application: User interface, network services (HTTP, SMTP, DNS).
-
-
Critique: Theoretical, complex, protocol mapping not strict, implementation late.
TCP/IP Protocol Suite (4 Layers)
-
Network Interface (Link): Combines OSI Physical & Data Link.
-
Internet: OSI Network layer (IP, ICMP, ARP).
-
Transport: OSI Transport layer (TCP, UDP).
-
Application: OSI Session, Presentation, Application combined.
- Key Difference: TCP/IP is protocol-centric and practical; OSI is model-centric and theoretical.
๐ Comparison Table: OSI vs TCP/IP
| Feature | OSI Model | TCP/IP Model |
| :--- | :--- | :--- |
| Layers | 7 | 4 |
| Approach | Theoretical, generic | Practical, protocol-based |
| Layer 1-2 | Separate Physical & Data Link | Combined Network Interface |
| Layer 3 | Network | Internet |
| Layer 4 | Transport | Transport |
| Layers 5-7 | Session, Presentation, Application | Combined Application |
| Protocols | Not defined (e.g., OSI protocols failed) | Well-defined (IP, TCP, UDP, HTTP) |
| Usage | Reference, teaching | Internet, real-world |
Connection-Oriented vs. Connectionless Services
| Aspect | Connection-Oriented | Connectionless |
|---|---|---|
| Path | Dedicated path established before data transfer (Virtual Circuit) | No path setup; each packet independent (Datagram) |
| Ordering | Guaranteed | Not guaranteed |
| Reliability | High (ACKs, retransmission) | Best-effort, no guarantees |
| Overhead | Higher (setup/teardown) | Lower |
| Examples | TCP, ATM VC, Frame Relay VC | UDP, IP, Ethernet |
II. PHYSICAL LAYER & TRANSMISSION MEDIA
Channel Capacity Theorems
- Nyquist Formula (Noiseless Channel):
$$C = 2B \log_2 M \text{ (bps)}$$
* $C$: Max bit rate, $B$: Bandwidth (Hz), $M$: Signal levels.
* **Example:** $$\displaystyle B=3kHz $$, $$\displaystyle M=4 \Rightarrow C = 2 \times 3000 \times \log_2 4 = 12000 \text{ bps} $$.
- Shannon's Theorem (Noisy Channel):
$$C = B \log_2 (1 + \text{SNR}) \text{ (bps)}$$
* $C$: Channel capacity, $B$: Bandwidth, $\text{SNR}$: Signal-to-Noise Ratio (linear, not dB).
* **Example:** $$\displaystyle B=4kHz $$, $$\displaystyle \text{SNR}=1000 \Rightarrow C \approx 4000 \times 9.97 \approx 39880 \text{ bps} $$.
> **๐ Key:** Nyquist gives max rate for *given M* in noiseless case; Shannon gives *absolute max* for noisy channel.
Transmission Media
| Guided (Wired) | Unguided (Wireless) |
|---|---|
| Twisted Pair (UTP/STP): Cheap, limited bandwidth, EMI susceptible (Ethernet, phone). | Radio/Microwave: Omnidirectional, weather/obstacle affected (Wi-Fi, cellular). |
| Coaxial Cable: Higher bandwidth, better shielding (cable TV, legacy Ethernet). | Infrared: Line-of-sight, short-range, secure (remote controls). |
| Fiber Optic: Highest bandwidth, low loss, immune to EMI (backbone, FTTH). | Satellite: Long delay, wide coverage (TV broadcast, GPS). |
Multiplexing
-
FDM: Different frequencies for different signals (Radio, TV).
-
TDM:
-
Synchronous TDM: Fixed time slots, even if no data (wasteful).
-
Statistical TDM: Dynamic slot allocation based on demand (efficient).
-
Frame Size (TDM): Sum of all source rates ร slot duration.
-
III. DATA LINK LAYER
Error Detection & Correction
| Method | Mechanism | Capability | Example |
|---|---|---|---|
| Parity | Add 1 bit for even/odd count. | Detect single-bit error. | Horizontal/Vertical parity. |
| Checksum | Sum of data words (1's complement). | Detect errors, not burst. | Used in IP/TCP/UDP headers. |
| CRC | Polynomial division ($$\displaystyle D(x) \cdot x^r / G(x) $$). | Detect all burst errors โค r+1 bits. | Standard: $$\displaystyle G(x)=x^{16}+x^{12}+x^5+1 $$ (CRC-16). |
| Hamming Code | Redundancy bits at $$\displaystyle 2^k $$ positions. | Single-bit error correction. | $$\displaystyle d_{min}=3 $$ for SEC. |
๐ CRC Computation Steps:
- Append $r$ zeros to data (where $r$ = degree of $G(x)$).
- Perform binary polynomial division (XOR).
- Remainder (length $r$) is CRC checksum.
- Transmit: Original data + CRC.
- Receiver divides by same $G(x)$; remainder 0 = no error.
Sliding Window Protocols
| Protocol | Window Size | Receiver Action | Efficiency | Use Case |
|---|---|---|---|---|
| Stop-and-Wait | 1 | ACK next expected seq. | $$\displaystyle \frac{1}{1+2a} $$ (a = propagation/transmit time) | Simple, inefficient on long lines. |
| Go-Back-N (GBN) | $N$ (sender), 1 (receiver) | ACK last correctly received in-order frame. Sender retransmits from error frame onward. | $$\displaystyle \frac{N}{1+2a} $$ | Simple, but wastes bandwidth on single error. |
| Selective Repeat (SR) | $N$ (both) | ACK individual frames (with seq #). Sender retransmits only lost frames. | $$\displaystyle \frac{N}{1+2a} $$ | Efficient, complex buffer management. |
๐ Piggybacking: Attaching ACK to data frame going in reverse direction (improves efficiency vs separate ACK frames).
Multiple Access Protocols (MAC)
Random Access (Contention-Based)
| Protocol | Principle | Throughput (S) | Max Efficiency |
|---|---|---|---|
| Pure ALOHA | Transmit anytime; collision โ random retransmit. | $$\displaystyle S = G e^{-2G} $$ | $$\displaystyle S_{max} = 0.184 $$ (at $$\displaystyle G=0.5 $$) |
| Slotted ALOHA | Transmit only at slot start. | $$\displaystyle S = G e^{-G} $$ | $$\displaystyle S_{max} = 0.368 $$ (at $$\displaystyle G=1 $$) |
| CSMA | Sense carrier before transmit. | Improves with $a$ (propagation time). | Varies by persistence. |
| CSMA/CD | CSMA + abort on collision (Ethernet). | $$\displaystyle \frac{1}{1+6a} $$ (for large frames) | Depends on $a$; min frame size ensures collision detect. |
-
CSMA Persistence:
-
1-persistent: Sense idle โ transmit immediately (high collision).
-
Non-persistent: Sense busy โ wait random time (lower collision, delay).
-
p-persistent: Sense idle โ transmit with prob $p$; defer with $1-p$.
-
-
Binary Exponential Backoff (BEB): After $$\displaystyle k^{th} $$ collision, wait random $$\displaystyle [0, 2^k-1] $$ slot times. $k$ capped (e.g., 10 for Ethernet).
-
CSMA/CD Min Frame Size: $$\displaystyle T_{trans} \geq 2 \times T_{prop} $$ to detect collision.
$$\text{Min Frame Size} = 2 \times \text{Propagation Distance} \times \text{Signal Speed} \times \text{Bandwidth}$$
Controlled Access
-
Reservation: Reserve slots in future frame.
-
Polling: Master polls slaves (primary-secondary).
-
Token Passing: Token circulates; holder transmits (Token Ring, FDDI).
LAN Standards (IEEE 802)
| Standard | Access Method | Topology | Key Feature |
|---|---|---|---|
| 802.3 (Ethernet) | CSMA/CD | Bus/Star | Dominant; 10/100/1000 Mbps; 48-byte address. |
| 802.4 (Token Bus) | Token passing | Bus (logical ring) | Used in manufacturing; complex token management. |
| 802.5 (Token Ring) | Token passing | Ring | 4/16 Mbps; token holding time; active monitor. |
| 802.11 (WLAN) | CSMA/CA + ACK | Star (AP) | No collision detection (hidden node); RTS/CTS optional. |
| FDDI | Token passing | Dual ring (fiber) | High-speed (100 Mbps), fault-tolerant. |
๐ CSMA/CA (WLAN): Uses collision avoidance: DIFS/SIFS intervals, NAV (virtual carrier sense), RTS/CTS for hidden nodes.
Bit & Byte Stuffing
-
Bit Stuffing (HDLC-like): Flag =
01111110. After 5 consecutive '1's, insert '0'. Receiver deletes after 5 '1's.- Example: Data
01111110โ Transmit011111010(stuff '0' after 5 '1's).
- Example: Data
-
Byte Stuffing (Character-oriented): Escape character (e.g.,
DLE). If data byte = flag or escape, insert escape before it.
IV. NETWORK LAYER
IP Addressing (IPv4)
-
Classful (Legacy):
| Class | First Bits | Network ID | Host ID | Default Mask | Range | | :--- | :--- | :--- | :--- | :--- | :--- | | A | 0 | 8 bits | 24 bits | 255.0.0.0 | 1.0.0.0 - 126.255.255.255 | | B | 10 | 16 bits | 16 bits | 255.255.0.0 | 128.0.0.0 - 191.255.255.255 | | C | 110 | 24 bits | 8 bits | 255.255.255.0 | 192.0.0.0 - 223.255.255.255 | | D | 1110 | - | - | - | Multicast (224-239) | | E | 1111 | - | - | - | Experimental (240-255) |
- Limitations: Wasted addresses, no flexibility, routing table explosion.
-
CIDR (Classless):
a.b.c.d/nwhere $n$ = network prefix bits. Allows variable-length subnetting. -
Subnetting: Divide network into smaller subnets.
-
Steps: 1. Determine required subnets/hosts. 2. Borrow bits from host part. 3. New mask = original mask + borrowed bits. 4. Calculate block size = $$\displaystyle 2^{\text{host-bits}} $$. 5. Subnet addresses = multiples of block size. 6. Range: Subnet+1 to Subnet+block-2. Broadcast = Subnet+block-1.
-
Example:
192.168.10.0/24โ 4 subnets. Borrow 2 bits โ/26. Block size = $$\displaystyle 2^{6}=64 $$. Subnets:192.168.10.0/26,64/26,128/26,192/26.
-
-
Supernetting (Aggregation): Combine contiguous networks into larger one (reduce routing table size). e.g.,
192.168.0.0/24+192.168.1.0/24โ192.168.0.0/23.
IPv6
-
Motivation: Address exhaustion, no built-in security, complex header.
-
Header: Fixed 40 bytes. Fields: Version, Traffic Class, Flow Label, Payload Length, Next Header, Hop Limit, Source/Dest Address (128 bits).
-
Features: 128-bit address (hex, colon-separated), no checksum, extension headers, stateless autoconfiguration, IPSec mandatory.
-
IPv4 vs IPv6:
| IPv4 | IPv6 | | :--- | :--- | | 32-bit address | 128-bit address | | Header: 20-60 bytes (variable) | Header: 40 bytes (fixed) | | Checksum in header | No header checksum | | Fragmentation by routers & hosts | Only by source host | | ARP required | Neighbor Discovery (ICMPv6) | | Manual/DHCP config | Stateless autoconfig |
Routing Algorithms
Static Routing
-
Shortest Path (Dijkstra's):
-
Label source node as permanent ($P$), others as tentative ($T$) with cost.
-
Select $T$ node with smallest cost, make permanent.
-
Update costs of neighbors of new permanent node.
-
Repeat until destination permanent.
- Limitations: Manual, slow to adapt to changes, single metric.
-
Dynamic Routing
-
Distance Vector (DVR - Bellman-Ford):
-
Each node maintains distance vector (cost to each dest via each neighbor).
-
Periodic/triggered update: send own vector to neighbors.
-
Bellman-Ford equation: $$\displaystyle D_x(y) = \min_v \{ c(x,v) + D_v(y) \} $$
-
Problems: Count-to-infinity, routing loops, slow convergence.
-
Example: RIP uses hop count (max 15 hops).
-
-
Link State (LSR):
-
Discover neighbors: Hello packets.
-
Measure cost: Typically delay.
-
Flood LSPs: Each node sends its link state to all others (reliable flooding).
-
Compute paths: Each node runs Dijkstra on complete graph.
-
Advantages: Fast convergence, no loops, global view.
-
Disadvantages: High overhead (flooding), memory intensive.
-
๐ DVR vs LSR:
| Aspect | DVR | LSR |
| :--- | :--- | :--- |
| Info Shared | Distance vectors (to all dests) | Link state (to neighbors only) |
| Algorithm | Bellman-Ford (iterative) | Dijkstra (on complete topology) |
| Convergence | Slow, count-to-infinity | Fast |
| Overhead | Periodic full updates | Flooding on change (event-driven) |
| Scalability | Poor (RIP) | Better (OSPF) |
| Loop Prevention | Hard (split horizon, poison reverse) | Inherent (no loops in shortest path) |
Network Layer Protocols & Devices
-
ARP (Address Resolution Protocol): Maps IP โ MAC. Broadcast: "Who has IP X? Tell Y (MAC)." Unicast reply.
-
RARP (Reverse ARP): Maps MAC โ IP (diskless boot). Obsolete (replaced by BOOTP/DHCP).
-
ICMP (Internet Control Message Protocol): Error & diagnostic messages.
-
Types: 0 (Echo Reply), 3 (Destination Unreachable), 8 (Echo Request), 11 (Time Exceeded).
-
Tools:
ping(Echo Request/Reply),traceroute(Time Exceeded with TTL expiry).
-
-
Virtual Circuits vs Datagram Subnets:
| Virtual Circuit (VC) | Datagram | | :--- | :--- | | Connection setup before data. | No setup; each packet independent. | | Path fixed; all packets follow same route. | Each packet routed independently. | | Packets ordered; sequencing optional. | Packets may arrive out-of-order. | | Router state per VC (table). | Stateless routers (only dest address). | | Example: Frame Relay, ATM. | Example: IP (Internet). |
Congestion Control (Network Layer)
-
Causes: Slow processors, low bandwidth, bursty traffic, poor routing.
-
Open-loop: Prevent congestion (policing, shaping, admission control).
-
Closed-loop: Detect & alleviate (backpressure, choke packets, load shedding).
-
Traffic Shaping:
-
Leaky Bucket: Constant output rate, burst input โ smooths burst.
-
Token Bucket: Tokens accumulate (rate $r$, capacity $b$). Packet needs token to send โ allows burst up to $b$.
-
Comparison: Leaky Bucket = rigid output; Token Bucket = bursty output allowed.
-
V. DATA LINK LAYER DEVICES & INTERCONNECTION
| Device | OSI Layer | Function | Key Feature |
|---|---|---|---|
| Repeater/Hub | Physical | Regenerate signal; extend distance. | No intelligence; single collision domain. |
| Bridge | Data Link | Connect LANs; filter/forward frames based on MAC. | Two interfaces; learns MACs; reduces collisions. |
| Switch | Data Link | Multiport bridge; per-port collision domain. | Builds MAC table (learning); aging; Store-and-forward (check CRC) vs Cut-through (fast, no error check). |
| Router | Network | Connects networks; forwards packets based on IP. | Routing table; different broadcast domains. |
| Gateway | Application | Protocol conversion between networks (e.g., SMTP โ X.400). | Highest layer; complex. |
๐ Bridge vs Switch: Switch = hardware-based, multi-port bridge with higher performance and more ports.
VI. TRANSPORT LAYER
Transport Layer Protocols
-
UDP (User Datagram Protocol):
-
Features: Connectionless, unreliable, no flow/error control, minimal overhead.
-
Header (8 bytes): Source Port (16), Dest Port (16), Length (16), Checksum (16).
-
Applications: DNS, VoIP, streaming, DHCP.
-
-
TCP (Transmission Control Protocol):
-
Features: Connection-oriented, reliable, flow/error control, congestion control, full-duplex.
-
Header (20-60 bytes):
-
Source/Dest Port (16 each)
-
Seq # (32), ACK # (32)
-
Flags (6 bits): URG, ACK, PSH, RST, SYN, FIN
-
Window Size (16): Receiver's buffer space.
-
Checksum (16), Urgent Pointer (16)
-
Options (variable)
-
-
TCP Connection Management
-
Establishment (Three-Way Handshake):
-
SYN: Client โ Server (SYN=1, Seq=x).
-
SYN-ACK: Server โ Client (SYN=1, ACK=1, Seq=y, Ack=x+1).
-
ACK: Client โ Server (ACK=1, Seq=x+1, Ack=y+1).
- States: CLOSED โ SYN_SENT โ SYN_RCVD โ ESTABLISHED.
-
-
Termination (Four-Way Handshake - Graceful):
-
FIN: A โ B (FIN=1, Seq=u).
-
ACK: B โ A (ACK=1, Ack=u+1).
-
FIN: B โ A (FIN=1, Seq=v, Ack=u+1).
-
ACK: A โ B (ACK=1, Ack=v+1).
- TIME_WAIT: A waits 2รMSL (Max Segment Lifetime) after last ACK to ensure B received ACK and to handle delayed duplicates.
๐ Why Graceful Termination? Ensures all data delivered, resources released, prevents old duplicate segments from interfering.
-
TCP Congestion Control
-
Goal: Regulate sender's rate based on network congestion.
-
Variables:
cwnd(congestion window, sender limit),ssthresh(slow start threshold). -
Phases:
-
Slow Start:
cwndstarts at 1 MSS. Doubles each RTT (exponential) untilcwnd >= ssthreshor loss. -
Congestion Avoidance:
cwndincreases by 1 MSS per RTT (linear - AIMD). -
Fast Retransmit: On 3 duplicate ACKs โ retransmit missing segment without waiting for timeout.
-
Fast Recovery:
ssthresh = cwnd / 2,cwnd = ssthresh + 3, then linear increase on dup ACKs.
-
-
On Timeout:
ssthresh = cwnd / 2,cwnd = 1, restart slow start. -
AIMD (Additive Increase Multiplicative Decrease): Increase linearly, cut window in half on loss โ fair, stable.
VII. APPLICATION LAYER
Domain Name System (DNS)
-
Need: Hierarchical, distributed database translating domain names โ IP addresses.
-
Hierarchy: Root โ TLD (
.com,.org, country-code) โ Authoritative (e.g.,rgpv.ac.in). -
Resolution:
-
Recursive Query: Resolver asks server; server returns final answer (or error).
-
Iterative Query: Server returns next server to ask (or answer if known).
-
-
Caching: Resolvers/servers cache responses with TTL.
-
Resource Records (RR):
-
A: IPv4 address.
-
AAAA: IPv6 address.
-
MX: Mail exchange server.
-
CNAME: Canonical name (alias).
-
PTR: Pointer (reverse lookup).
-
Electronic Mail (Email)
-
Architecture:
-
MUA (Mail User Agent): User interface (Outlook, Thunderbird).
-
MTA (Mail Transfer Agent): Server-to-server transfer (SMTP).
-
MDA (Mail Delivery Agent): Local delivery to mailbox.
-
-
SMTP (Simple Mail Transfer Protocol):
-
Push protocol (MUA โ MTA, MTA โ MTA).
-
Commands:
HELO,MAIL FROM,RCPT TO,DATA,QUIT. -
Port: 25 (plain), 587 (submission).
-
Limitation: 7-bit ASCII only โ MIME (Multipurpose Internet Mail Extensions) for binary/text encoding.
-
-
Mail Retrieval (Pull):
-
POP3 (Post Office Protocol v3): Downloads & deletes from server (simple).
-
IMAP (Internet Message Access Protocol): Keeps mail on server; syncs folders (modern).
-
Ports: POP3: 110, IMAP: 143.
-
World Wide Web (WWW) & HTTP
-
Architecture: Client (Browser) โ Server (HTTP server).
-
HTTP (Hypertext Transfer Protocol):
-
Stateless: Server does not remember clients (solves with cookies/sessions).
-
Request/Response: ASCII text.
-
Methods:
GET(fetch),POST(submit data),HEAD,PUT,DELETE. -
Headers:
Host,User-Agent,Content-Type,Cookie. -
Persistent vs Non-Persistent:
-
Non-persistent (HTTP/1.0): One TCP connection per object โ high overhead.
-
Persistent (HTTP/1.1): One TCP connection for multiple objects (pipelining).
-
-
-
HTTPS: HTTP over TLS/SSL (port 443). Provides encryption, server authentication.
Simple Network Management Protocol (SNMP)
-
Architecture:
-
Manager: Central console (NMS).
-
Agent: Software on managed device.
-
MIB (Management Information Base): Database of managed objects (variables).
-
-
Operations:
GET,GETNEXT,SET,TRAP(asynchronous alert from agent). -
Versions: SNMPv1 (basic), SNMPv2c (bulk get, 64-bit counters), SNMPv3 (security).
Other Application Layer Protocols (Short Notes)
-
PPP (Point-to-Point Protocol):
-
Features: Byte-oriented, error detection (FCS), authentication (PAP/CHAP), multilink, compression.
-
Phases: Link establishment (LCP), Authentication (optional), Network layer protocol (NCP).
-
Frame Format: Flag (7E) | Address (FF) | Control (03) | Protocol | Data | FCS | Flag.
-
-
HDLC (High-Level Data Link Control):
-
Bit-oriented, synchronous.
-
Frame: Flag (7E) | Address | Control | Data | FCS | Flag.
-
Control Field: Defines frame type (I-frame, S-frame, U-frame).
-
Modes: NRM (primary-secondary), ARM, ABM (balanced).
-
-
VLANs (Virtual LANs):
-
Concept: Logical segmentation of LAN into broadcast domains.
-
Benefits: Security, broadcast control, flexibility.
-
Tagging (IEEE 802.1Q): 4-byte VLAN tag inserted in Ethernet frame (TPID, TCI with VLAN ID, priority).
-
VIII. CROSS-LAYER & MISCELLANEOUS TOPICS
Switching Techniques
| Technique | Principle | Delay | Usage |
|---|---|---|---|
| Circuit Switching | Dedicated path setup (phone network). | Low, constant after setup. | Voice, real-time. |
| Message Switching | Store-and-forward entire message. | High (store+transmit). | Email, early telegraphy. |
| Packet Switching | Divide into packets; independent routing. | Variable, queuing delay. | Internet (IP), modern networks. |
| Datagram: No connection (IP). | |||
| Virtual Circuit: Connection before packets (Frame Relay, ATM). |
Network Topologies
| Topology | Description | Pros | Cons |
|---|---|---|---|
| Bus | Single cable, terminators. | Simple, cheap. | Single point failure, collisions. |
| Star | All nodes to central hub/switch. | Easy management, single link failure isolated. | Hub/switch failure brings down network. |
| Ring | Closed loop, token passing. | No collisions, deterministic. | Single node failure breaks ring (unless dual). |
| Mesh | Every node connected to every other. | High reliability, redundancy. | Expensive, complex, many links. |
| Tree | Hierarchical star. | Scalable, easy to manage. | Root node failure catastrophic. |
๐ Star vs Mesh: Star is cost-effective for LANs; Mesh is for backbone/wan due to high reliability.
Cryptography (Basics)
-
Symmetric: Same key for encryption/decryption (AES, DES). Fast, key distribution problem.
-
Asymmetric: Public/private key pair (RSA). Slower, solves key distribution.
-
Encryption: Plaintext + Key โ Ciphertext.
-
Decryption: Ciphertext + Key โ Plaintext.
-
Digital Signature: Hash of message encrypted with sender's private key (provides authentication, non-repudiation).
MLMA (Multiple Access with Collision Avoidance)
- Mentioned in May 2023 paper. Likely refers to protocols like CSMA/CA (used in 802.11 WLAN) where stations avoid collisions via techniques like RTS/CTS, NAV, DIFS/SIFS timing, rather than detecting them (CD not possible in wireless).
๐ Final Exam Tips:
-
Diagrams: Always draw OSI/TCP-IP models, TCP header, IPv4 header, Ethernet frame, Token Ring frame for 7m questions.
-
Calculations: Practice CRC polynomial division, subnetting, Nyquist/Shannon, CSMA/CD min frame size, ALOHA throughput.
-
Algorithms: Be ready to step through Dijkstra and Bellman-Ford with a small graph.
-
Comparisons: Use tables for OSI/TCP-IP, DVR/LSR, IPv4/IPv6, TCP/UDP, Guided/Unguided, Circuit/Packet.
-
Protocol Details: Know TCP states, DNS resolution steps, SMTP commands, PPP phases, HDLC frame types.
-
Common Pitfalls:
-
CRC: Remember to multiply data by $$\displaystyle x^r $$ before division.
-
Subnetting: First address = network ID, last = broadcast, usable = in between.
-
CSMA/CD: Min frame size ensures collision detection during transmission.
-
TCP TIME_WAIT: Prevents old duplicates, ensures ACK delivery.
-
DVR: Count-to-infinity problem; use split horizon/poison reverse to mitigate.
-
\boxed{\text{Revise past paper questions from 2022-2025 for pattern and repeated topics.}}