Routing Protocols
Group SY4
Overview
Routing is a process of selecting the path along which the data can be
transferred from source to the destination. Routing is performed by a
special device known as a router.
Routing metrics and costs are used for determining the best route to the
destination. The factors used by the protocols to determine the shortest
path, these factors are known as a metric.
Metrics
The most common metrics are:
● Hop Count
● Delay
● Bandwidth
● Load
● Reliability
Example of a Network
Default Routing
Default Routing
Default Routing is a technique in which a router is configured to send all the
packets to the same hop device, and it doesn't matter whether it belongs to a
particular network or not. A Packet is transmitted to the device for which it is
configured in default routing.
Static Routing
Static Routing
Static routing is a form of routing that occurs when a router uses a
manually configured routing entry, rather than information from a
dynamic routing traffic. Static routing can be used in stub networks,
or to provide a gateway of last report.
Features
● Minimal Load on CPU
● Full Administrative Control
● Easier to Configure
● Not Suitable for Larger Networks
● Time Consuming to Manage
● Problems on Link Failure
Uses:
● Static routing can be used for small networks that require only one or
two routes
● Static routing is often used to help transfer routing information from
one routing protocol to another( routing redistribution ).
● Complement to Dynamic Routing.
Example
Dynamic/Adaptive Routing
Dynamic/Adaptive Routing
Dynamic routing, also called adaptive routing, is a process where a router can
forward data via a different route or given destination based on the current
conditions of the communication circuits within a system
Dynamic routing protocols can be classified in several ways.:
● Interior and exterior gateway routing protocols
● Distance vector, path vector and link state routing protocols
● Classful and classless
Link State
Two phases
● Reliable Flooding
● Path calculation
Flooding
Link State Messages Used:
● Hello
● Database description
● Link-state request
● Link-state update
● Link-state acknowledgement
Distance Vector
A distance-vector routing (DVR) protocol in data networks determines the best route for
data packets based on distance. A DVR protocol requires that a router inform its
neighbors of topology changes periodically.
Bellman Ford – Each router maintains a Distance Vector table containing the distance
between itself and ALL possible destination nodes. Distances,based on a chosen metric,
are computed using information from the neighbors’ distance vectors.
Dx(y) = min { C(x,v) + Dv(y), Dx(y) } for each node y ∈ N
Algorithm
1. A router transmits its distance vector to each of its neighbors in a routing packet.
2. Each router receives and saves the most recently received distance vector from each of
its neighbors.
3. A router recalculates its distance vector when it receives a distance vector from a
neighbor containing different information than before.
Characteristics
● Periodic Updates
● Asynchronous
● Distributed
● Iterative
Distance Vector Table
B sends vector to A..
Until Convergence...
Path Vector
Path Vector Routing is a routing algorithm in unicast routing protocol of
network layer, and it is useful for interdomain routing.
The principle of path vector routing is similar to that of distance vector
routing. It assumes that there is one node in each autonomous system that
acts on behalf of the entire autonomous system, and is called Speaker node.
Functions
● Prevention Of Loop
● Policy Routing
● Optimum Path
Initial routing tables in path vector routing
BOOT TIME PATH VECTORS
UPDATING THE PATH VECTORS
Thank You

Overview of Routing Techniques

  • 1.
  • 2.
    Overview Routing is aprocess of selecting the path along which the data can be transferred from source to the destination. Routing is performed by a special device known as a router. Routing metrics and costs are used for determining the best route to the destination. The factors used by the protocols to determine the shortest path, these factors are known as a metric.
  • 3.
    Metrics The most commonmetrics are: ● Hop Count ● Delay ● Bandwidth ● Load ● Reliability
  • 4.
    Example of aNetwork
  • 5.
  • 6.
    Default Routing Default Routingis a technique in which a router is configured to send all the packets to the same hop device, and it doesn't matter whether it belongs to a particular network or not. A Packet is transmitted to the device for which it is configured in default routing.
  • 7.
  • 8.
    Static Routing Static routingis a form of routing that occurs when a router uses a manually configured routing entry, rather than information from a dynamic routing traffic. Static routing can be used in stub networks, or to provide a gateway of last report.
  • 9.
    Features ● Minimal Loadon CPU ● Full Administrative Control ● Easier to Configure ● Not Suitable for Larger Networks ● Time Consuming to Manage ● Problems on Link Failure
  • 10.
    Uses: ● Static routingcan be used for small networks that require only one or two routes ● Static routing is often used to help transfer routing information from one routing protocol to another( routing redistribution ). ● Complement to Dynamic Routing.
  • 11.
  • 12.
  • 13.
    Dynamic/Adaptive Routing Dynamic routing,also called adaptive routing, is a process where a router can forward data via a different route or given destination based on the current conditions of the communication circuits within a system Dynamic routing protocols can be classified in several ways.: ● Interior and exterior gateway routing protocols ● Distance vector, path vector and link state routing protocols ● Classful and classless
  • 14.
    Link State Two phases ●Reliable Flooding ● Path calculation
  • 15.
    Flooding Link State MessagesUsed: ● Hello ● Database description ● Link-state request ● Link-state update ● Link-state acknowledgement
  • 19.
    Distance Vector A distance-vectorrouting (DVR) protocol in data networks determines the best route for data packets based on distance. A DVR protocol requires that a router inform its neighbors of topology changes periodically. Bellman Ford – Each router maintains a Distance Vector table containing the distance between itself and ALL possible destination nodes. Distances,based on a chosen metric, are computed using information from the neighbors’ distance vectors. Dx(y) = min { C(x,v) + Dv(y), Dx(y) } for each node y ∈ N
  • 20.
    Algorithm 1. A routertransmits its distance vector to each of its neighbors in a routing packet. 2. Each router receives and saves the most recently received distance vector from each of its neighbors. 3. A router recalculates its distance vector when it receives a distance vector from a neighbor containing different information than before.
  • 21.
    Characteristics ● Periodic Updates ●Asynchronous ● Distributed ● Iterative
  • 22.
  • 23.
  • 24.
  • 25.
    Path Vector Path VectorRouting is a routing algorithm in unicast routing protocol of network layer, and it is useful for interdomain routing. The principle of path vector routing is similar to that of distance vector routing. It assumes that there is one node in each autonomous system that acts on behalf of the entire autonomous system, and is called Speaker node.
  • 26.
    Functions ● Prevention OfLoop ● Policy Routing ● Optimum Path
  • 27.
    Initial routing tablesin path vector routing
  • 28.
  • 29.
  • 30.