Home/Notes/Routing & Switching
Board Exam Notes

Routing & Switching Notes

Questions

3-4 questions in university semester papers

Difficulty

Medium-Hard

Importance

High yield for core networking and communications papers

Overview

Routing and switching represent the fundamental control and data plane operations of computer networks, facilitating efficient data transmission from source to destination. Mastering this topic is essential for understanding how interconnected systems handle packet forwarding, addressing schemes, and path determination. It forms the backbone of networking theory in university examinations, testing both conceptual depth and technical application.

Routing Algorithms

Routing algorithms determine the path taken by data packets across a network, balancing metrics like latency, throughput, and hop count. These are categorized into static, where routes are manually defined, and dynamic, which adjust based on real-time network topology changes.

  • Distance Vector Routing: Bellman-Ford algorithm (e.g., RIP)
  • Link State Routing: Dijkstra’s Algorithm (e.g., OSPF)
  • Count-to-Infinity problem in distance vector protocols
  • Split Horizon and Poison Reverse techniques
  • Convergence time as a key performance metric

Switching Techniques

Switching techniques define how data is transferred through a network of nodes, determining the resource reservation and transmission reliability. Exams frequently require a comparison between the overhead and efficiency of these methods.

  • Circuit Switching: Dedicated physical path established
  • Message Switching: Store-and-forward mechanism
  • Packet Switching: Data fragmented into packets
  • Virtual Circuit vs. Datagram approaches
  • Comparison of setup time vs. transmission delay

IP Addressing & Subnetting

IP addressing provides a unique identifier for network devices, while subnetting is the process of partitioning a network into smaller, manageable sub-segments to improve security and performance. Proficiency in CIDR notation and mask calculation is critical for practical problem solving.

  • Classful Addressing: Classes A, B, C, D, and E ranges
  • Classless Inter-Domain Routing (CIDR) notation
  • Subnet mask calculation formula: 2^n - 2 hosts
  • Address Resolution Protocol (ARP) function
  • Private vs. Public IP address blocks

Formula Sheet

Usable Hosts = 2^(32-n) - 2

Subnet Mask = 255.255.255.(256 - 2^n)

Bellman-Ford: Dx(y) = min {c(x,v) + Dv(y)}

Exam Tip

When asked to explain routing protocols, always contrast the convergence behavior and metric selection of Bellman-Ford versus Dijkstra to secure maximum marks.

Common Mistakes

  • Confusing the mechanics of distance vector versus link-state protocols during protocol comparison questions.
  • Neglecting to subtract two addresses (network and broadcast) when calculating the number of usable hosts in a subnet.
  • Incorrectly identifying the Class of an IP address by ignoring the leading bit patterns.

More Revision Notes

Ready to test yourself?

Play topic-wise Routing & Switching questions in Aspirant Arcade — gamified MCQ practice.

Download Free