ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Networks
    COMP2119
    Progress0 / 24 topics
    Topics
    1. Introduction and Protocols Architecture2. Basic Concepts of Networking3. Network Topologies4. Layered Architecture5. Physical Layer Functionality6. Data Link Layer Functionality7. Multiple Access Techniques8. Circuit Switching and Packet Switching9. LAN Technologies10. Wireless Networks11. MAC Addressing12. Networking Devices13. Network Layer Protocols14. IPv4 and IPv615. IP Addressing16. Sub Netting17. CIDR18. Routing Protocols19. Transport Layer Protocols20. Ports and Sockets21. Connection Establishment22. Flow and Congestion Control23. Application Layer Protocols24. Latest Trends in Computer Networks
    CC-214›Routing Protocols
    Computer NetworksTopic 18 of 24

    Routing Protocols

    4 minread
    602words
    Beginnerlevel

    Routing protocols are essential for determining how data packets are forwarded from one network to another. They help routers communicate with each other and share information about network topology, ensuring that data takes the most efficient path. Here’s an overview of the main types of routing protocols, their characteristics, and examples.

    Types of Routing Protocols

    Routing protocols can be broadly categorized into two main types: Interior Gateway Protocols (IGPs) and Exterior Gateway Protocols (EGPs).

    1. Interior Gateway Protocols (IGPs)

    IGPs operate within a single autonomous system (AS), which is a network or a group of networks under a common administration.

    • Distance-Vector Protocols: These protocols determine the best path based on distance metrics, such as hop count. Routers share their routing tables with neighboring routers.

      Examples:

      • Routing Information Protocol (RIP):
        • Version: RIP v1 and RIP v2.
        • Characteristics: Uses hop count as the metric (maximum of 15 hops). Simple to configure but not suitable for larger networks due to scalability issues.
        • Use Case: Small to medium-sized networks.
    • Link-State Protocols: These protocols maintain a complete map of the network topology. Each router knows the entire network structure and calculates the best path using algorithms like Dijkstra's.

      Examples:

      • Open Shortest Path First (OSPF):
        • Characteristics: Uses a link-state approach. It divides networks into areas for better scalability and uses cost (bandwidth) as a metric.
        • Use Case: Larger enterprise networks where scalability and efficiency are needed.
      • Intermediate System to Intermediate System (IS-IS):
        • Characteristics: Similar to OSPF, IS-IS is also a link-state protocol used primarily in large networks. It uses a hierarchy of routers to optimize routing.
        • Use Case: Commonly used in service provider networks.

    2. Exterior Gateway Protocols (EGPs)

    EGPs are used for routing between different autonomous systems. They manage how data is routed across the internet.

    • Border Gateway Protocol (BGP):
      • Characteristics: The primary protocol used for inter-domain routing on the internet. It uses path vector routing, allowing routers to share information about the paths that data can take to reach different networks. BGP can enforce policies based on various criteria (e.g., AS path, prefix length).
      • Use Case: Critical for internet service providers and large enterprises that connect to multiple networks.

    Characteristics of Routing Protocols

    1. Convergence Time: The time it takes for all routers in a network to agree on the best paths after a change in the topology. Faster convergence is generally preferred.

    2. Scalability: The ability of a protocol to handle growth in the network without significant performance degradation.

    3. Metric: The criteria used to determine the best path. Common metrics include hop count (RIP), bandwidth (OSPF), and cost (BGP).

    4. Routing Loops: A situation where a packet circulates endlessly between routers. Most protocols implement mechanisms to prevent loops.

    5. Administrative Distance: A value that rates the trustworthiness of the source of routing information. Lower values indicate more reliable sources.

    Summary of Key Routing Protocols

    Protocol Type Metric Characteristics Use Case
    RIP IGP (Distance-Vector) Hop Count Simple, easy to configure, limited to 15 hops Small networks
    OSPF IGP (Link-State) Cost (Bandwidth) Hierarchical, fast convergence, scalable Large enterprise networks
    IS-IS IGP (Link-State) Cost Similar to OSPF, used mainly in service provider networks Large ISPs
    BGP EGP (Path Vector) AS Path Key protocol for internet routing, policy-based Internet routing, ISPs

    Conclusion

    Routing protocols are fundamental for effective data communication across networks. Understanding the different types of routing protocols and their characteristics helps network administrators design and maintain efficient networks. If you have further questions or want to explore a specific routing protocol in more detail, feel free to ask!

    Previous topic 17
    CIDR
    Next topic 19
    Transport Layer Protocols

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time4 min
      Word count602
      Code examples0
      DifficultyBeginner