[go: up one dir, main page]

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

Lecture 6

This document provides an overview of routing algorithms and protocols, detailing static and dynamic routing methods, including distance-vector, link-state, and hybridized protocols. It discusses routing metrics, convergence time, and the impact of topology changes on network reliability. Understanding these concepts is essential for effective network communication and infrastructure design.
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)
13 views4 pages

Lecture 6

This document provides an overview of routing algorithms and protocols, detailing static and dynamic routing methods, including distance-vector, link-state, and hybridized protocols. It discusses routing metrics, convergence time, and the impact of topology changes on network reliability. Understanding these concepts is essential for effective network communication and infrastructure design.
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
You are on page 1/ 4

Routing Algorithms and Protocols: A

Comprehensive Overview

1 Introduction
Routing algorithms and protocols enable routers to direct data packets across
networks efficiently. This document provides a professional overview of static
and dynamic routing, the main categories of dynamic routing protocols (distance-
vector, link-state, and hybridized), routing metrics, convergence time, and an
example of topology change and convergence.

2 Routing Methods
Routers employ two primary routing methods: static routing and dynamic rout-
ing.

2.1 Static Routing


Static routing relies on preprogrammed routes defined by a network adminis-
trator. Key characteristics include:
• Routers cannot discover routes or share routing information with other
routers.
• Packet forwarding is based solely on administrator-defined routes.
• Benefits include:
– Compatibility with smaller, less expensive routers.
– Enhanced security due to manual configuration.
– Resource efficiency, requiring less bandwidth, CPU cycles, and mem-
ory.
• Limitations include:
– Manual updates required for network failures or topology changes.
– Potential for unreachable destinations if alternative paths exist but are
not configured.

1
2.2 Dynamic Routing
Dynamic routing uses protocols to automatically discover and calculate routes.
Protocols are categorized into:
• Interior Gateway Protocols (IGPs): Used within autonomous systems (e.g.,
intranets).
• Exterior Gateway Protocols (EGPs): Used between autonomous systems,
with Border Gateway Protocol (BGP) being the primary EGP for Internet
routing.

3 Dynamic Routing Algorithms


Dynamic routing protocols fall into three categories: distance-vector, link-state,
and hybridized routing.

3.1 Distance-Vector Routing


Distance-vector routing protocols, sometimes called Bellman-Ford algorithms,
calculate routes based on hop count and direction. Key features include:
• Routers periodically share routing tables with immediate neighbors, adding
their own distance value.
• This process builds a cumulative perspective of network distances, updat-
ing routing tables.
• Examples include Routing Information Protocol (RIP), Interior Gateway Rout-
ing Protocol (IGRP), and Enhanced Interior Gateway Routing Protocol (EIGRP).
• Drawbacks:
– Slow convergence, especially in older protocols, risking network per-
formance.
– Vulnerability to inconsistent routing or infinite loops during conver-
gence.

3.2 Link-State Routing


Link-state routing protocols, known as Shortest Path First (SPF) protocols, main-
tain a comprehensive network topology database. Key features include:
• Routers exchange Link-State Advertisements (LSAs) containing informa-
tion such as router name, interface status, neighbor link costs, and topology
changes.
• Each router constructs a topological database using LSAs and applies the
SPF algorithm to compute optimal routes.
• The most common link-state protocol is Open Shortest Path First (OSPF).
• Drawbacks:

2
– High bandwidth and router resource usage.
– Memory- and processor-intensive, increasing costs.

3.3 Hybridized Routing


Hybridized routing combines the best aspects of distance-vector and link-state
protocols. Key features include:
• Exemplified by Enhanced Interior Gateway Routing Protocol (EIGRP).
• Uses distance-vector metrics but with more accurate calculations.
• Event-driven updates conserve bandwidth compared to periodic updates.
• Faster convergence than distance-vector protocols with less overhead than
link-state protocols.

4 Routing Metrics
Routing metrics determine the best path for data packets. Key points include:
• Distance-Vector Metrics: Typically use hop count (number of routers be-
tween source and destination).
• Link-State Metrics: Include traffic load, available bandwidth, propagation
delay, and connection cost.
• Static Metrics: Configurable but remain constant until manually changed.
• Dynamic Metrics: Enable real-time routing decisions based on network
state, supported by link-state or hybridized protocols.

5 Convergence Time
Convergence time is the duration required for all routers to detect, agree on, and
adapt to a network topology change. Key considerations include:
• Distance-vector protocols may experience performance risks during con-
vergence due to slow updates.
• Factors affecting convergence time:
– Router load.
– Traffic patterns relative to the topology change.
– Routing protocol used.
– Distance (in hops) from the change.
– Number of routers using dynamic protocols.
– Bandwidth and traffic load on communication links.

3
6 Topology Change and Convergence Example
Consider a four-router internetwork with route redundancy. The routing tables
reflect the pre-convergence state. If Router D’s serial interface to Router C fails:
• Mid-Convergence: Routers C and D invalidate the route between them, but
Routers A and B still consider it viable until they receive updates.
• Post-Convergence: All routers agree the C-D link is unusable, but destina-
tions remain reachable via alternative routes.
This process highlights the importance of rapid convergence to maintain net-
work reliability.

7 Conclusion
Routing algorithms and protocols are critical for efficient network communi-
cation. Static routing offers simplicity and security but lacks flexibility, while
dynamic routing protocols (distance-vector, link-state, and hybridized) provide
adaptability at the cost of complexity. Understanding these mechanisms, met-
rics, and convergence processes is essential for designing robust network infras-
tructures.

You might also like